LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write a LabView code that acquires a jpeg image

Hello,

 

i need help in doing the following on labview,

 

a. Decompose the picture into the RGB arrays and display each color (red, blue, and  green arrays)on separate graphs

b. Crop a 200pixels x 200pixels rectangle around the center of the image and display

 

can it be done ? 

 

Thank You 

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

A good place to start is to look at the Picture Functions in the Graphic & Sound palette.

 

Ben64

0 Kudos
Message 2 of 4
(3,024 Views)

i have tried but i had no luck in doing it :(, please tell me how and i would appreciate it so much. 

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

Hi chris696!

 

I suggest you to use NI Example Finder to look for sample code.

You can find this, in LabVIEW Help >> Find examples... menu.

 

Search for jpeg, and choose for exmaple ReadFileExample.vi from the reults.

 

Here are some hint regarding to the topic as well:

http://zone.ni.com/reference/en-XX/help/370281P-01/nivisionlvbasics/acquire_or_read_an_image/

 

BR,

CLA, CLED
0 Kudos
Message 4 of 4
(2,992 Views)