public class opencv_img_hash extends opencv_img_hash
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_MEAN_HASH_MODE_0
enum cv::img_hash::BlockMeanHashMode
|
static int |
BLOCK_MEAN_HASH_MODE_1
enum cv::img_hash::BlockMeanHashMode
|
Constructor and Description |
---|
opencv_img_hash() |
Modifier and Type | Method and Description |
---|---|
static void |
averageHash(GpuMat inputArr,
GpuMat outputArr) |
static void |
averageHash(Mat inputArr,
Mat outputArr)
\brief Calculates img_hash::AverageHash in one call
|
static void |
averageHash(UMat inputArr,
UMat outputArr) |
static void |
blockMeanHash(GpuMat inputArr,
GpuMat outputArr) |
static void |
blockMeanHash(GpuMat inputArr,
GpuMat outputArr,
int mode) |
static void |
blockMeanHash(Mat inputArr,
Mat outputArr) |
static void |
blockMeanHash(Mat inputArr,
Mat outputArr,
int mode)
\brief Computes block mean hash of the input image
|
static void |
blockMeanHash(UMat inputArr,
UMat outputArr) |
static void |
blockMeanHash(UMat inputArr,
UMat outputArr,
int mode) |
static void |
colorMomentHash(GpuMat inputArr,
GpuMat outputArr) |
static void |
colorMomentHash(Mat inputArr,
Mat outputArr)
\brief Computes color moment hash of the input, the algorithm
is come from the paper "Perceptual Hashing for Color Images
Using Invariant Moments"
|
static void |
colorMomentHash(UMat inputArr,
UMat outputArr) |
static void |
marrHildrethHash(GpuMat inputArr,
GpuMat outputArr) |
static void |
marrHildrethHash(GpuMat inputArr,
GpuMat outputArr,
float alpha,
float scale) |
static void |
marrHildrethHash(Mat inputArr,
Mat outputArr) |
static void |
marrHildrethHash(Mat inputArr,
Mat outputArr,
float alpha,
float scale)
\brief Computes average hash value of the input image
|
static void |
marrHildrethHash(UMat inputArr,
UMat outputArr) |
static void |
marrHildrethHash(UMat inputArr,
UMat outputArr,
float alpha,
float scale) |
static void |
pHash(GpuMat inputArr,
GpuMat outputArr) |
static void |
pHash(Mat inputArr,
Mat outputArr)
\brief Computes pHash value of the input image
|
static void |
pHash(UMat inputArr,
UMat outputArr) |
static void |
radialVarianceHash(GpuMat inputArr,
GpuMat outputArr) |
static void |
radialVarianceHash(GpuMat inputArr,
GpuMat outputArr,
double sigma,
int numOfAngleLine) |
static void |
radialVarianceHash(Mat inputArr,
Mat outputArr) |
static void |
radialVarianceHash(Mat inputArr,
Mat outputArr,
double sigma,
int numOfAngleLine)
\brief Computes radial variance hash of the input image
|
static void |
radialVarianceHash(UMat inputArr,
UMat outputArr) |
static void |
radialVarianceHash(UMat inputArr,
UMat outputArr,
double sigma,
int numOfAngleLine) |
map
public static final int BLOCK_MEAN_HASH_MODE_0
public static final int BLOCK_MEAN_HASH_MODE_1
@Namespace(value="cv::img_hash") public static void averageHash(@ByVal Mat inputArr, @ByVal Mat outputArr)
inputArr
- input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1.outputArr
- Hash value of input, it will contain 16 hex decimal number, return type is CV_8U@Namespace(value="cv::img_hash") public static void averageHash(@ByVal UMat inputArr, @ByVal UMat outputArr)
@Namespace(value="cv::img_hash") public static void averageHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr)
@Namespace(value="cv::img_hash") public static void blockMeanHash(@ByVal Mat inputArr, @ByVal Mat outputArr, int mode)
inputArr
- input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1.outputArr
- Hash value of input, it will contain 16 hex decimal number, return type is CV_8Umode
- the mode@Namespace(value="cv::img_hash") public static void blockMeanHash(@ByVal Mat inputArr, @ByVal Mat outputArr)
@Namespace(value="cv::img_hash") public static void blockMeanHash(@ByVal UMat inputArr, @ByVal UMat outputArr, int mode)
@Namespace(value="cv::img_hash") public static void blockMeanHash(@ByVal UMat inputArr, @ByVal UMat outputArr)
@Namespace(value="cv::img_hash") public static void blockMeanHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr, int mode)
@Namespace(value="cv::img_hash") public static void blockMeanHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr)
@Namespace(value="cv::img_hash") public static void colorMomentHash(@ByVal Mat inputArr, @ByVal Mat outputArr)
inputArr
- input image want to compute hash value,
type should be CV_8UC4, CV_8UC3 or CV_8UC1.outputArr
- 42 hash values with type CV_64F(double)@Namespace(value="cv::img_hash") public static void colorMomentHash(@ByVal UMat inputArr, @ByVal UMat outputArr)
@Namespace(value="cv::img_hash") public static void colorMomentHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr)
@Namespace(value="cv::img_hash") public static void marrHildrethHash(@ByVal Mat inputArr, @ByVal Mat outputArr, float alpha, float scale)
inputArr
- input image want to compute hash value,
type should be CV_8UC4, CV_8UC3, CV_8UC1.outputArr
- Hash value of input, it will contain 16 hex
decimal number, return type is CV_8Ualpha
- int scale factor for marr wavelet (default=2).scale
- int level of scale factor (default = 1)@Namespace(value="cv::img_hash") public static void marrHildrethHash(@ByVal Mat inputArr, @ByVal Mat outputArr)
@Namespace(value="cv::img_hash") public static void marrHildrethHash(@ByVal UMat inputArr, @ByVal UMat outputArr, float alpha, float scale)
@Namespace(value="cv::img_hash") public static void marrHildrethHash(@ByVal UMat inputArr, @ByVal UMat outputArr)
@Namespace(value="cv::img_hash") public static void marrHildrethHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr, float alpha, float scale)
@Namespace(value="cv::img_hash") public static void marrHildrethHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr)
@Namespace(value="cv::img_hash") public static void pHash(@ByVal Mat inputArr, @ByVal Mat outputArr)
inputArr
- input image want to compute hash value,
type should be CV_8UC4, CV_8UC3, CV_8UC1.outputArr
- Hash value of input, it will contain 8 uchar value@Namespace(value="cv::img_hash") public static void pHash(@ByVal UMat inputArr, @ByVal UMat outputArr)
@Namespace(value="cv::img_hash") public static void pHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr)
@Namespace(value="cv::img_hash") public static void radialVarianceHash(@ByVal Mat inputArr, @ByVal Mat outputArr, double sigma, int numOfAngleLine)
inputArr
- input image want to compute hash value,
type should be CV_8UC4, CV_8UC3, CV_8UC1.outputArr
- Hash value of inputsigma
- Gaussian kernel standard deviationnumOfAngleLine
- The number of angles to consider@Namespace(value="cv::img_hash") public static void radialVarianceHash(@ByVal Mat inputArr, @ByVal Mat outputArr)
@Namespace(value="cv::img_hash") public static void radialVarianceHash(@ByVal UMat inputArr, @ByVal UMat outputArr, double sigma, int numOfAngleLine)
@Namespace(value="cv::img_hash") public static void radialVarianceHash(@ByVal UMat inputArr, @ByVal UMat outputArr)
@Namespace(value="cv::img_hash") public static void radialVarianceHash(@ByVal GpuMat inputArr, @ByVal GpuMat outputArr, double sigma, int numOfAngleLine)
Copyright © 2020. All rights reserved.