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

jp2_palette::init

Java: Jp2_palette::Init

void init( int num_luts, int num_entries)

Java: void Init( int num_luts, int num_entries)

[Declared in "../apps/compressed_io/jp2.h"]

Go to class description.


Synopsis

Initializes the internal palette object to have the indicated number of lookup tables, each with the indicated number of entries. It is illegal to call this function unless there is an internal object ( exists must return true) and that object has not yet been initialized.

To complete the initialization, the individual component lookup tables must be configured using set_lut.


Arguments

num_luts [int]

num_entries [int]


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