|
RSLightFields
Disparity map estimator from 3D light fields
|
Implement functions to scale and plot matrices. More...
#include <rslf_types.hpp>

Go to the source code of this file.
Classes | |
| class | rslf::ImageConverter_uchar |
| 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... | |
Functions | |
| void | rslf::plot_mat (Mat img, std::string window_name="Image") |
| Plot the provided cv::Mat in a cv::namedWindow. More... | |
| Mat | rslf::copy_and_scale_uchar (Mat img) |
| Build a copy of the matrix scaled to uchar (0..255). More... | |
| Mat | rslf::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. More... | |
Implement functions to scale and plot matrices.
Build a copy of the matrix scaled to uchar (0..255).
| img | The matrix to be scaled. |
| rslf::Mat rslf::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.
| img | The matrix to be plotted. |
| fill_row | Fill a row in blank? -1 for no, else row index |
| max_height | Truncate the image to this height. |
| fill_col | Fill a col in blank? -1 for no, else col index |
| max_width | Truncate the image to this width. |
| void rslf::plot_mat | ( | Mat | img, |
| std::string | window_name = "Image" |
||
| ) |
Plot the provided cv::Mat in a cv::namedWindow.
| img | The matrix to be plotted. |
| window_name | Name of the created window. |
1.8.13