Can someone help me convert this command line statement to magickcore C code:
"compare -metric RMSE image.jpg image2.jpg NULL 2>&1"
I believe I should use CompareImageChannels()?
Command Line Statement to Magickcore Code
Re: Command Line Statement to Magickcore Code
You are better of using GetImageChannelDistortion with MetricType=RootMeanSquaredErrorMetric
Re: Command Line Statement to Magickcore Code
I'm having trouble getting MagickCore working.
Here's the details with the issue:
http://stackoverflow.com/questions/1987 ... tion-error
Here's the details with the issue:
http://stackoverflow.com/questions/1987 ... tion-error
Re: Command Line Statement to Magickcore Code
Code: Select all
double distortion;
aaaa = GetImageChannelDistortion(base_image, reference_image, channel, metric, &distortion, exception);
Re: Command Line Statement to Magickcore Code
Worked. Thanks for the help!