2 #ifndef vil_openjpeg_pyramid_image_resource_h_ 3 #define vil_openjpeg_pyramid_image_resource_h_ 16 # include <vcl_msvc_warnings.h> 31 unsigned nplanes()
const override;
36 unsigned ni()
const override;
41 unsigned nj()
const override;
59 unsigned nlevels()
const override;
63 unsigned j0,
unsigned nj,
64 unsigned level)
const override;
75 unsigned j0,
unsigned nj,
77 float& actual_scale)
const override;
93 void print(
const unsigned level)
override;
102 #endif // vil_openjpeg_pyramid_image_resource_h_ An abstract base class of smart pointers to actual image data in memory.
vil_openjpeg_pyramid_image_resource()
vil_image_view_base_sptr get_copy_view(unsigned level) const override
Get a complete view from a specified pyramid level.
vil_image_view_base_sptr get_copy_view(const float scale, float &actual_scale) const override
Get a complete view from the image in the pyramid closest to the specified scale.
unsigned ni() const override
The number of pixels in each row.
Representation of a pyramid resolution hierarchy; mostly pure virtual methods.
void print(const unsigned level) override
for debug purposes.
vil_openjpeg_image * ptr_
bool put_resource(vil_image_resource_sptr const &) override
Copy a resource into the pyramid, level is determined by resource scale.
enum vil_pixel_format pixel_format() const override
Pixel Format.
bool put_view(vil_image_view_base const &, unsigned, unsigned) override
Put the data in this view back into the base image.
unsigned nj() const override
The number of pixels in each column.
Representation of a pyramid resolution hierarchy.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
Image I/O for JPEG2000 imagery using OpenJPEG.
unsigned nplanes() const override
The number of planes (or components) in the image.
~vil_openjpeg_pyramid_image_resource() override=default
vil_image_resource_sptr openjpeg_sptr_
vil_image_resource_sptr get_resource(const unsigned level) const override
Get an image resource from the pyramid at the specified level.
Derived image resource for JPEG2000 imagery using OpenJPEG.
char const * file_format() const override
Return a string describing the file format.
unsigned nlevels() const override
Number of pyramid levels.