30 return i0 + im.
ni() <=
ni() &&
31 j0 + im.
nj() <=
nj() &&
An abstract base class of smart pointers to actual image data in memory.
virtual bool view_fits(const vil_image_view_base &im, unsigned i0, unsigned j0)
Check that a view will fit into the data at the given offset.
A base class reference-counting view of some image data.
vil_image_resource()
the reference count starts at 0.
virtual unsigned ni() const =0
Dimensions: Planes x ni x nj.
virtual unsigned nj() const =0
Dimensions: Planes x ni x nj.
unsigned ni() const
Width.
unsigned nj() const
Height.
virtual enum vil_pixel_format pixel_format() const =0
Return a description of the concrete data pixel type.
virtual bool get_property(char const *tag, void *property_value=nullptr) const =0
Extra property information.
virtual unsigned nplanes() const =0
Dimensions: Planes x ni x nj.
virtual ~vil_image_resource()
unsigned nplanes() const
Number of planes.
Representation of a generic image source or destination.