@Namespace(value="cv::img_hash") @Properties(inherit=opencv_img_hash.class) public class MarrHildrethHash extends ImgHashBase
/** \brief Marr-Hildreth Operator Based Hash, slowest but more discriminative.
See \cite zauner2010implementation for details.
ImgHashBase.ImgHashImpl
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MarrHildrethHash(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static MarrHildrethHash |
create() |
static MarrHildrethHash |
create(float alpha,
float scale) |
float |
getAlpha()
\brief self explain
|
float |
getScale()
\brief self explain
|
void |
setKernelParam(float alpha,
float scale)
\brief Set Mh kernel parameters
|
compare, compare, compare, compute, compute, compute
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public MarrHildrethHash(Pointer p)
Pointer.Pointer(Pointer)
.public float getAlpha()
public float getScale()
public void setKernelParam(float alpha, float scale)
alpha
- int scale factor for marr wavelet (default=2).scale
- int level of scale factor (default = 1)@opencv_core.Ptr public static MarrHildrethHash create(float alpha, float scale)
alpha
- int scale factor for marr wavelet (default=2).scale
- int level of scale factor (default = 1)@opencv_core.Ptr public static MarrHildrethHash create()
Copyright © 2020. All rights reserved.