org.bytedeco.opencv.opencv_img_hash.RadialVarianceHash Maven / Gradle / Ivy
// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_img_hash;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import org.bytedeco.opencv.opencv_core.*;
import static org.bytedeco.opencv.global.opencv_core.*;
import org.bytedeco.opencv.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_img_hash.*;
/** \addtogroup img_hash
* \{
/** \brief Image hash based on Radon transform.
See \cite tang2012perceptual for details.
*/
@Namespace("cv::img_hash") @Properties(inherit = org.bytedeco.opencv.presets.opencv_img_hash.class)
public class RadialVarianceHash extends ImgHashBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public RadialVarianceHash(Pointer p) { super(p); }
/** Downcast constructor. */
public RadialVarianceHash(Algorithm pointer) { super((Pointer)null); allocate(pointer); }
@Namespace private native @Name("static_cast") void allocate(Algorithm pointer);
public static native @Ptr RadialVarianceHash create(double sigma/*=1*/, int numOfAngleLine/*=180*/);
public static native @Ptr RadialVarianceHash create();
public native int getNumOfAngleLine();
public native double getSigma();
public native void setNumOfAngleLine(int value);
public native void setSigma(double value);
// internals
public native @StdVector DoublePointer getFeatures();
public native @ByVal Mat getHash();
public native @ByVal Mat getPixPerLine(@Const @ByRef Mat input);
public native @ByVal Mat getProjection();
}