From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a hsv image

Hi,

 

I am going to create a HSV image based on my data (H, S, V are all available). However I find that in Imaq creat VI, there is no HSV image, so how should I creat a hsv image?

 

I know that one way is to creat a RGB image and convert my HSV data to RGB data,  however this will make my image process difficult, since I need to use some image process VIs that directly using HSV.

 

Thank you

 

Miao

0 Kudos
Message 1 of 3
(3,277 Views)

I don't think you can create an HSV image.  You create an RGB image and then extract the H, S, and V planes as desired.

0 Kudos
Message 2 of 3
(3,268 Views)

if you want to use rgb images in hsv color space, just load them as hsv; IMAQ Create -> Image Type -> HSL (U32)

 

Felix 

0 Kudos
Message 3 of 3
(3,227 Views)