필터 지우기
필터 지우기

How to get bilateral symmetry axis?

조회 수: 1 (최근 30일)
Diah
Diah 2012년 12월 3일
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?

답변 (1개)

Matt J
Matt J 2012년 12월 12일
편집: Matt J 2012년 12월 12일
Maybe as follows.
fa=@(X) norm(X(:) - reshape(flipud(X),[],1) );
fb=@(theta) fa(imrotate(TheROI,-theta));
AngleOfAxis = fminsearch(fb,0)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by