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

kdu_resolution::get_precinct_relevance

Java: Kdu_resolution::Get_precinct_relevance

double get_precinct_relevance( kdu_coords precinct_idx)

Java: double Get_precinct_relevance( Kdu_coords precinct_idx)

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

Go to class description.


Synopsis

Returns a floating point quantity in the range 0 to 1, suggesting the degree to which the indicated precinct is relevant to the region selected using kdu_codestream::apply_input_restrictions. In particular, the returned value may be interpreted (at least roughly) as the fraction of the precinct's subband samples which are involved in the reconstruction of the current spatial region and resolution of interest, as specified in a call to kdu_codestream::apply_input_restrictions. The interpretation of the precinct_idx argument is identical to that in the open_precinct and get_precinct_id functions.


Arguments

precinct_idx [kdu_coords]


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