文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.