I am looking for a minimum example to plot the magnitude and phase of the popular lena image in pytorch. Essentially, I want to replicate this (the mag and phase plots) from matlab:
  

      stackoverflow.com
  

  
      
    
  


  How to plot a 2D FFT in Matlab? 4



  matlab, image-processing, plot, fft



  asked by
  
  
    Yoav
  
  on 07:35AM - 25 Nov 12 UTC


  

  
    
    
  

  


is there a minimum example somewhere I can borrow for this?