|
RSLightFields
Disparity map estimator from 3D light fields
|
Image normalizer to be fitted on a given image, that will further scale images given the preceding fitted values. Enables to maintain a coherent color scale in plots for instance. More...
#include <rslf_plot.hpp>
Public Member Functions | |
| void | fit (const Mat &img, bool saturate=true) |
| Given an image, fit the internal normalization parameters. More... | |
| void | copy_and_scale (const Mat &src, Mat &dst) |
| Scales the input image to uchar and return a copy. More... | |
Image normalizer to be fitted on a given image, that will further scale images given the preceding fitted values. Enables to maintain a coherent color scale in plots for instance.
Scales the input image to uchar and return a copy.
| src | Input image |
| dst | Output image |
| void rslf::ImageConverter_uchar::fit | ( | const Mat & | img, |
| bool | saturate = true |
||
| ) |
Given an image, fit the internal normalization parameters.
| img | Input image |
| saturate | Flag which indicate whether the normalizer should cut the lower 2% and higher 2% of the range of values (in order to be robust to outliers) |
1.8.13