int get_num_colours( )
Java: int Get_num_colours( )
[Declared in "../apps/compressed_io/jp2.h"]
Returns the number of colour channels associated with this colour space definition. All colour spaces associated with a given image or compositing layer must have the same number of colours and this number must agree with the value returned by jp2_channels::get_num_colours. For vendor-specific colour spaces, this function may return 0.