文件名称:PolarToIm
介绍说明--下载内容均来自于网络,请自行研究使用
这里使用了双线性插值来处理极坐标转换到直角坐标下时,点不对称的问题,不过最后生成的图有一点问题,本来应该是一圈一圈的圆环,但是转化后的只有部分圆环了
rMin = 0.1 rMax =0.9
im2 = imread( ivus.bmp )
figure(4) imshow(im2)
imR2 = PolarToIm(im2, rMin, rMax, 300, 300)
figure(5) imshow(imR2, [0 255])
然后直接调用附件的function就可以了。
可否请各位大大修正一下这个程序,或者更简便的算法!~ 谢谢了!-There is a reference function code, use bilinear interpolation to convert polar coordinates to Cartesian coordinates, point asymmetric, but the final plans generated it was supposed to be a circle ring, but the conversion is only partially annular RMIN = 0.1 RMAX = 0.9 IM2 = imread (the ivus.bmp ) Figure (4) the imshow (IM2) IMR2 = PolarToIm (IM2, Rmin, RMAX, 300, 300) figure (5) the imshow (imR2 [0 255]) then directly call the annex to function on it. Can I please greatly amend this program, or more simple algorithm! ~ Thank you!
rMin = 0.1 rMax =0.9
im2 = imread( ivus.bmp )
figure(4) imshow(im2)
imR2 = PolarToIm(im2, rMin, rMax, 300, 300)
figure(5) imshow(imR2, [0 255])
然后直接调用附件的function就可以了。
可否请各位大大修正一下这个程序,或者更简便的算法!~ 谢谢了!-There is a reference function code, use bilinear interpolation to convert polar coordinates to Cartesian coordinates, point asymmetric, but the final plans generated it was supposed to be a circle ring, but the conversion is only partially annular RMIN = 0.1 RMAX = 0.9 IM2 = imread (the ivus.bmp ) Figure (4) the imshow (IM2) IMR2 = PolarToIm (IM2, Rmin, RMAX, 300, 300) figure (5) the imshow (imR2 [0 255]) then directly call the annex to function on it. Can I please greatly amend this program, or more simple algorithm! ~ Thank you!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PolarToIm.m