Makemask - external program for mask making
Description of Patch
I wrote this program to take multiple images, looks for areas of change, then create a mask file that masks off those areas. So similar to smartmask, but more flexible in that you can manually decide what things you want to exclude. I'd say it is halfway between smartmask and a hand drawn mask.
Works well for occasional events - sudden gusts of wind on a generally calm day, cars going by, etc. Smart mask does not handle these rare events. A hand drawn mask may block out too much of the area.
Installation of Patch
Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called filename_of_patch_file.diff)
patch < filename_of_patch_file.diff
Then re-build Motion and test the patch.
Change History of Patch
External program to create a mask file from multiple images and the changes seen in them.
A couple of notes. This program requires the library from here:
When you use gimp to convert to a PGM file, it's probably a good idea to apply the erode filter to expand the noise areas a little.
- 11 Apr 2013