Horus Doc ||
Global Function Guide ||
General documentation |
Function documentation
HxColorSpace
Synopsis
HxImageRep HxColorSpace (HxImageRep img, HxColorModel fromColorSpace, HxColorModel toColorSpace)
Input
HxImageRep img
- The image you want to convert to another color space.
HxColorModel fromColorSpace
- The color space of the input image.
HxColorModel toColorSpace
- The color space you want to convert the input image to.
Return value
HxImageRep
- The result of converting the input image. The result is always of the type Vec3Double.
Description
The function HxColorSpace converts the input image to colormodel toColorSpace, assuming that the colormodel of the input image is fromColorSpace.
Remarks
- Valid input images
- All Vec3 images are valid as input for this function.
- Valid color models
- The valid color models are: RGB, HSI
See also
Keywords
Color, Conversion,
Generated on Mon Jan 27 15:44:58 2003 for GlobalFunctionGuide by
1.2.12 written by Dimitri van Heesch,
© 1997-2001