binary image subtration

1 view (last 30 days)
Amit Vaswani
Amit Vaswani on 17 Feb 2012
Edited: Cedric on 15 Oct 2013
i am trying to subtract two binary images (two signatures of same person) i tried using imsubtract(), xor(), bitxor() all are giving me a image with black background and white signature. plz help
  3 Comments
Amit Vaswani
Amit Vaswani on 17 Feb 2012
picture A binary image of a signature (in database)
picture B binary image of same person's signature.
result should complete black image or few white dots.
Walter Roberson
Walter Roberson on 17 Feb 2012
Consider pixel by pixel. You have black in first, white in second, and you want out what? You have black in first and black in second pixel and you want out what? And so on. Four input combination, 4 outputs. If you can create that pixel-by-pixel "subtraction" table, then we can tell you what the formula would be.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 17 Feb 2012
That will be an unsuccessful method to compare signatures, if that's what you're trying to do. You'd be better off seeing what kind of methods other people have used successfully here: http://iris.usc.edu/Vision-Notes/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Character%20Recognition%20Systems
  2 Comments
Amit Vaswani
Amit Vaswani on 17 Feb 2012
thanks for reply. :)
i am new to matlab,can you suggest me a easy offline signature recognition method.
Image Analyst
Image Analyst on 18 Feb 2012
I think I did that already. Did you see the link I gave? I personally haven't tried all of those dozens of algorithms so other than pointing you to them I have nothing else to suggest or recommend.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!