hierarchy of mask of various shapes. More...
#include <vcl_iosfwd.h>
#include <vnl/vnl_vector.h>
#include <vil/vil_image_view.h>
#include <rgrl/rgrl_object.h>
#include <rgrl/rgrl_macros.h>
Go to the source code of this file.
Classes | |
class | rgrl_mask |
base class of roi which is a pure virtual class. More... | |
class | rgrl_mask_2d_image |
this is a wrapper on the binary mask image. The image is define for the x-y plane. More... | |
class | rgrl_mask_sphere |
This is a wrapper on the circular region or sphere. More... | |
class | rgrl_mask_box |
this is a wrapper on the box. More... | |
Functions | |
vcl_ostream & | operator<< (vcl_ostream &os, const rgrl_mask_box &box) |
An output operator for displaying a mask_box. | |
vcl_istream & | operator>> (vcl_istream &is, rgrl_mask_box &box) |
An output operator for displaying a mask_box. | |
rgrl_mask_box | rgrl_mask_box_intersection (rgrl_mask_box const &a, rgrl_mask_box const &b) |
Intersection Box A with Box B (make it within the range of B). |
hierarchy of mask of various shapes.
Disregarding the shape, each mask also provides a bounding box. Denoting the upper left corner as x0, and bottom right as x1 (in 2D case), the bounding box is defined by a tight interval [x0, x1] on all dimensions.
Modifications Oct. 2006 Gehua Yang (RPI) - move rgrl_mask_3d_image into separate file
Definition in file rgrl_mask.h.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const rgrl_mask_box & | box | ||
) |
An output operator for displaying a mask_box.
Definition at line 208 of file rgrl_mask.cxx.
vcl_istream& operator>> | ( | vcl_istream & | is, |
rgrl_mask_box & | box | ||
) |
An output operator for displaying a mask_box.
Definition at line 216 of file rgrl_mask.cxx.
rgrl_mask_box rgrl_mask_box_intersection | ( | rgrl_mask_box const & | a, |
rgrl_mask_box const & | b | ||
) |
Intersection Box A with Box B (make it within the range of B).
Definition at line 236 of file rgrl_mask.cxx.