LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save the roi in the image

Solved!
Go to solution

Hello,

 

I want know how can i draw the line and the point selection and when i click in the button "save" the image preserve the line and the selection in the image and save it.

 

I can draw normally and I click save it saves perfectly, but when I click with the tool "Point" for the second time he brings me a message saying that the image format is invalid. But with the line tool I can draw and save again.

I wonder because it gives error and how can I make the selection tool to work.

 

I´m using development vision.

 

see the attachments.

 

Thanks.

0 Kudos
Message 1 of 3
(2,478 Views)
Solution
Accepted by topic author eliel

In the MergeOverlay VI there is an input for a source and a destination image.  You need to create a new image reference (RGB U32) to connect to the destination image.  Otherwise your original image is converted to an RGB image whether you want it to be or not.  The output of MergeOverlay is always RGB U32.  You then get an error when you are trying to use the IMAQ Magic Wand vi the second time (I'm guessing).

Randall Pursley
Message 2 of 3
(2,470 Views)

Thanks Very much...

0 Kudos
Message 3 of 3
(2,454 Views)