I have a series of images of an object taken on a tripod. People kept moving in and out of the pictures. I would like to take this time series set of pictures and remove the differences.
The command "convert -average" almost does this but leaves "ghosts" of the objects that move in an out of the photo.
How can I preserve those parts of the photo that are constant, removing the changed parts
Retain unchanged parts of an image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Retain unchanged parts of an image
You could use compare to find the frame-to-frame difference or -compose difference. Then make those parts transparent and possibly fill the holes.
See
http://www.imagemagick.org/script/compare.php
http://www.imagemagick.org/Usage/compare/
http://www.imagemagick.org/Usage/compose/
http://im.snibgo.com
See
http://www.imagemagick.org/script/compare.php
http://www.imagemagick.org/Usage/compare/
http://www.imagemagick.org/Usage/compose/
http://im.snibgo.com