@Namespace(value="cv::xphoto") @Properties(inherit=opencv_xphoto.class) public class TonemapDurand extends Tonemap
/** \brief This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter and compresses contrast of the base layer thus preserving all the details.
This implementation uses regular bilateral filter from OpenCV.
Saturation enhancement is possible as in cv::TonemapDrago.
For more information see \cite DD02 .
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TonemapDurand(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getContrast() |
float |
getSaturation() |
float |
getSigmaColor() |
float |
getSigmaSpace() |
void |
setContrast(float contrast) |
void |
setSaturation(float saturation) |
void |
setSigmaColor(float sigma_color) |
void |
setSigmaSpace(float sigma_space) |
getGamma, process, process, process, setGamma
clear, empty, getDefaultName, position, read, save, save, write, write, write
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 TonemapDurand(Pointer p)
Pointer.Pointer(Pointer)
.public float getSaturation()
public void setSaturation(float saturation)
public float getContrast()
public void setContrast(float contrast)
public float getSigmaSpace()
public void setSigmaSpace(float sigma_space)
public float getSigmaColor()
public void setSigmaColor(float sigma_color)
Copyright © 2020. All rights reserved.