rgb2hsv
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Convert a 3-plane RGB image into HSV
Arguments and Return Values
Usage Syntax: rgb2hsv(object = VAL, maxval = VAL) The rgb2hsv() function converts a 3-band RGB image of any type into a 3-band HSV image with values ranging from 0-1 for H and S channels. If maxval is specified, it is taken to be the maximum intensity value or V. If no value is specified for maxval, its value is determined from the input type, so V may encompass a larger range than 0-1. HSV values range from 0.0 to 1.0, so the return value has a type of FLOAT, unless maxval is not specified or the input type is not byte, where V may be a larger range than 0-1.
Examples dv> rgb_pic1 400x300x3 array of byte, bip format [360,000 bytes] dv> hsv_pic1 = rgb2hsv(rgb_pic1) 400x300x3 array of float, bip format [1,440,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 09-22-2010 |