ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

RGB value range

Hi,

    In this attached vi, i am using k-mean clustering to determine the dominant color of an input image by combining the values of R,G and B.

In this i could able to find the centroid of the R,G and B values,but how to determine the range(distance) of R,G and B values.

 

Thank you

Download All
0 Kudos
Message 1 of 2
(3,882 Views)

Use the extract color planes VI to create 8-Bit greyscale images of the RGB planes.  Then either use the histogram vi, or convert the images to arrays, and use the array min max vi to get your range values.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 2
(3,804 Views)