recon_one.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:jamespy_py3 作者: jskDr 项目源码 文件源码
def run_complex(self, Original):
        """
        diffract original image and recon.
        ALso, the results will be shown
        """
        Input = self.diffract_full(Original)
        Recon = self.reconstruct(Input)

        figure(figsize=(3 * 3 + 2, 3))
        subplot(1, 4, 1)
        imshow(Original, 'Greys_r')
        title('Original')
        subplot(1, 4, 2)
        imshow(np.abs(Input), 'Greys_r')
        title('|Diffraction|')
        subplot(1, 4, 3)
        imshow(np.angle(Input), 'Greys_r')
        title('Angle(Diffraction)')
        subplot(1, 4, 4)
        imshow(np.abs(Recon), 'Greys_r')
        title('Modulus: |Recon|')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号