| synopsis || arguments || prev || next |

kdu_subband::get_roi_weight

Java: Kdu_subband::Get_roi_weight

bool get_roi_weight( float & energy_weight)

Java: boolean Get_roi_weight( float[] energy_weight)

[Declared in "../coresys/common/kdu_compressed.h"]

Go to class description.


Synopsis

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.


Arguments

energy_weight [float &]


| top || synopsis || arguments || prev || next |