2 #ifndef vil_mit_file_format_h_ 3 #define vil_mit_file_format_h_ 40 char const*
tag()
const override;
43 unsigned int ni,
unsigned int nj,
unsigned int nplanes,
65 unsigned int ni,
unsigned int nj,
unsigned int nplanes,
70 unsigned int ni()
const override {
return ni_; }
71 unsigned int nj()
const override {
return nj_; }
84 bool get_property(
char const *
tag,
void *prop =
nullptr)
const override;
87 #endif // vil_mit_file_format_h_
~vil_mit_image() override
An abstract base class of smart pointers to actual image data in memory.
unsigned int ni() const override
Dimensions. W x H x Components.
bool put_view(vil_image_view_base const &buf, unsigned int x0, unsigned int y0) override
Write buf into this at position (x0,y0).
Stream interface for VIL image loaders.
vil_mit_image(vil_stream *is)
Abstract representation of an image source or image destination.
unsigned int bytes_per_pixel() const
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
enum vil_pixel_format format_
unsigned int nplanes() const override
Dimensions: Planes x ni x nj.
Generic image implementation for MIT files.
unsigned int nj() const override
Dimensions: Planes x ni x nj.
Representation of a generic image source or destination.
bool get_property(char const *tag, void *prop=nullptr) const override
Extra property information.
enum vil_pixel_format pixel_format() const override
Pixel Format.
char const * file_format() const override
Return a string describing the file format.