26 std::string window_name =
"Image" 55 void fit(
const Mat& img,
bool saturate =
true);
65 bool m_initialized =
false;
81 int fill_row_red = -1,
83 int fill_col_red = -1,
void plot_mat(Mat img, std::string window_name="Image")
Plot the provided cv::Mat in a cv::namedWindow.
Definition: rslf_plot.cpp:13
Image normalizer to be fitted on a given image, that will further scale images given the preceding fi...
Definition: rslf_plot.hpp:45
Definition: rslf_depth_computation.hpp:14
Mat copy_and_scale_uchar(Mat img)
Build a copy of the matrix scaled to uchar (0..255).
Definition: rslf_plot.cpp:41
Implement a toolbox of utilitary functions.
cv::Mat Mat
RSLF Matrix class (cv::Mat)
Definition: rslf_types.hpp:26
void copy_and_scale(const Mat &src, Mat &dst)
Scales the input image to uchar and return a copy.
Definition: rslf_plot.cpp:100
Mat draw_red_lines(Mat img, int fill_row_red=-1, int max_height=-1, int fill_col_red=-1, int max_width=-1)
Scale values to plottable (uchar 0..255) and overlays the given matrix with red lines.
Definition: rslf_plot.cpp:111
void fit(const Mat &img, bool saturate=true)
Given an image, fit the internal normalization parameters.
Definition: rslf_plot.cpp:66