2 #ifndef vil_sgi_file_format_h_ 3 #define vil_sgi_file_format_h_ 20 char const*
tag()
const override;
39 unsigned nplanes()
const override;
40 unsigned ni()
const override;
41 unsigned nj()
const override;
48 unsigned j0,
unsigned nj)
const override;
54 bool get_property(
char const *tag,
void *prop =
nullptr)
const override;
67 #endif // vil_sgi_file_format_h_ vil_sgi_image(vil_stream *is, unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format)
Stream interface for VIL image loaders.
An abstract base class of smart pointers to actual image data in memory.
enum vil_pixel_format pixel_format() const override
Pixel Format.
bool put_view(const vil_image_view_base &im, unsigned i0, unsigned j0) override
Put the data in this view back into the image source.
bool get_property(char const *tag, void *prop=nullptr) const override
Extra property information.
Stream interface for VIL image loaders.
~vil_sgi_image() override
char const * file_format() const override
Return a string describing the file format.
Generic image implementation for SGI files.
Abstract representation of an image source or image destination.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
unsigned ni() const override
Dimensions: Planes x ni x nj.
unsigned nplanes() const override
Dimensions: planes x width x height x components.
unsigned nj() const override
Dimensions: Planes x ni x nj.