| synopsis |
siz_params( )
Java: Siz_params( )
[Declared in "../coresys/common/kdu_params.h"]
Constructing a siz_params object causes the kdu_params::finalize member function to be overridden to implement a number of useful conversions between partially completed representations of the image dimensions. The behaviour is as follows:
The kdu_params::finalize function verifies the consistency of all available dimension information and derives and sets any dimensions which have not otherwise been set. For example, we may start with a collection of individual component dimensions (set using the Sdims attribute), from which the function must deduce an appropriate set of canvas dimensions and sub-sampling parameters. The function does its best to handle all combinations of inputs. It generates an error if insufficient or conflicting information prevent it from determining a full set of consistent dimensions.