@Namespace(value="cv::detail") @NoOffset @Properties(inherit=opencv_stitching.class) public class ChannelsCompensator extends ExposureCompensator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
CHANNELS, CHANNELS_BLOCKS, GAIN, GAIN_BLOCKS, NO
Constructor and Description |
---|
ChannelsCompensator() |
ChannelsCompensator(int nr_feeds) |
ChannelsCompensator(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
|
ScalarVector |
gains() |
void |
getMatGains(MatVector umv) |
int |
getNrFeeds() |
void |
setMatGains(MatVector umv) |
void |
setNrFeeds(int nr_feeds) |
createDefault, feed, getUpdateGain, setUpdateGain
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 ChannelsCompensator(Pointer p)
Pointer.Pointer(Pointer)
.public ChannelsCompensator(int nr_feeds)
public ChannelsCompensator()
public void feed(@Const @ByRef PointVector corners, @Const @ByRef UMatVector images, @Const @ByRef UMatBytePairVector masks)
ExposureCompensator
feed
in class ExposureCompensator
public void apply(int index, @ByVal Point corner, @ByVal Mat image, @ByVal Mat mask)
ExposureCompensator
apply
in class ExposureCompensator
index
- 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 ExposureCompensator
public void apply(int index, @ByVal Point corner, @ByVal GpuMat image, @ByVal GpuMat mask)
apply
in class ExposureCompensator
public void getMatGains(@ByRef MatVector umv)
getMatGains
in class ExposureCompensator
public void setMatGains(@ByRef MatVector umv)
setMatGains
in class ExposureCompensator
public void setNrFeeds(int nr_feeds)
public int getNrFeeds()
@ByVal public ScalarVector gains()
Copyright © 2020. All rights reserved.