2 #ifndef vil_j2k_nitf2_pyramid_image_resource_h_ 3 #define vil_j2k_nitf2_pyramid_image_resource_h_ 16 # include <vcl_msvc_warnings.h> 44 virtual unsigned nplanes()
const;
49 virtual unsigned ni()
const;
54 virtual unsigned nj()
const;
76 virtual unsigned nlevels()
const;
80 unsigned j0,
unsigned n_j,
81 unsigned level)
const;
92 unsigned j0,
unsigned n_j,
94 float& actual_scale)
const;
110 virtual void print(
const unsigned level);
118 #endif // vil_j2k_nitf2_pyramid_image_resource_h_ An abstract base class of smart pointers to actual image data in memory.
virtual vil_image_view_base_sptr get_copy_view(const float scale, float &actual_scale) const
Get a complete view from the image in the pyramid closest to the specified scale.
virtual void print(const unsigned level)
for debug purposes.
virtual vil_image_view_base_sptr get_copy_view(unsigned level) const
Get a complete view from a specified pyramid level.
Representation of a pyramid resolution hierarchy; mostly pure virtual methods.
vil_image_resource_sptr nitf2_sptr_
virtual ~vil_j2k_nitf2_pyramid_image_resource()
virtual unsigned nplanes() const
The number of planes (or components) in the image.
vil_nitf2: Written by Rob Radtke (rob@) and Harry Voorhees (hlv@) of Stellar Science Ltd.
Class for reading NITF 2.1 imagery files.
Representation of a pyramid resolution hierarchy; mostly pure virtual methods.
Representation of a pyramid resolution hierarchy.
virtual unsigned nlevels() const
Number of pyramid levels.
virtual char const * file_format() const
Return a string describing the file format.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
virtual vil_image_resource_sptr get_resource(const unsigned level) const
Get an image resource from the pyramid at the specified level.
virtual enum vil_pixel_format pixel_format() const
Pixel Format.
virtual bool put_view(vil_image_view_base const &, unsigned, unsigned)
Put the data in this view back into the base image.
vil_j2k_nitf2_pyramid_image_resource()
virtual unsigned nj() const
The number of pixels in each column.
virtual unsigned ni() const
The number of pixels in each row.
virtual bool put_resource(vil_image_resource_sptr const &resc)
Copy a resource into the pyramid, level is determined by resource scale.