Jump to content

Morphological filtering of images?


RejZoR

Recommended Posts

You probably know what Morphological filtering is. If you don't, here is an example:

http://www.geeks3d.com/20101023/tips-what-is-the-morphological-anti-aliasing-mlaa/

It basically filters any jaggies on a bitmap image. Is there any existing plugin for Paint.NET or are maybe there any plans for such thing? I'd need it to filter out some images made in MS Paint using simple lines. But they are very jaggy and using any other method didn't really give me any decent results.

rejzor.png
Link to comment
Share on other sites

first isolate each part of the image.. then use feather and AAs assistant-- both plugins on each piece

by isolate. i mean duplicate the layers image into however many layers it takes and remove the rest of the image friom that layer... on one layer you would end up with just the script on another just on color of the panels of red--- always keep an entireimage but hide it by disableing its vissibility

featgher is in bolts pack i think AAs assist is in dpy's ?

Edited by mountnman

spacesig.png

SARCASM- Just one of the many services I offer free to the public.

Link to comment
Share on other sites

Try blurring (like Gaussian blur) at a very low setting.

If you're going to avoid layers then you'll have to put up with bluring everything in the single layered image.

Softening edges relies on the effect being able to find an edge. The simplest way to do this is to have the image elements on a separate layer surrounded by transparency.

Link to comment
Share on other sites

Yeah, but soften just adds extra pixels, it doesn't really take lines into account. End result is just a blurry mess. If that's the case i'm better off resizing image to a massive resolution and then scaling it back to a desired resolution.

rejzor.png
Link to comment
Share on other sites

See this image from the link you posted?

mlaa_example.jpg

Imagine the left image was two layers, like black+transparent over a white background layer. If you ran AA's Assistant over the black layer you would get a much better result than the right image.

If you choose to work on a single layer then you'll have to spend a lot of time selecting the area you want to soften - like BoltBait explained in the second post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...