Ask Your Question

accqq's profile - activity

2016-09-11 02:48:42 -0600 commented question Shape matching using fourier descriptor - Frequency domain

Hi, I am currently doing a project of comparing pictures as well. Now, I could only take out the edge, then find the contours and draw them with colors. However, the edges are not connected, I heard that morphological operation can close the edge. Could you elaborate more on which operation should I use ? Thanks!

2016-07-30 02:12:44 -0600 commented answer Shape Distance Logic

Thanks a lot! I was using " cv::Ptr <cv::shapecontextdistanceextractor> mysc = cv::createShapeContextDistanceExtractor(); " to calculate the shape distance between the sample picture and the testing picture. Does it belong to the first one?

2016-07-24 07:31:06 -0600 asked a question Shape Distance Logic

I would like to ask the logic behind the shape distance provided in opencv 3.1 as I am confused by the results of using shape distance when comparing duplicated images.

I used the shape distance example as the starting point and tested the shape distance between copied bmp images (I just duplicated the bmp file of the sample image). The shape distance calculated is not stable and not equal to zero which makes me confused of the meaning of the magnitude of the calculated shape distance.

Therefore, I would like to ask for the logic behind the shape distance calculation. Thanks!