The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Motion detector
Replies: 1   Last Post: Nov 17, 2010 7:38 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 49
Registered: 8/4/08
Re: Motion detector
Posted: Nov 17, 2010 7:38 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Nov 17, 12:41 pm, "Vlad " <> wrote:
>           Hy! I have a homework in matlab to detect movement and save the images that contains the movement to hard drive(when there is any movement).Can any one help me with some information ..about how to save an image to hard drive while live streaming si running? I am thinking about something like this : when movement is detected:  picture=getsnapshot(obj) and then i have to save the 'picture'  ..but i don't know how.. And about the movement function..i found few exemples but any help would make me greatful..

Sounds like a fairly difficult piece of homework!

Don't know the specifics of saving the image, but I would venture that
that is the least of your problems.. Detection would be the hardest
part. I would guess a place to start is to compare a current picture
with the preceding one, each time you have a new frame and define a
threshold for similarity. If there is a difference above this
threshold, there is movement. But there would be many things that
could change the picture, but not necessarily be movement (light
changes, noise on the recording, etc.). I think this is a big job!

Good luck.


Date Subject Author
Read Motion detector
Read Re: Motion detector

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.