BRL-CAD
|
Go to the source code of this file.
Macros | |
#define | icv_rgb2gray_ntsc(_a) icv_rgb2gray(_a, ICV_COLOR_RGB, 0.30, 0.59, 0.11) |
#define | icv_rgb2gray_crt(_a) icv_rgb2gray(_a, ICV_COLOR_RGB, 0.26, 0.66, 0.08) |
Enumerations | |
enum | ICV_COLOR { ICV_COLOR_RGB , ICV_COLOR_R , ICV_COLOR_G , ICV_COLOR_B , ICV_COLOR_RG , ICV_COLOR_RB , ICV_COLOR_BG } |
Functions | |
int | icv_gray2rgb (icv_image_t *img) |
int | icv_rgb2gray (icv_image_t *img, ICV_COLOR color, double rweight, double gweight, double bweight) |