>  Docs Center  >  Libraries  >  Daithi  >  TRUECOL_ROTATE
Libraries

TRUECOL_ROTATE

TRUECOL_ROTATE

Name


        TRUECOL_ROTATE

Purpose


        This a wrapper for the rotate function. Rotate doesn't like
        arrays from true colour images.

Category


        Graphics

Calling Sequence


        result = TrueCol_Rotate(img,dir)

Inputs


      img: The array holding a true colour image. true colour
              images have a format like (3,x,y) where the first index
              refers to the three different colour channels.
      dir: The direction argument passed to the IDL Rotate
              function. See the IDL Rotate function for more information.

Outputs


      result: The rotated array.

Restrictions


      The input array (img) must be of the form array(3,x,y) where x
      and y are the horizontal and vertical dimensions of the image.
      It would be easy to modify this routine to handle the other
      forms of true colour images (where the colour index is the
      second or third dimension instead of the first).

Modification History


  Written by: Edward C. Wiebe, 2000-12-18.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us