Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to select a Dynamic Region of Interest??

Dear,

i am using four IMAQ straight  edge detector VI to detect first edge in each direction i.e from ,left to right,right to left ,top to bottom and finally bottom to top.i want to use these edges as an input ROI (rectangle region of interest )for CLAMP VI.As i am working on live video feed,my ROI will be changing after each frame.I cant set ROI constant or user controlled rather dynamically changing with the location of edges detected. Please help me out that how can i covert these lines into the ROI rectangle that is acceptable for CLAMP input.

i amusing labview 8.2.

  

Thanking in advance 

 

Shoaib 

0 Kudos
Message 1 of 3
(3,971 Views)
I feel it will not work because the four straight edges combined you use will not neccasarily return a recangle. Instead you can use a clamp directly right? If there are any unwanted info then you can use a threshold remove border objects (For eg) and apply the clamp on binary image as well.  
0 Kudos
Message 2 of 3
(3,950 Views)
check this too
0 Kudos
Message 3 of 3
(3,948 Views)