LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

preserve the roi in the image and save

Hello..

 

I´m using Labview with development vision

 

I want draw a line and draw somethings (ROI) in a image and preserve this in the image for save it and continue editing.

 

How can i do that?

 

Thanks.

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

You can use read and write with image info on your png files (if you make an overlay out of your ROI it should work).  This might not include the roi, but you can add your own keys to be saved as meta data using the imaq read and write custom data functions.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(3,373 Views)

I did not understand the task completely.

I see two options:

1) User wants to draw different shapes on an image with ROI tools

On "Save current ROI" command (your interface button) use Overlay functions to add the shape to a list of image overlays. they will be stored until Clear overlay function

 

2) You have an image with multiple overlays, and want to save it (as jpeg) - the resulting file does not show overlayed shapes.

"Imaq merge overlay" will make an overlay (line, circle, etc) the part of an image, and you will not be able to remove it by clear overlay.

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

I think you would want to utilize in this order:

 

1) IMAQ Overlay ROI (to make your ROI an overlay)

2) IMAQ Merge Overlay (as the last poster said) to make your overlay a permanent part of the image.

 

For IMAQ Vision questions, it is best to post in the Machine Vision forum.

 

 

Don

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