| synopsis || arguments || next |
kdu_roi_rect( kdu_codestream codestream, kdu_dims region)
[Declared in "../apps/kdu_compress/roi_sources.h"]
Accepts a single rectangular region, specified relative to the high resolution code-stream canvas coordinate system. This will be the foreground region associated with all ROI mask generation activities. It is transformed into a region on each of the individual image components by applying the usual coordinate transformation rules.
Master interface to the internal code-stream management machinery associated with the image being compressed.
The supplied region should incorporate the effects of any prevailing geometric transformations, which may have been set up by calls to codestream.change_appearance. As a result, if region were set to that returned by codestream.get_dims (called with a negative comp_idx argument), the foreground would correspond exactly to the full image region on the canvas.