4 #include "../ndarray/ndarray_view.h"
6 #include "../masked_elem.h"
13 template<
typename Pixel>
37 template<
typename Pixel>
63 template<
typename Pixel>
68 template<
typename Pixel>
virtual void update_cv_mat()
Definition: image.tcc:13
typename base::pixel_type pixel_type
Definition: image.h:42
const cv_mask_mat_type & cv_mask_mat()
Definition: image.h:54
void update_cv_mat()
Definition: image.tcc:34
const view_type & view() noexcept
Definition: image.h:27
masked_image(const view_type &vw)
Definition: image.tcc:29
const cv_mat_type & cv_mat()
Definition: image.h:28
image< Pixel > to_image(const ndarray_view< 2, Pixel > &vw)
Create image for given ndarray_view.
Definition: image.h:64
Nullable wrapper for elem type which adds mask.
Definition: masked_elem.h:15
virtual void commit_cv_mat()
Definition: image.tcc:18
image(const view_type &vw)
Definition: image.tcc:7
void commit_cv_mat()
Definition: image.tcc:44
cv::Mat_< unmasked_type< pixel_type >> cv_mat_type
Definition: image.h:18
typename base::view_type view_type
Definition: image.h:44
Pixel pixel_type
Definition: image.h:16
ndarray_view< 2, pixel_type > view_type
Definition: image.h:17
Two-dimensional image with given pixel type.
Definition: image.h:14
cv::Mat_< bool > cv_mask_mat_type
Definition: image.h:46
typename base::cv_mat_type cv_mat_type
Definition: image.h:45
Two-dimensional masked image with given pixel type.
Definition: image.h:38