图像亚像素配准的乐队我要分享

Image sub pixel registration band

matlab 图像 像素 乐队

关注次数: 285

下载次数: 0

文件大小: 2.19 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:应用背景在一个和第二部分的图像(二维刚性平移)寄存器由用户指定的像素%。而一零填充FFT计算%(快速傅里叶变换),此代码使用选择性采样的%矩阵乘以DFT(离散FT)极大地减少了计算时间和内存不牺牲精度。用这个程序所有的图像点都是用来%计算绕其峰一个很小的邻域采用互相关。这%的算法称为单步DFT算法。%曼努埃尔sicairos %归,塞缪尔·T·瑟曼,和杰姆斯R. Fienup,关键技术 ;代码接收参考FFT和移位的图像,和一个%(整数)采样的因素。代码期待与DC在FFT(1,1)所以不使用% fftshift。%%  ; ; ;输出= dftregistration(fft2(F),fft2(G),usfac);%%的注册图像的一个像素在1 / usfac。%%(1)输出的均方根误差(NRMSE)[ 1 ]之间的F%%%的输出(2)是全球相位差的图像(应该是)%如果图像是真实值和非负的话。%%的输出(3)和输出(4)分别为。%%  ; ; ;[格雷戈] =输出dftregistration(fft2(F),fft2(G),usfac);%%格雷戈是一个可选的输出,它返回的傅立叶变换的注册版本的克,%的全球相位差[输出(2)]也被补偿。


English Description:

Application backgroundRegisters two images (2-D rigid translation) within a  fraction % of a pixel specified by the user. Instead of computing a zero-padded FFT % (fast Fourier transform), this code uses selective upsampling by a % matrix-multiply DFT (discrete FT) to dramatically reduce computation time and memory % without sacrificing accuracy. With this procedure all the image points are used to % compute the upsampled cross-correlation in a very small neighborhood around its peak. This % algorithm is referred to as the single-step DFT algorithm. % % by Manuel Guizar-Sicairos, Samuel T. Thurman, and James R. Fienup, Key Technology The code receives the FFT of the reference and the shifted images, and an % (integer) upsampling factor. The code expects FFTs with DC in (1,1) so do not use % fftshift. % %    output = dftregistra


代码预览