log-polar mapping conversion

조회 수: 20 (최근 30일)
amitesh kumar
amitesh kumar 2011년 1월 20일
I want to change 512*512 pixel gray image into log-polar format. What is the exact procedure to convert it. I tried this with the following command..
function imP = ImToPolar (imR, rMin, rMax, M, N)
but here its showing error as
imP = ImToPolar(im, 0.6, 1, 40, 200);
??? Undefined function or method 'ImToPolar' for input arguments of type 'double'.
  댓글 수: 1
Walter Roberson
Walter Roberson 2011년 1월 20일
This is an ongoing discussion in the newsgroup that is not capable of effective resolution in this forum. The poster does have a ImToPolar.m file that is not class-based, but there are currently doubts that the poster has the file on the matlab path.

댓글을 달려면 로그인하십시오.

답변 (2개)

David Young
David Young 2011년 1월 20일
The poster is using ImToPolar from the file exchange, which does a polar transform. However, the text says that a log-polar transform is required, which is a different matter.
A log-polar transform is available as part of this file exchange submission:
http://www.mathworks.com/matlabcentral/fileexchange/27023
[Edited: original gave link to 27093, which incorporates 27023.]
The files logsample.m and logtform.m carry out the required operation, provided the Image Processing Toolbox is available.

Walter Roberson
Walter Roberson 2011년 1월 20일
Reported as resolved in cssm

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by