ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ROI in Motion Detection

Hi all!!

It's possible apply a ROI function on the motion detection alg (http://decibel.ni.com/content/docs/DOC-4717) to detecting movement ONLY in a specified area?? Thank You very mutch!

0 Kudos
Message 1 of 6
(5,368 Views)

Sure. Just use IMAQ ROItoMask and then IMAQ Mask before (or after) calculation of Absolute Difference.

 

Andrey.

 

0 Kudos
Message 2 of 6
(5,358 Views)
Can you attach an VI example of this??
0 Kudos
Message 3 of 6
(5,164 Views)

redmercury wrote:
Can you attach an VI example of this??

Something like that:

 

i8.png

 

 

result (take a note that my camera deliver RGB image, so the original example is slightly modified):

 

i7.png

 

VI in attachment.

 

Andrey.

 

Message 4 of 6
(5,156 Views)

Thanks a lot but i have a version 8.5 of lab and i can't open your file 😞

I can try to apply the IMAQ mask on my Vi but the recognize system not work only in a specific area...

I attach here my modiefied version of Motion dection (my version can register on avi file), can you modify my version to apply roi?? i'm desperate!! 😞

Thanks a lot for you time!

Bye

0 Kudos
Message 5 of 6
(5,139 Views)

I Have solved!!

Thank You!!

0 Kudos
Message 6 of 6
(5,091 Views)