Table of Contents

NAME

QccHYPImageCubeToColor - make a color-image representation of image cube

SYNOPSIS

#include "libQccPack.h"

int QccHYPImageCubeToColor(const QccIMGImageCube *image_cube, QccIMGImage *image, int red_band, int green_band, int blue_band);

DESCRIPTION

QccHYPImageCubeToColor() creates a color-image representation of image_cube by extracting three bands as the red, green, and blue components of the color image. The values of red_band, green_band, and blue_band indicate which bands from image_cube to extract. The image is output to image which must be allocated prior to calling QccHYPImageCubeToColor() to the same number of rows and columns as image_cube; image must be a color image (i.e., have three components).

RETURN VALUE

This routine returns 0 on success, 1 on error.

SEE ALSO

QccIMGImageComponent(3) , QccIMGImage(3) , QccPackHYP(3) , QccPackIMG(3) , QccPack(3)

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads