Description: this a simple function for convert into Cartesian to polar coordinates and adding two functions-this is a simple function for convert into Cartesian to polar coordinates and adding two functions Platform: |
Size: 65536 |
Author:peer |
Hits:
Description: 这里使用了双线性插值来处理极坐标转换到直角坐标下时,点不对称的问题,不过最后生成的图有一点问题,本来应该是一圈一圈的圆环,但是转化后的只有部分圆环了
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! Platform: |
Size: 1024 |
Author:Eric Lau |
Hits:
Description: 将图像从笛卡尔坐标系上转换到对数极坐标上,这样做便于将笛卡尔坐标系上存在缩放和旋转关系的图像转换成对数极坐标下的具有平移关系的图像,然后就可以用相位相关检测算法进行相关检测,得到两幅图像的相关性-Convert an image Cartesian to polar coordinates on a logarithmic, this facilitates the translation relations image with the next image conversion to a logarithmic scale and rotate relationship exists between the Cartesian coordinates polar coordinates, then you can use phase correlation detection algorithm for correlation detection, the correlation between two images obtained Platform: |
Size: 27648 |
Author:张晓雅 |
Hits: