test_shape.cpp | 205 Ptr <ShapeContextDistanceExtractor> mysc; member in class:computeShapeDistance_Chi 213 mysc = createShapeContextDistanceExtractor(angularBins, radialBins, minRad, maxRad); 214 mysc->setIterations(1); 215 mysc->setCostExtractor(createChiHistogramCostExtractor(30,0.15f)); 216 mysc->setTransformAlgorithm( createThinPlateSplineShapeTransformer() ); 221 return std::min(mysc->computeDistance(query1, testq), 222 std::min(mysc->computeDistance(query2, testq), 223 mysc->computeDistance(query3, testq))); 242 Ptr <ShapeContextDistanceExtractor> mysc; member in class:computeShapeDistance_EMD 250 mysc = createShapeContextDistanceExtractor(angularBins, radialBins, minRad, maxRad) [all...] |