matlab的psf2otf
时间: 2023-10-16 18:06:40 浏览: 182
引用中提到了Matlab中psf2otf的源码。根据该源码,psf2otf函数的功能是将点扩散函数(PSF)转换为光学传递函数(OTF)。首先,该函数会将PSF进行填充,使其大小与输出尺寸相匹配。然后,通过循环移位操作,将PSF的中心移到数组的(1,1)位置。接下来,通过对PSF进行傅里叶变换,计算出OTF。在计算FFT的过程中,估计了参与计算的粗略操作数。最后,检查OTF的虚部,如果在舍入误差范围内,将其舍弃。如果PSF全为零,则输出一个全零的OTF。,在Matlab中,psf2otf函数用于光线追踪和计算PSF、OTF和MTF。此外,ZEMAX仿真系统也可以用来得到光传递情况和MTF。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Matlab psf2otf与fft2函数的关系](https://blog.csdn.net/bluecol/article/details/48288739)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [MTF.zip_mtf psf_psf matlab_psf求mtf matlab_zemax仿真_光线追迹 matlab](https://download.csdn.net/download/weixin_42664597/86193063)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文