LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Segment region of image

Hello all,

I am using labview 7.1 and windows xp.  I currently have a vi that takes a screen capture of my front panel.  In the front panel there are different images.  I would like to be able to segment the same region, for further processing, of the front panel and save this image as a jpeg.  I tried a search in this forum and in the "find examples," but came up empty handed.  Can labview do this sort of thing, or do I need to buy some vision or image software?

Thanks,

Azazal
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 1 of 3
(2,598 Views)
Labview has picture VIs (unless you're using the base package). They can be found in the Graphics & Sound palette.
 
Another option would be to get the image of the control directly by using the Get Image method. You will be able to handle the data in LV, because it's just an array of number, but I'm not sure how you will be able to save it if you don't have the picture VIs. You can try looking for some DLLs or buy a better version of LV. Another option would be to see if you can manipulate the data and use the File I\O VIs to save it as a BMP, which should be a simpler format.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,592 Views)
Thanks for the response, I found the image palette and there were several functions that allowed me to take regions of interest from either a jpg or bitmap.

Azazal
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 3 of 3
(2,586 Views)