| synopsis || arguments || prev || next |
bool get_roi_weight( float & energy_weight)
Java: boolean Get_roi_weight( float[] energy_weight)
[Declared in "../coresys/common/kdu_compressed.h"]
Returns true if a special energy weighting factor has been requested for code-blocks which contribute to the foreground region of an ROI mask. In this case, the energy_weight value is set to the amount by which MSE distortions should be scaled. This value is obtained by squaring the Rweight attribute from the relevant rgn_params coding parameter object.