@Namespace(value="cv::detail") @Properties(inherit=opencv_stitching.class) public class GainCompensator extends ExposureCompensator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocatorGAIN, GAIN_BLOCKS, NO| Constructor and Description |
|---|
GainCompensator()
Default native constructor.
|
GainCompensator(long size)
Native array allocator.
|
GainCompensator(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int index,
Point corner,
GpuMat image,
GpuMat mask) |
void |
apply(int index,
Point corner,
Mat image,
Mat mask)
\brief Compensate exposure in the specified image.
|
void |
apply(int index,
Point corner,
UMat image,
UMat mask) |
void |
feed(PointVector corners,
UMatVector images,
UMatBytePairVector masks)
\overload
|
DoublePointer |
gains() |
void |
getMatGains(MatVector umv) |
GainCompensator |
position(long position) |
void |
setMatGains(MatVector umv) |
createDefault, feed, getUpdateGain, setUpdateGainaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic GainCompensator()
public GainCompensator(long size)
Pointer.position(long).public GainCompensator(Pointer p)
Pointer.Pointer(Pointer).public GainCompensator position(long position)
public void feed(@Const @ByRef PointVector corners, @Const @ByRef UMatVector images, @Const @ByRef UMatBytePairVector masks)
ExposureCompensatorfeed in class ExposureCompensatorpublic void apply(int index,
@ByVal
Point corner,
@ByVal
Mat image,
@ByVal
Mat mask)
ExposureCompensatorapply in class ExposureCompensatorindex - Image indexcorner - Image top-left cornerimage - Image to processmask - Image maskpublic void apply(int index,
@ByVal
Point corner,
@ByVal
UMat image,
@ByVal
UMat mask)
apply in class ExposureCompensatorpublic void apply(int index,
@ByVal
Point corner,
@ByVal
GpuMat image,
@ByVal
GpuMat mask)
apply in class ExposureCompensatorpublic void getMatGains(@ByRef MatVector umv)
getMatGains in class ExposureCompensatorpublic void setMatGains(@ByRef MatVector umv)
setMatGains in class ExposureCompensator@StdVector public DoublePointer gains()
Copyright © 2019. All rights reserved.