mf
Media Framework
|
Two-dimensional image with given pixel type. More...
#include <image.h>
Public Types | |
using | pixel_type = Pixel |
using | view_type = ndarray_view< 2, pixel_type > |
using | cv_mat_type = cv::Mat_< unmasked_type< pixel_type >> |
Public Member Functions | |
image (const view_type &vw) | |
const view_type & | view () noexcept |
const cv_mat_type & | cv_mat () |
virtual void | update_cv_mat () |
virtual void | commit_cv_mat () |
Two-dimensional image with given pixel type.
Represented using an ndarray_view
, and the corresponding OpenCV Mat_
pointing to same data.
using mf::image< Pixel >::cv_mat_type = cv::Mat_<unmasked_type<pixel_type>> |
using mf::image< Pixel >::pixel_type = Pixel |
using mf::image< Pixel >::view_type = ndarray_view<2, pixel_type> |
|
virtual |
Reimplemented in mf::masked_image< Pixel >.
|
inline |
|
virtual |
Reimplemented in mf::masked_image< Pixel >.