Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

image control

Solved!
Go to solution
Hi, I need to input a image(JPEG) to my front panel. I would use image control nodes to control the brightness of the images. However, I can't input the image directly. Any inputs appreciated.
0 Kudos
Message 1 of 16
(5,260 Views)
Can you explain a bit more clearly of what you mean by "input the image directly". You can use an "imaq read vi" to read the image.
0 Kudos
Message 2 of 16
(5,259 Views)

Hi,

Basically, I need to insert a JPEG image on the front panel. I will use the data from the JPEG image and process it such that the new data is going to change the brightness of the new image file.

i found how to import a JPEG image. see below. Now I need to process the new picture data to modify the brightness and contrast. Any inputs?

Thanks. 

 

Message 3 of 16
(5,258 Views)

You can vary the pixel valu like this. I will post a more precise way in the next one.

 

 

0 Kudos
Message 4 of 16
(5,249 Views)

This example shows how you can manipulate each color map independently. You can use this frame work to do more advanced image manipulation.

RGB CMY Color Editor for Jpeg

 

-Hunter

 

0 Kudos
Message 5 of 16
(5,212 Views)

I've used Vision functions to modify a colour image. If you want to extract info from the image in order to set BCG for each colour then it is pretty straightforward with other vision tools. A mono image is obviously easier to work with.

 

Simon

0 Kudos
Message 6 of 16
(5,197 Views)

Apologies - I attached an image rather than the vi. Here is the vi.

Simon

0 Kudos
Message 7 of 16
(5,183 Views)
I feel the op doesnot have vdm installed. using read jpeg instead of imaq read lead me to think so.
0 Kudos
Message 8 of 16
(5,181 Views)

I suspect you're right. I just wanted to highlight the possibility of using vision commands as this tends to make life a bit easier.

 

0 Kudos
Message 9 of 16
(5,178 Views)
Yes lightWorker is right and using VDM will simplify the proceedings to a great extent
0 Kudos
Message 10 of 16
(5,176 Views)