2 #ifndef vil_j2k_pyramid_image_resource_h_ 3 #define vil_j2k_pyramid_image_resource_h_ 16 # include <vcl_msvc_warnings.h> 31 virtual unsigned nplanes()
const;
36 virtual unsigned ni()
const;
41 virtual unsigned nj()
const;
63 virtual unsigned nlevels()
const;
67 unsigned j0,
unsigned n_j,
68 unsigned level)
const;
79 unsigned j0,
unsigned n_j,
81 float& actual_scale)
const;
97 virtual void print(
const unsigned level);
106 #endif // vil_j2k_pyramid_image_resource_h_ An abstract base class of smart pointers to actual image data in memory.
virtual unsigned nj() const
The number of pixels in each column.
virtual vil_image_view_base_sptr get_copy_view(unsigned level) const
Get a complete view from a specified pyramid level.
virtual unsigned ni() const
The number of pixels in each row.
Class capable of reading JPEG2000 Part I files and ECW (ER Mapper's proprietary format) image files.
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.
vil_j2k: Written by Rob Radtke (rob@) and Harry Voorhees (hlv@) of Stellar Science Ltd.
Representation of a pyramid resolution hierarchy; mostly pure virtual methods.
virtual char const * file_format() const
Return a string describing the file format.
virtual unsigned nlevels() const
Number of pyramid levels.
Representation of a pyramid resolution hierarchy.
virtual bool put_view(vil_image_view_base const &, unsigned, unsigned)
Put the data in this view back into the base image.
virtual vil_image_resource_sptr get_resource(const unsigned level) const
Get an image resource from the pyramid at the specified level.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
virtual unsigned nplanes() const
The number of planes (or components) in the image.
virtual bool put_resource(vil_image_resource_sptr const &resc)
Copy a resource into the pyramid, level is determined by resource scale.
vil_image_resource_sptr j2k_sptr_
virtual enum vil_pixel_format pixel_format() const
Pixel Format.
virtual ~vil_j2k_pyramid_image_resource()
vil_j2k_pyramid_image_resource()
virtual void print(const unsigned level)
for debug purposes.