Inheritance diagram for prapi::extras::MMDistance:
and Ma W.Y (1996) Texture Features for Browsing and Retrieval of Image data. IEEE PAMI 18(8):837-842." In short, this measure is a city block distance scaled with the standard deviation of each feature.
|MMDistance (const util::List< Sample< double > > &allSamples)|
|Create a new "Manjunath and Ma" type distance measure. |
|double||getProximity (const util::List< double > &sample, const util::List< double > &model, double stopAfter=MAXDOUBLE) const throw (ProximityException&)|
Create a new "Manjunath and Ma" type distance measure.
This measure needs a set of samples at initialization because it needs to calculate the standard deviation of each feature.