@Namespace(value="cv::quality") @NoOffset @Properties(inherit=opencv_quality.class) public class QualitySSIM extends QualityBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QualitySSIM(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
\brief Implements Algorithm::clear()
|
Scalar |
compute(GpuMat cmp) |
static Scalar |
compute(GpuMat ref,
GpuMat cmp,
GpuMat qualityMap) |
Scalar |
compute(Mat cmp)
\brief Computes SSIM
|
static Scalar |
compute(Mat ref,
Mat cmp,
Mat qualityMap)
\brief static method for computing quality
|
Scalar |
compute(UMat cmp) |
static Scalar |
compute(UMat ref,
UMat cmp,
UMat qualityMap) |
static QualitySSIM |
create(GpuMat ref) |
static QualitySSIM |
create(Mat ref)
\brief Create an object which calculates quality
|
static QualitySSIM |
create(UMat ref) |
boolean |
empty()
\brief Implements Algorithm::empty()
|
getQualityMap, getQualityMap, getQualityMap
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 QualitySSIM(Pointer p)
Pointer.Pointer(Pointer)
.@ByVal public Scalar compute(@ByVal Mat cmp)
compute
in class QualityBase
cmp
- Comparison image@Cast(value="bool") public boolean empty()
empty
in class QualityBase
public void clear()
clear
in class QualityBase
@opencv_core.Ptr public static QualitySSIM create(@ByVal Mat ref)
ref
- input image to use as the reference image for comparison@opencv_core.Ptr public static QualitySSIM create(@ByVal UMat ref)
@opencv_core.Ptr public static QualitySSIM create(@ByVal GpuMat ref)
@ByVal public static Scalar compute(@ByVal Mat ref, @ByVal Mat cmp, @ByVal Mat qualityMap)
ref
- reference imagecmp
- comparison imagequalityMap
- output quality map, or cv::noArray()@ByVal public static Scalar compute(@ByVal UMat ref, @ByVal UMat cmp, @ByVal UMat qualityMap)
Copyright © 2020. All rights reserved.