LqrImageType(3) carver objects image type (colour model) specification

DESCRIPTION

The LqrCarver objects use knowledge about the image type they're working on in order to compute correctly some quantities (e.g. the brightness) for the automatic feature detection. Image types are set automatically by the constructors, but they can also be specified manually using quantities of the type LqrImageType, which is an enum which can take these values:

•LQR_GREY_IMAGE.RE

•LQR_GREYA_IMAGE.RE

•LQR_RGB_IMAGE.RE

•LQR_RGBA_IMAGE.RE

•LQR_CMY_IMAGE.RE

•LQR_CMYK_IMAGE.RE

•LQR_CMYKA_IMAGE.RE

•LQR_CUSTOM_IMAGE.RE

Use the function lqr_carver_set_image_type(3) to set the image type of a carver, and the function lqr_carver_get_image_type(3) to read it out.

COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi