[Declared in "../apps/support/kdu_region_decompressor.h"]
Objects of this class provide a powerful mechanism for interacting with JPEG2000 compressed imagery. They are particularly suitable for applications requiring interactive decompression, such as browsers and image editors, although there may be many other applications for the object. The object abstracts all details associated with opening and closing tiles, colour transformations, interpolation (possibly by different amounts for each code-stream component) and determining the elements which are required to recover a given region of interest within the image.
The object also manages all state information required to process any selected image region (at any given scale) incrementally through multiple invocations of the process function. This allows the CPU-intensive decompression operations to be interleaved with other tasks (e.g., user event processing) to maintain the responsiveness of an interactive application.
The implementation here is entirely platform independent, even though it may often be embedded inside applications which contain platform dependent code to manage graphical user interfaces. If you are looking to build interfaces to Kakadu services from other languages, such as Java or Delphi, this class would be the best place to start, since it wraps up so much useful functionality, with a relatively small number of function calls.
kdu_region_decompressor {Java: Kdu_region_decompressor}
~kdu_region_decompressor {Java: Native_destroy}
start {Java: Start}
process (3 forms)
finish {Java: Finish}