Effacer les filtres
Effacer les filtres

Clustering

2 vues (au cours des 30 derniers jours)
bes
bes le 30 Mai 2012
I have an image with lot of line segments. I have to find the lines which have nearly same theta and rho (theta -orientation rho -the shortest distance between the line segment and the origin - like as in Hough transform). I have to find the lines which have nearly same theta and rho. How Can I do that?
Is it possible to do this by clustering rho theta matrix (Nx2 matrix)? if so what is the best algorithm to cluster this? (I don't know the number of clusters or centroids). I have tried with kmeans but didnot get good results.

Réponses (1)

Elad
Elad le 30 Mai 2012
try imopen with strel('line',rho,theta)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by