2 #ifndef vil_bmp_file_format_h_ 3 #define vil_bmp_file_format_h_ 44 char const*
tag()
const override;
63 unsigned nplanes()
const override;
64 unsigned ni()
const override;
65 unsigned nj()
const override;
72 unsigned j0,
unsigned nj)
const override;
78 bool get_property(
char const *tag,
void *prop =
nullptr)
const override;
92 uchar **freds_colormap;
94 xBITMAPINFOHEADER header;
95 xBITMAPFILEHEADER fbmp;
97 int** local_color_map_;
102 #endif // vil_bmp_file_format_h_
unsigned nj() const override
Dimensions: Planes x ni x nj.
vil_bmp_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.
char const * file_format() const override
Return a string describing the file format.
unsigned nplanes() const override
Dimensions: planes x width x height x components.
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.
Stream interface for VIL image loaders.
vil_streampos bit_map_start
Generic image implementation for BMP files.
~vil_bmp_image() override
Abstract representation of an image source or image 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.
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.
Representation of a generic image source or destination.
vil_bmp_info_header info_hdr
vil_bmp_file_header file_hdr
vil_bmp_core_header core_hdr