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.

VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

RGB line profile in lab windows CVI

Hi
Has anybody seen an example in labwindows CVI that shows how to compute line profiles in an RGB image?.
I need to compute an overal profile from an RGB image,
regardless of the color information.
ANy suggestion is welcome.
Thanks!,

JHH
0 Kudos
Message 1 of 2
(5,902 Views)
JHH-
Just FYI...posting this question in the Vision forum would probably get you more responses.
I haven't found a ready made example program for CVI to do this (although there is one for LabVIEW), but it shouldn't be too difficult.
Try using the imaqGetLine function - it will return a line of color pixel values, and then you can perform use the imaqColorHistogram,etc on that.

Hope this helps-
Julie
0 Kudos
Message 2 of 2
(5,902 Views)