Ask Your Question
1

Shape Context Distance Extractor - Parameters

asked 2017-05-24 07:27:06 -0600

Christian_H gravatar image

updated 2017-05-24 07:28:46 -0600

I´m trying to find an appropriate parameter set for a tricky shape matching taks, using the ShapeContextDistanceExtractor. The documentation is not very detailed, I couldn´t figure out the exact definition/meaning of the following parameters of the descriptor:

InnerRadius (ShapeContextDistanceExtractor::setInnerRadius(float innerRadius)

OuterRadius (ShapeContextDistanceExtractor::setOuterRadius(float outerRadius)

Which parameter are these values related to, resp. which unit?

Hope that anybody is familiar with it, thanks!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-05-24 08:10:40 -0600

LBerger gravatar image

I'm not a specialist of shape context extractor but reading source code I found this :

    double logmin=log10(innerRadius);
    double logmax=log10(outerRadius);
    double delta=(logmax-logmin)/(nRadialBins-1);
    double accdelta=0;

I think you can find some explanation in 3.1 Shape Context of paper: Shape Matching and Object Recognition Using Shape Contexts Serge Belongie, Jitendra Malik, Jan Puzicha IEEE PAMI, 24, 24, 2002

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-05-24 07:27:06 -0600

Seen: 652 times

Last updated: May 24 '17