@Namespace(value="cv::detail") @NoOffset @Properties(inherit=opencv_stitching.class) public class ExposureCompensator extends Pointer
/** \brief Base class for all exposure compensators.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
CHANNELS
enum cv::detail::ExposureCompensator::
|
static int |
CHANNELS_BLOCKS
enum cv::detail::ExposureCompensator::
|
static int |
GAIN
enum cv::detail::ExposureCompensator::
|
static int |
GAIN_BLOCKS
enum cv::detail::ExposureCompensator::
|
static int |
NO
enum cv::detail::ExposureCompensator::
|
Constructor and Description |
---|
ExposureCompensator(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) |
static ExposureCompensator |
createDefault(int type) |
void |
feed(PointVector corners,
UMatVector images,
UMatBytePairVector masks)
\overload
|
void |
feed(PointVector corners,
UMatVector images,
UMatVector masks) |
void |
getMatGains(MatVector arg0) |
boolean |
getUpdateGain() |
void |
setMatGains(MatVector arg0) |
void |
setUpdateGain(boolean b) |
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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int NO
public static final int GAIN
public static final int GAIN_BLOCKS
public static final int CHANNELS
public static final int CHANNELS_BLOCKS
public ExposureCompensator(Pointer p)
Pointer.Pointer(Pointer)
.@opencv_core.Ptr public static ExposureCompensator createDefault(int type)
public void feed(@Const @ByRef PointVector corners, @Const @ByRef UMatVector images, @Const @ByRef UMatVector masks)
corners
- Source image top-left cornersimages
- Source imagesmasks
- Image masks to update (second value in pair specifies the value which should be used
to detect where image is)public void feed(@Const @ByRef PointVector corners, @Const @ByRef UMatVector images, @Const @ByRef UMatBytePairVector masks)
public void apply(int index, @ByVal Point corner, @ByVal Mat image, @ByVal Mat mask)
index
- Image indexcorner
- Image top-left cornerimage
- Image to processmask
- Image maskCopyright © 2020. All rights reserved.