@Namespace(value="cv") @Properties(inherit=opencv_photo.class) public class Tonemap extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Tonemap(Algorithm pointer)
Downcast constructor.
|
Tonemap(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(Tonemap pointer) |
float |
getGamma() |
void |
process(GpuMat src,
GpuMat dst) |
void |
process(Mat src,
Mat dst)
\brief Tonemaps image
|
void |
process(UMat src,
UMat dst) |
void |
setGamma(float gamma) |
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Tonemap(Pointer p)
Pointer(Pointer)
.public Tonemap(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(Tonemap pointer)
public void process(@ByVal Mat src, @ByVal Mat dst)
src
- source image - CV_32FC3 Mat (float 32 bits 3 channels)dst
- destination image - CV_32FC3 Mat with values in [0, 1] rangepublic float getGamma()
public void setGamma(float gamma)
Copyright © 2024. All rights reserved.