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

kdu_tile_comp::get_bit_depth

Java: Kdu_tile_comp::Get_bit_depth

int get_bit_depth( bool internal=false)

Java: int Get_bit_depth( boolean internal)

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

Go to class description.


Synopsis

If internal is false, the function returns the same value as kdu_codestream::get_bit_depth, i.e., the precision of the image component samples represented by this tile-component, prior to any forward colour transform.

If internal is true, the function reports the maximum number of bits required to represent the tile-component samples in the original image domain, the colour transformed domain and the subband domain. This allows applications to judge the most appropriate numerical representation for the data. In the reversible path, it is sufficient to employ integers with the returned bit-depth. Otherwise, the returned bit-depth is just a guideline — the use of higher precision representations for irreversible path processing will generally improve accuracy.


Arguments

internal [bool]


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