## NAME

         spher_inv_xform - spherical inverse transfor

## SYNOPSIS

         void  spher_inv_xform(float  **cvecP,  unsigned  long  vdim,
         float Xo, float Yo, float Zo)

          <cvecP> - pointer to an array of normalized band vectors
          <vdim> - dimension of each vector (number of pixels)
          <Xo> - reference white for red
          <Yo> - reference white for green
          <Zo> - reference white for blue

## PATH

         $CVIPHOME/COLOR/cxform.c

## DESCRIPTION

         This function  performs  SCT  to  RGB  color  transformation
         according to the following equations:

                       r = rho * sin(phi) * cos(theta)
                       g = rho * sin(phi) * sin(theta)
                       b = rho * cos(phi)

## TYPES AND CONSTANTS

         None

## RETURN VALUES

         None

## HISTORY

         History information recorded: None

## SEE ALSO

         libcolor

## AUTHOR

         Copyright (C) 1996 SIUE - by Scott E.  Umbaugh  and  Wenxing
         Li.