예제 #1
0
 public void Dispose()
 {
     FFTW.fftw_free(ref this._in);
     FFTW.fftw_free(ref this._out);
     FFTW.fftw_destroy_plan(ref this._planForwards);
     FFTW.fftw_destroy_plan(ref this._planBackwards);
 }
예제 #2
0
 public static TwoWayPlan GetInstance(int width, int height)
 {
     return(FFTW.GetTwoWayPlan(width, height));
 }
예제 #3
0
 public static ComplexPlan GetInstance(int width, int height, bool forward = true)
 {
     return(FFTW.fftw_plan_dft_2d(width, height, forward));
 }
예제 #4
0
 public static Real2ComplexPlan GetInstance(int width, int height)
 {
     return(FFTW.fftw_plan_dft_r2c_2d(width, height));
 }