Filter löschen
Filter löschen

How to get bilateral symmetry axis?

1 Ansicht (letzte 30 Tage)
Diah
Diah am 3 Dez. 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?

Antworten (1)

Matt J
Matt J am 12 Dez. 2012
Bearbeitet: Matt J am 12 Dez. 2012
Maybe as follows.
fa=@(X) norm(X(:) - reshape(flipud(X),[],1) );
fb=@(theta) fa(imrotate(TheROI,-theta));
AngleOfAxis = fminsearch(fb,0)

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by