Questions tagged [shape-context]

A feature descriptor used for measuring shape similarity in visual object recognition.

5 questions
6
votes
2 answers

Drawing shape context logpolar bins in MATLAB

I am using shape context histograms as a feature descriptor to encode silhouette images. To assist with debugging, I would like to view the shape context logpolar bins overlaid on a silhouette image (the sample points taken from the edge image). An…
3
votes
1 answer

cv2.createShapeContextDistanceExtractor always return 0.0

I want to compute a distance between two shapes using the Hausdorff distance or shape context distance measure with cv2. The shapes are simple white shapes on a black background. In order to find the distance between two shapes, I find contours of…
freddykrueger
  • 309
  • 4
  • 17
1
vote
1 answer

Shape Context Error by calculating distance of two different shapes

In short form, I want to compare different road markings by "shape context" matching. My first question you can see under: Matching shapes of road marking from OpenData I solved my first problem, but now it appears a new error. Here is my…
freddykrueger
  • 309
  • 4
  • 17
0
votes
0 answers

Matching shapes of road marking from OpenData

for now I work on the generation of road marking from OpenData. Because I'm a Newbie in programming I use Python. I process orthophotos and transform them to binary-photos (only black and white pixels). After that I get such a photo like this: The…
freddykrueger
  • 309
  • 4
  • 17
0
votes
1 answer

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…
Paler
  • 339
  • 4
  • 16