简体   繁体   中英

Edge points sampling in shape context

I'm recently preparing to use shape context and SVM to do character recognition. The histograms in shape context are considered as feature vectors of characters. However, after edge detection, how to sample the edge points of two characters' edges that may have different points totally? Sampling randomly seems not good.

Shape context uses a fixed number of points for every shape it analyses, so you have to filter your edge detection results and drop unnecessary points.

If the edge detection does not give you enough points you should consider lowering your number of points used for the shape context in total. But there should also be a fallback which interpolates points if needed. Linear interpolation is good enough for a fallback.

The points used should be more or less evenly distributed along the edge of the shape. If the points come in large clusters shape context will not work at all (there are problems with the normalization of the radial distances required by the scale invariance too)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM