| Modifier and Type | Method | Description |
|---|
static PCTSignatures | __fromPtr__(long addr) | |
|---|
void | computeSignature(Mat image,
Mat signature) |
Computes signature of given image.
|
|---|
void | computeSignatures(java.util.List<Mat> images,
java.util.List<Mat> signatures) |
Computes signatures for multiple images in parallel.
|
|---|
static PCTSignatures | create() |
Creates PCTSignatures algorithm using sample and seed count.
|
|---|
static PCTSignatures | create(int initSampleCount) |
Creates PCTSignatures algorithm using sample and seed count.
|
|---|
static PCTSignatures | create(int initSampleCount,
int initSeedCount) |
Creates PCTSignatures algorithm using sample and seed count.
|
|---|
static PCTSignatures | create(int initSampleCount,
int initSeedCount,
int pointDistribution) |
Creates PCTSignatures algorithm using sample and seed count.
|
|---|
static PCTSignatures | create(MatOfPoint2f initSamplingPoints,
int initSeedCount) |
Creates PCTSignatures algorithm using pre-generated sampling points
and number of clusterization seeds.
|
|---|
static PCTSignatures | create(MatOfPoint2f initSamplingPoints,
MatOfInt initClusterSeedIndexes) |
Creates PCTSignatures algorithm using pre-generated sampling points
and clusterization seeds indexes.
|
|---|
static void | drawSignature(Mat source,
Mat signature,
Mat result) |
Draws signature in the source image and outputs the result.
|
|---|
static void | drawSignature(Mat source,
Mat signature,
Mat result,
float radiusToShorterSideRatio) |
Draws signature in the source image and outputs the result.
|
|---|
static void | drawSignature(Mat source,
Mat signature,
Mat result,
float radiusToShorterSideRatio,
int borderThickness) |
Draws signature in the source image and outputs the result.
|
|---|
static void | generateInitPoints(MatOfPoint2f initPoints,
int count,
int pointDistribution) |
Generates initial sampling points according to selected point distribution.
|
|---|
int | getClusterMinSize() |
This parameter multiplied by the index of iteration gives lower limit for cluster size.
|
|---|
int | getDistanceFunction() |
Distance function selector used for measuring distance between two points in k-means.
|
|---|
float | getDropThreshold() |
Remove centroids in k-means whose weight is lesser or equal to given threshold.
|
|---|
int | getGrayscaleBits() |
Color resolution of the greyscale bitmap represented in allocated bits
(i.e., value 4 means that 16 shades of grey are used).
|
|---|
int | getInitSeedCount() |
Number of initial seeds (initial number of clusters) for the k-means algorithm.
|
|---|
MatOfInt | getInitSeedIndexes() |
Initial seeds (initial number of clusters) for the k-means algorithm.
|
|---|
int | getIterationCount() |
Number of iterations of the k-means clustering.
|
|---|
float | getJoiningDistance() |
Threshold euclidean distance between two centroids.
|
|---|
int | getMaxClustersCount() |
Maximal number of generated clusters.
|
|---|
int | getSampleCount() |
Number of initial samples taken from the image.
|
|---|
MatOfPoint2f | getSamplingPoints() |
Initial samples taken from the image.
|
|---|
float | getWeightA() |
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.
|
|---|
float | getWeightB() |
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.
|
|---|
float | getWeightContrast() |
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.
|
|---|
float | getWeightEntropy() |
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.
|
|---|
float | getWeightL() |
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.
|
|---|
float | getWeightX() |
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.
|
|---|
float | getWeightY() |
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.
|
|---|
int | getWindowRadius() |
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).
|
|---|
void | setClusterMinSize(int clusterMinSize) |
This parameter multiplied by the index of iteration gives lower limit for cluster size.
|
|---|
void | setDistanceFunction(int distanceFunction) |
Distance function selector used for measuring distance between two points in k-means.
|
|---|
void | setDropThreshold(float dropThreshold) |
Remove centroids in k-means whose weight is lesser or equal to given threshold.
|
|---|
void | setGrayscaleBits(int grayscaleBits) |
Color resolution of the greyscale bitmap represented in allocated bits
(i.e., value 4 means that 16 shades of grey are used).
|
|---|
void | setInitSeedIndexes(MatOfInt initSeedIndexes) |
Initial seed indexes for the k-means algorithm.
|
|---|
void | setIterationCount(int iterationCount) |
Number of iterations of the k-means clustering.
|
|---|
void | setJoiningDistance(float joiningDistance) |
Threshold euclidean distance between two centroids.
|
|---|
void | setMaxClustersCount(int maxClustersCount) |
Maximal number of generated clusters.
|
|---|
void | setSamplingPoints(MatOfPoint2f samplingPoints) |
Sets sampling points used to sample the input image.
|
|---|
void | setTranslation(int idx,
float value) |
Translations of the individual axes of the feature space.
|
|---|
void | setTranslations(MatOfFloat translations) |
Translations of the individual axes of the feature space.
|
|---|
void | setWeight(int idx,
float value) |
Weights (multiplicative constants) that linearly stretch individual axes of the feature space.
|
|---|
void | setWeightA(float weight) |
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.
|
|---|
void | setWeightB(float weight) |
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.
|
|---|
void | setWeightContrast(float weight) |
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.
|
|---|
void | setWeightEntropy(float weight) |
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.
|
|---|
void | setWeightL(float weight) |
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.
|
|---|
void | setWeights(MatOfFloat weights) |
Weights (multiplicative constants) that linearly stretch individual axes of the feature space.
|
|---|
void | setWeightX(float weight) |
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.
|
|---|
void | setWeightY(float weight) |
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.
|
|---|
void | setWindowRadius(int radius) |
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).
|
|---|