From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(4,638 Views)

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

 

Andrey.

 

0 Kudos
Message 2 of 6
(4,628 Views)
Can you attach an VI example of this??
0 Kudos
Message 3 of 6
(4,434 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
(4,426 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
(4,409 Views)

I Have solved!!

Thank You!!

0 Kudos
Message 6 of 6
(4,361 Views)