ImageMagick dll and Exe returns two different values for RMSE image comparison
Posted: 2018-10-22T05:47:32-07:00
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?
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?