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