| synopsis || return value || arguments || prev || next |

kdu_channel_mapping::configure

Java: Kdu_channel_mapping::Configure

Overload navigation: 1, 2, 3

bool configure( kdu_codestream codestream)

Java: boolean Configure( Kdu_codestream codestream)

[Declared in "../apps/support/kdu_region_decompressor.h"]

Go to class description.


Synopsis

Configures the channel mapping information based upon the dimensions of the supplied raw code-stream. Since no explicit channel mapping information is available from a wrapping file format, the function assumes that the first 3 image components represent red, green and blue colour channels unless they have different dimensions or there are fewer than 3 components, in which case the function treats the first component as a luminance channel and ignores the others.


Return Value

All versions of this overloaded function return true if successful. This version always returns true.

Arguments

codestream [kdu_codestream]


| top || synopsis || return value || arguments || prev || next |