@Namespace(value="cv::detail") @Properties(inherit=opencv_stitching.class) public class BlocksGainCompensator extends BlocksCompensator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
CHANNELS, CHANNELS_BLOCKS, GAIN, GAIN_BLOCKS, NO
Constructor and Description |
---|
BlocksGainCompensator() |
BlocksGainCompensator(int bl_width,
int bl_height) |
BlocksGainCompensator(int bl_width,
int bl_height,
int nr_feeds) |
BlocksGainCompensator(long size)
Native array allocator.
|
BlocksGainCompensator(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
|
void |
getMatGains(MatVector umv) |
BlocksGainCompensator |
position(long position) |
void |
setMatGains(MatVector umv) |
getBlockSize, getNrFeeds, getNrGainsFilteringIterations, setBlockSize, setBlockSize, setNrFeeds, setNrGainsFilteringIterations
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, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public BlocksGainCompensator(Pointer p)
Pointer.Pointer(Pointer)
.public BlocksGainCompensator(long size)
Pointer.position(long)
.public BlocksGainCompensator(int bl_width, int bl_height)
public BlocksGainCompensator()
public BlocksGainCompensator(int bl_width, int bl_height, int nr_feeds)
public BlocksGainCompensator position(long position)
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 BlocksCompensator
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 BlocksCompensator
public void apply(int index, @ByVal Point corner, @ByVal GpuMat image, @ByVal GpuMat mask)
apply
in class BlocksCompensator
public void getMatGains(@ByRef MatVector umv)
getMatGains
in class BlocksCompensator
public void setMatGains(@ByRef MatVector umv)
setMatGains
in class BlocksCompensator
Copyright © 2020. All rights reserved.