how to use contours to compare two images?
6 views (last 30 days)
Show older comments
hasan alhussaini on 9 Aug 2018
Answered: Naman Chaturvedi on 13 Aug 2018
Hello, i'm trying compare the following two attachments using contours. if anyone has any information that i can read up about comparing the two. or if there is a plain syntax, i'd appreciate it.
Naman Chaturvedi on 13 Aug 2018
You can use the function 'imcontour' to observe and compare the contours of the two images. But, before that, you might want to sharpen the image using unsharp masking or laplacian. For which, you may use the function 'imsharpen'. The code may look something like this:
i_s=imsharpen(i); %unsharp masking
Hope this helps.
Find more on Region and Image Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!