Is there any function in Mathematica that I can use for comparing the image histogram ? There is a built-in function in OpenCV cv2.compareHist
for distance measures like chi-squared, correlation, intersection and Bhattacharya distance, but what about Mathematica?
1 Answer
ImageDistance
seems to implement these histogram comparisons:"MutualInformationVariation"
,"NormalizedMutualInformationVariation"
,"DifferenceNormalizedEntropy"
,"EarthMoverDistance"
.
ImageDistance
can be used to compare image histograms.
ImageDistance
seems to implement these histogram comparisons: MutualInformationVariation, NormalizedMutualInformationVariation, DifferenceNormalizedEntropy, EarthMoverDistance $\endgroup$