public class PCTSignatures extends Algorithm
Modifier and Type | Field and Description |
---|---|
static int |
GAUSSIAN |
static int |
HEURISTIC |
static int |
L_INFINITY |
static int |
L0_25 |
static int |
L0_5 |
static int |
L1 |
static int |
L2 |
static int |
L2SQUARED |
static int |
L5 |
static int |
MINUS |
static int |
NORMAL |
static int |
REGULAR |
static int |
UNIFORM |
Modifier | Constructor and Description |
---|---|
protected |
PCTSignatures(long addr) |
Modifier and Type | Method and Description |
---|---|
static PCTSignatures |
__fromPtr__(long addr) |
void |
computeSignature(Mat image,
Mat signature) |
void |
computeSignatures(java.util.List<Mat> images,
java.util.List<Mat> signatures) |
static PCTSignatures |
create() |
static PCTSignatures |
create(int initSampleCount,
int initSeedCount,
int pointDistribution) |
static PCTSignatures |
create(MatOfPoint2f initSamplingPoints,
int initSeedCount) |
static PCTSignatures |
create(MatOfPoint2f initSamplingPoints,
MatOfInt initClusterSeedIndexes) |
static void |
drawSignature(Mat source,
Mat signature,
Mat result) |
static void |
drawSignature(Mat source,
Mat signature,
Mat result,
float radiusToShorterSideRatio,
int borderThickness) |
protected void |
finalize() |
static void |
generateInitPoints(MatOfPoint2f initPoints,
int count,
int pointDistribution) |
int |
getClusterMinSize() |
int |
getDistanceFunction() |
float |
getDropThreshold() |
int |
getGrayscaleBits() |
int |
getInitSeedCount() |
MatOfInt |
getInitSeedIndexes() |
int |
getIterationCount() |
float |
getJoiningDistance() |
int |
getMaxClustersCount() |
int |
getSampleCount() |
MatOfPoint2f |
getSamplingPoints() |
float |
getWeightA() |
float |
getWeightB() |
float |
getWeightContrast() |
float |
getWeightEntropy() |
float |
getWeightL() |
float |
getWeightX() |
float |
getWeightY() |
int |
getWindowRadius() |
void |
setClusterMinSize(int clusterMinSize) |
void |
setDistanceFunction(int distanceFunction) |
void |
setDropThreshold(float dropThreshold) |
void |
setGrayscaleBits(int grayscaleBits) |
void |
setInitSeedIndexes(MatOfInt initSeedIndexes) |
void |
setIterationCount(int iterationCount) |
void |
setJoiningDistance(float joiningDistance) |
void |
setMaxClustersCount(int maxClustersCount) |
void |
setSamplingPoints(MatOfPoint2f samplingPoints) |
void |
setTranslation(int idx,
float value) |
void |
setTranslations(MatOfFloat translations) |
void |
setWeight(int idx,
float value) |
void |
setWeightA(float weight) |
void |
setWeightB(float weight) |
void |
setWeightContrast(float weight) |
void |
setWeightEntropy(float weight) |
void |
setWeightL(float weight) |
void |
setWeights(MatOfFloat weights) |
void |
setWeightX(float weight) |
void |
setWeightY(float weight) |
void |
setWindowRadius(int radius) |
clear, empty, getDefaultName, getNativeObjAddr, save
public static final int L0_25
public static final int L0_5
public static final int L1
public static final int L2
public static final int L2SQUARED
public static final int L5
public static final int L_INFINITY
public static final int UNIFORM
public static final int REGULAR
public static final int NORMAL
public static final int MINUS
public static final int GAUSSIAN
public static final int HEURISTIC
public static PCTSignatures __fromPtr__(long addr)
public static PCTSignatures create(int initSampleCount, int initSeedCount, int pointDistribution)
public static PCTSignatures create()
public static PCTSignatures create(MatOfPoint2f initSamplingPoints, int initSeedCount)
public static PCTSignatures create(MatOfPoint2f initSamplingPoints, MatOfInt initClusterSeedIndexes)
public float getDropThreshold()
public float getJoiningDistance()
public float getWeightA()
public float getWeightB()
public float getWeightContrast()
public float getWeightEntropy()
public float getWeightL()
public float getWeightX()
public float getWeightY()
public int getClusterMinSize()
public int getDistanceFunction()
public int getGrayscaleBits()
public int getInitSeedCount()
public int getIterationCount()
public int getMaxClustersCount()
public int getSampleCount()
public int getWindowRadius()
public MatOfPoint2f getSamplingPoints()
public MatOfInt getInitSeedIndexes()
public void computeSignatures(java.util.List<Mat> images, java.util.List<Mat> signatures)
public static void drawSignature(Mat source, Mat signature, Mat result, float radiusToShorterSideRatio, int borderThickness)
public static void generateInitPoints(MatOfPoint2f initPoints, int count, int pointDistribution)
public void setClusterMinSize(int clusterMinSize)
public void setDistanceFunction(int distanceFunction)
public void setDropThreshold(float dropThreshold)
public void setGrayscaleBits(int grayscaleBits)
public void setInitSeedIndexes(MatOfInt initSeedIndexes)
public void setIterationCount(int iterationCount)
public void setJoiningDistance(float joiningDistance)
public void setMaxClustersCount(int maxClustersCount)
public void setSamplingPoints(MatOfPoint2f samplingPoints)
public void setTranslation(int idx, float value)
public void setTranslations(MatOfFloat translations)
public void setWeight(int idx, float value)
public void setWeightA(float weight)
public void setWeightB(float weight)
public void setWeightContrast(float weight)
public void setWeightEntropy(float weight)
public void setWeightL(float weight)
public void setWeightX(float weight)
public void setWeightY(float weight)
public void setWeights(MatOfFloat weights)
public void setWindowRadius(int radius)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2