I'm using ImageMagick with version 7.0 installed in my machine. For RMSE comparison for the below CLI input i'm getting some values which are different when i use dll in my c# code.
CLI code:
magick.exe compare -metric RMSE -subimage-search "image1.jpg" "image2.jpg" null:
C# code:
double diff = image1.Compare(image2, ErrorMetric.RootMeanSquared);
Is anyone know how to get the same results?
ImageMagick dll and Exe returns two different values for RMSE image comparison
-
- Posts: 1
- Joined: 2018-10-22T05:43:51-07:00
- Authentication code: 1152
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: ImageMagick dll and Exe returns two different values for RMSE image comparison
What values are you getting from the two methods?
If you post links to your inputs, we can use other methods to nail down the difference.
If you post links to your inputs, we can use other methods to nail down the difference.
snibgo's IM pages: im.snibgo.com
Re: ImageMagick dll and Exe returns two different values for RMSE image comparison
It looks like you want to do a `SubImageSearch` instead of a `Compare`?