>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  C2HSV

C2HSV

C2HSV

Name


      C2HSV

Purpose


      Convert a 24-bit color value to Hue, Saturation, Value.

Category


Calling Sequence


      c2hsv, c, h, s, v

Inputs


      c = input 24-bit color value. in

Keyword Parameters


Outputs


      h,s,v = returned H,S,V values. out

Common Blocks


Notes


      Notes: example: c=13369241, h,s,v = 149.412, 0.4, 1.0
     
      Inverse of rgb2c, /hsv.

Modification History


      R. Sterner, 2002 Oct 17
  Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us