Open a target image the same dimensions as your source.
Scan the source looking for "5". Wherever you find one, draw
one in the target image. Repeat with "0".
By "looking for 5" I mean look for a rectangle in which every
black pixel of a small image of the "5" is matched by a black
pixel in the source.
Glenn
How to remove lines from an image? Will pay for help.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Glenn, that sounds like a very difficult method, though probably not imposible.
I mean 'fingerprinting' software does this sort of matching all the time by first finding 'key points, matching those up for rotations scales etc, then sees how well the rest of the image matches.
Do you have any references?
My problem is I want to reduce some 'cartoon' like images to line drawings using edge detection, then try to find other images that has simular line drawings. perhaps with
some rescaling and displacement.
EG: was this cartoon used as part of another image?
I mean 'fingerprinting' software does this sort of matching all the time by first finding 'key points, matching those up for rotations scales etc, then sees how well the rest of the image matches.
Do you have any references?
My problem is I want to reduce some 'cartoon' like images to line drawings using edge detection, then try to find other images that has simular line drawings. perhaps with
some rescaling and displacement.
EG: was this cartoon used as part of another image?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/