2016-03-21 05:15:06 -0600 | commented question | Matching two letters arabic? will https://en.wikipedia.org/wiki/Iterati... ICP algorithm work? if I ttreat these images as follows |
2016-03-21 04:46:55 -0600 | commented question | Matching two letters arabic? I have also tried RETR_EXTERNAL which giving me more than one contour but didn' t tried plain threshold() let me check if it helps. Do you know other statistical technique if i treat my image as a set of (x,y) points Thanks |
2016-03-21 04:32:59 -0600 | asked a question | Matching two letters arabic? Hello, My requirement is to match a computer generated image and scanned image of same letter so images are almost similar but not a perfect match of pixel to pixel. like this: 1: 2: If you zoom these images you will notice the difference in pixels. I want approximate match of them. So first i am trying to match two arabic shapes, I have implemented this approach. 1: Reading two images as below: 2: Applying Canny operator to fetch outline for both shapes which result like this.
3: now i want to do matching of both shapes i have tried matchShapes() and Hausdorff distance functions using contours but problem is findContours() giving me more than one contour. I am planning two fit bezier curves to outlined images (by treating all black pixel as (x,y)). Can someone suggest me how to get approximate matching of images? |