Reputation: 3162
I need to perform image smoothing. I've searched the web but I didn't find anything - every thing I tried doesn't preform like I want.
for example:
as you see there are bumps or something like stairs, so what should I do so the lines will be straight?
thanks....
Upvotes: 2
Views: 8114
Reputation: 6887
If the resolution of the output image is higher than the resolution of the stairs, then you can do any number of things. To name a few.
imclose
The Matlab File Exchange is your friend.
If the resolution of the output image is the same as the stairs, and the output is grayscale, you're pretty much constrained to spatial anti-aliasing filters.
If the resolution of the output image is the same as the stairs, and the output is binary, you can't do anything, obviously.
Upvotes: 3