public class RetinaFastToneMapping extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
RetinaFastToneMapping(long addr) |
Modifier and Type | Method and Description |
---|---|
static RetinaFastToneMapping |
__fromPtr__(long addr) |
void |
applyFastToneMapping(Mat inputImage,
Mat outputToneMappedImage)
applies a luminance correction (initially High Dynamic Range (HDR) tone mapping)
using only the 2 local adaptation stages of the retina parvocellular channel : photoreceptors
level and ganlion cells level.
|
static RetinaFastToneMapping |
create(Size inputSize) |
protected void |
finalize() |
void |
setup()
updates tone mapping behaviors by adjusing the local luminance computation area
(default is 1, see reference paper)
|
void |
setup(float photoreceptorsNeighborhoodRadius)
updates tone mapping behaviors by adjusing the local luminance computation area
|
void |
setup(float photoreceptorsNeighborhoodRadius,
float ganglioncellsNeighborhoodRadius)
updates tone mapping behaviors by adjusing the local luminance computation area
|
void |
setup(float photoreceptorsNeighborhoodRadius,
float ganglioncellsNeighborhoodRadius,
float meanLuminanceModulatorK)
updates tone mapping behaviors by adjusing the local luminance computation area
|
clear, empty, getDefaultName, getNativeObjAddr, save
public static RetinaFastToneMapping __fromPtr__(long addr)
public static RetinaFastToneMapping create(Size inputSize)
public void applyFastToneMapping(Mat inputImage, Mat outputToneMappedImage)
inputImage
- the input image to process RGB or gray levelsoutputToneMappedImage
- the output tone mapped imagepublic void setup(float photoreceptorsNeighborhoodRadius, float ganglioncellsNeighborhoodRadius, float meanLuminanceModulatorK)
photoreceptorsNeighborhoodRadius
- the first stage local adaptation areaganglioncellsNeighborhoodRadius
- the second stage local adaptation areameanLuminanceModulatorK
- the factor applied to modulate the meanLuminance information
(default is 1, see reference paper)public void setup(float photoreceptorsNeighborhoodRadius, float ganglioncellsNeighborhoodRadius)
photoreceptorsNeighborhoodRadius
- the first stage local adaptation areaganglioncellsNeighborhoodRadius
- the second stage local adaptation area
(default is 1, see reference paper)public void setup(float photoreceptorsNeighborhoodRadius)
photoreceptorsNeighborhoodRadius
- the first stage local adaptation area
(default is 1, see reference paper)public void setup()
Copyright © 2020. All rights reserved.