LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove part of ROI selection (cut of two areas)

Solved!
Go to solution

Dear forum,

 

consider the following problem:

 

I load a picture into LabVIEW as an IMAQ (Vision Module). 

Now I select two regions of interest (ROIs A and B), which cover an overlapping regions of the picture.

 

Is it possible to have a selection that results from the cut of A with B?

(Set theoretically writing: A \ B)

 

Kind regards,

Jan

0 Kudos
Message 1 of 5
(2,836 Views)

Are your ROIs square, circle, or free hand?  Can you post an example?

 

Think you are asking for "not (A union B)"

http://www.purplemath.com/modules/venndiag2.htm

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 5
(2,814 Views)

Referring to the quoted website, I am looking for case 4) "A - B" or "A complement B".

 

To quote the site:

Everything in A  except for anything in its overlap with B.

0 Kudos
Message 3 of 5
(2,807 Views)

Can you do a fill (white or black) of area B then just grab A?  That would have all of A with the B portion filled in with a solid color?

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 4 of 5
(2,801 Views)
Solution
Accepted by labjan

A complement B

 

AcomplementB.png

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 5 of 5
(2,791 Views)