开发者

smoothing image in Matlab

开发者 https://www.devze.com 2023-03-12 06:26 出处:网络
I need to perform image smoothin开发者_StackOverflowg. I\'ve searched the web but I didn\'t find anything - every thing I tried doesn\'t preform like I want.

I need to perform image smoothin开发者_StackOverflowg. I've searched the web but I didn't find anything - every thing I tried doesn't preform like I want.

for example:

smoothing image in Matlab

smoothing image in Matlab

as you see there are bumps or something like stairs, so what should I do so the lines will be straight?

thanks....


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.

  1. grayscale (or binary) morphological processing using imclose
  2. edge-enhancing smoothing
  3. march around the edges of your objects, determine the corners in your mask, and make the image locally convex, but this will take some coding.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号