FormatCorePlugin_ReadImageColorMap

Definition

Get image information.

int32_t FormatCorePlugin_ReadImageColorMap(

  FC_ImageHandle handle,

  FC_ImageColorMap *colormap

);

Arguments

[IN]handle

Handle to a reader instance that previously opened an image.

[OUT]colormap

Colormap structure allocated by FormatCore. This has to be filled in.

FORMATCORE_SUCCESS or FORMATCORE_FAILURE.

Remarks

If the data structure defies that the image contains a color map then this function will be called prior to selecting a ROI. Colormap size is computed as 1 << bits per pixel.If the datastructure defies that the image contains a color map then this function will be called prior to selecting a ROI. Colormap size is computed as 1 << bits per pixel.