hi
I have created web based image comparison application in asp.net. Here i am comparing and finding the difference between two images (one is x-ray image which is compared with vendor image) & also finding percentage of similarity between them. But it should display similarity percentage based on which x-ray image maps with vendor image( i.e whether that x-ray image fits with given vendor image if yes then it should shows that much percentage of similarity).Can anyone help me. Give some sample code or link or libraries which will be useful for this. Is this possible through ImageMagick?
Thank you
Image comparison of x-ray image & a vendor image in asp.net
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Image comparison of x-ray image & a vendor image in asp.
see compare of statistics at http://www.imagemagick.org/Usage/compare/#compare
compare -metric rmse image1 image2 null:
will generate the rmse error measure -- smaller is more similar
compare -metric ncc image1 image2 null:
will generate normalized cross correlation measure --- closer to 1 is more similar
You can also see the places that are different using:
compare image1 image2 diffimage
compare -metric rmse image1 image2 null:
will generate the rmse error measure -- smaller is more similar
compare -metric ncc image1 image2 null:
will generate normalized cross correlation measure --- closer to 1 is more similar
You can also see the places that are different using:
compare image1 image2 diffimage