mf
Media Framework
|
Two-dimensional masked image with given pixel type. More...
#include <image.h>
Public Types | |
using | pixel_type = typename base::pixel_type |
using | masked_pixel_type = masked_elem< Pixel > |
using | view_type = typename base::view_type |
using | cv_mat_type = typename base::cv_mat_type |
using | cv_mask_mat_type = cv::Mat_< bool > |
Public Types inherited from mf::image< masked_elem< Pixel > > | |
using | pixel_type = masked_elem< Pixel > |
using | view_type = ndarray_view< 2, pixel_type > |
using | cv_mat_type = cv::Mat_< unmasked_type< pixel_type >> |
Public Member Functions | |
masked_image (const view_type &vw) | |
const cv_mask_mat_type & | cv_mask_mat () |
void | update_cv_mat () |
void | commit_cv_mat () |
Public Member Functions inherited from mf::image< masked_elem< Pixel > > | |
image (const view_type &vw) | |
const view_type & | view () noexcept |
const cv_mat_type & | cv_mat () |
Two-dimensional masked image with given pixel type.
Derived from image with masked_elem<Pixel>
pixel, with additional OpenCV Mat_
for binary mask.
using mf::masked_image< Pixel >::cv_mask_mat_type = cv::Mat_<bool> |
using mf::masked_image< Pixel >::cv_mat_type = typename base::cv_mat_type |
using mf::masked_image< Pixel >::masked_pixel_type = masked_elem<Pixel> |
using mf::masked_image< Pixel >::pixel_type = typename base::pixel_type |
using mf::masked_image< Pixel >::view_type = typename base::view_type |
mf::masked_image< Pixel >::masked_image | ( | const view_type & | vw | ) |
|
virtual |
Reimplemented from mf::image< masked_elem< Pixel > >.
|
inline |
|
virtual |
Reimplemented from mf::image< masked_elem< Pixel > >.