type PtrOfMACE = Ptr<dyn MACE>;
Clears the algorithm state
Stores algorithm parameters in a file storage
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
Reads algorithm parameters from a file storage
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
optionally encrypt images with random convolution Read more
train it on positive features
compute the mace filter: h = D(-1) * X * (X(+) * D(-1) * X)(-1) * C
also calculate a minimal threshold for this class, the smallest self-similarity from the train images Read more
correlate query img and threshold to min class value Read more