logo       

converting grey-scale img => mask: msg#00672

lib.opencv

Subject: converting grey-scale img => mask

Hi,

Apologies if this is a stupid question - I'm new to OpenCv. I am
trying to detect movement in an image as a pre-cursor to other
analysis and so far have the following steps:

1. Subtract prev frame from current frame to give me an image composed
of pixels that have changed between the two frames.
2. Converted this to HSV and extracted the value channel - the
brightness of this channel gives an indication of the level of
movement.
3. Now I want to convert the val image to a mask (preferably with a
threshold!) and apply this to my original image.

Any help with step 3 would be appreciated!

Many thanks,
Chris Hutchins





Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing
OpenCV-unsubscribe@xxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise