Public Member Functions |
| virtual void | computeSignature (InputArray image, OutputArray signature) const =0 |
| | Computes signature of given image.
|
| |
| virtual void | computeSignatures (const std::vector< Mat > &images, std::vector< Mat > &signatures) const =0 |
| | Computes signatures for multiple images in parallel.
|
| |
| virtual int | getClusterMinSize () const =0 |
| | This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
|
| |
| virtual int | getDistanceFunction () const =0 |
| | Distance function selector used for measuring distance between two points in k-means.
|
| |
| virtual float | getDropThreshold () const =0 |
| | Remove centroids in k-means whose weight is lesser or equal to given threshold.
|
| |
| virtual int | getGrayscaleBits () const =0 |
| | Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
|
| |
| virtual int | getInitSeedCount () const =0 |
| | Number of initial seeds (initial number of clusters) for the k-means algorithm.
|
| |
| virtual std::vector< int > | getInitSeedIndexes () const =0 |
| | Initial seeds (initial number of clusters) for the k-means algorithm.
|
| |
| virtual int | getIterationCount () const =0 |
| | Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
|
| |
| virtual float | getJoiningDistance () const =0 |
| | Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
|
| |
| virtual int | getMaxClustersCount () const =0 |
| | Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
|
| |
| virtual int | getSampleCount () const =0 |
| | Number of initial samples taken from the image.
|
| |
| virtual std::vector< Point2f > | getSamplingPoints () const =0 |
| | Initial samples taken from the image. These sampled features become the input for clustering.
|
| |
| virtual float | getWeightA () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual float | getWeightB () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual float | getWeightContrast () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual float | getWeightEntropy () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual float | getWeightL () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual float | getWeightX () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual float | getWeightY () const =0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual int | getWindowRadius () const =0 |
| | Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
|
| |
| virtual void | setClusterMinSize (int clusterMinSize)=0 |
| | This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
|
| |
| virtual void | setDistanceFunction (int distanceFunction)=0 |
| | Distance function selector used for measuring distance between two points in k-means. Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY.
|
| |
| virtual void | setDropThreshold (float dropThreshold)=0 |
| | Remove centroids in k-means whose weight is lesser or equal to given threshold.
|
| |
| virtual void | setGrayscaleBits (int grayscaleBits)=0 |
| | Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
|
| |
| virtual void | setInitSeedIndexes (std::vector< int > initSeedIndexes)=0 |
| | Initial seed indexes for the k-means algorithm.
|
| |
| virtual void | setIterationCount (int iterationCount)=0 |
| | Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
|
| |
| virtual void | setJoiningDistance (float joiningDistance)=0 |
| | Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
|
| |
| virtual void | setMaxClustersCount (int maxClustersCount)=0 |
| | Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
|
| |
| virtual void | setSamplingPoints (std::vector< Point2f > samplingPoints)=0 |
| | Sets sampling points used to sample the input image.
|
| |
| virtual void | setTranslation (int idx, float value)=0 |
| | Translations of the individual axes of the feature space.
|
| |
| virtual void | setTranslations (const std::vector< float > &translations)=0 |
| | Translations of the individual axes of the feature space.
|
| |
| virtual void | setWeight (int idx, float value)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space.
|
| |
| virtual void | setWeightA (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWeightB (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWeightContrast (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWeightEntropy (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWeightL (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWeights (const std::vector< float > &weights)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space.
|
| |
| virtual void | setWeightX (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWeightY (float weight)=0 |
| | Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
|
| |
| virtual void | setWindowRadius (int radius)=0 |
| | Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
|
| |
Public Member Functions inherited from cv::Algorithm |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | Clears the algorithm state.
|
| |
| virtual bool | empty () const |
| | Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | read (const FileNode &fn) |
| | Reads algorithm parameters from a file storage.
|
| |
| virtual void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| virtual void | write (FileStorage &fs) const |
| | Stores algorithm parameters in a file storage.
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |