How to generate polar shape matrix ?

1 Ansicht (letzte 30 Tage)
pritesh bhimani
pritesh bhimani am 9 Feb. 2016
Kommentiert: Luju Patel am 10 Feb. 2016
hello friends,
I want to know how to generate a polar shape matrix from an binary object. Shape matrix can used for shape representation. The algorithm to create shape matrix are : " a shape is transforms into a matrix by polar quantization of the shape. Assuming O is center of gravity of the shape and OA with length L is the maximum radius of the shape, to obtain an m x n matrix representation of the shape, we divide OA into (n-1) equal distances and draw circles centering at O and radii L/(n-1), 2L/(n-1), ..., (n-1) L /(n-1). If the circles intersect the maximum radius of the shape (line OA) at i1,i2,..., in-1, then starting from i1, i2, ..., in-1 and counter-clockwise, we divide each circle into m equal arcs, each arc being theta = 360/m degrees. Then an m x n matrix - which called shape matrix.
I know the concept of polar shape matrix by theoretically, But I want how to implement it. I have complete the implementation up to finding the center point of binary image. the I have attach the figure which provides the concept of theory.
Someone please help me to implement further process. thanks in advance.

Antworten (1)

Walter Roberson
Walter Roberson am 9 Feb. 2016
  1 Kommentar
Luju Patel
Luju Patel am 10 Feb. 2016
I have a same question, how to draw polar plot on binary image?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by