Removing an object from an image using ImageMagick
Removing an object from an image using ImageMagick
Hi, I have a collection of images with embedded Kodak Color Control patches. http://www.flickr.com/photos/92759244@N00/4947944378/ is a sample. I would like to remove the Kodak Color Control patch from this image and replace it with black pixels. Does anybody know a way of achieving this using ImageMagick? One of the problems about this is that the control patch can appear anywhere in the image-sometimes on the left, other times on the right or above or below the page. Also, the orientation of the control patch can also vary-sometimes it is orientated horizontally, other times vertically. S
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Removing an object from an image using ImageMagick
I don't think IM can do this, though it has the compare function that will allow you to find a small image inside a larger one. But it is not rotational or scale invariant.
Try searching google for rotational invariant image matching.
Try searching google for rotational invariant image matching.