How to convert color values based on RGB into HSV?

Updated May 4, 2023

Environment

Software

  • LabVIEW 2015
  • LabVIEW 2016
  • LabVIEW 2017
  • LabVIEW 2018
  • Vision Development Module

I want to convert to RGB to HSV. How can I do it with LabVIEW?

You can do it if you install the NI Vision Development Module.
NI Vision Development Module (VDM) is designed to help you develop machine vision applications and support lots of Vision Utilities including color conversion.
After installing VDM, you can find IMAQ RGBToColor 2 VI in Function pallet.
The path is Vision and Motion»Vision Utilities»Color Utilities»IMAQ RGBToColor 2 VI.
 

IMAQ RGBToColor 2 VI converts an RGB color value into another format. Therefore, you can control many types of color format like RGB, HSL, HSV and so on.