Effacer les filtres
Effacer les filtres

How to get bilateral symmetry axis?

1 vue (au cours des 30 derniers jours)
Diah
Diah le 3 Déc 2012
I have an image, and I have extracted the region of interest (ROI). This ROI have bilateral symmetry shape. How can I get the bilateral symmetry axis for it?

Réponses (1)

Matt J
Matt J le 12 Déc 2012
Modifié(e) : Matt J le 12 Déc 2012
Maybe as follows.
fa=@(X) norm(X(:) - reshape(flipud(X),[],1) );
fb=@(theta) fa(imrotate(TheROI,-theta));
AngleOfAxis = fminsearch(fb,0)

Catégories

En savoir plus sur Read, Write, and Modify Image 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