BRL-CAD
color_space.c File Reference
#include "common.h"
#include <stdlib.h>
#include <string.h>
#include "vmath.h"
#include "bio.h"
#include "bu/malloc.h"
#include "bu/log.h"
#include "icv.h"
Include dependency graph for color_space.c:

Go to the source code of this file.

Functions

int icv_gray2rgb (icv_image_t *img)
 
int icv_rgb2gray (icv_image_t *img, ICV_COLOR color, double rweight, double gweight, double bweight)
 

Detailed Description

This file contains routines to change the icv image from one colorspace to other.

This file contains color_space conversion routines.

Definition in file color_space.c.