Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you create an RGB color display using vision tools?

Solved!
Go to solution

I would like to be able to move sliders and produce a change in pixel brightness on the display screen.  One slider (U8) for R, One for Green, One for Blue.  Combining these into a 32 bit RGB set of data I understand.  I can even "Create an image" that uses 32 bit RGB as the format.  BUT, there doesn't seem to be an IMAQ Display function for showing it on a screen.

 

Thoughts anyone?

 

Thanks

 

Hummer 1

 

0 Kudos
Message 1 of 4
(3,448 Views)

I realize that I didn't make this clear enough.  I want to set the RGB values for each pixel on the screen to be the same value as the slider.  This is to produce a controllable "flat screen" image for testing.

 

Thanks

 

Hummer 1

0 Kudos
Message 2 of 4
(3,446 Views)
Solution
Accepted by topic author Hummer1

Use Image Fill (icon has picture of the classic paint bucket being poured) to set all the pixels of an image to the same color.  Before that, use create image and set image size for setup.

 

If you don't want to use an image display, you could always use a blank vi or a large blank boolean control (classic palette works best) and set their color using property nodes.

 

Bruce

Bruce Ammons
Ammons Engineering
Message 3 of 4
(3,442 Views)

Thanks for a quick easy solution...

Hummer 1

0 Kudos
Message 4 of 4
(3,425 Views)