00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00040 #ifndef emdata__transform_h__
00041 #define emdata__transform_h__
00042
00043 public:
00044
00050 EMData *do_fft() const;
00051
00052
00053 #ifdef EMAN2_USING_CUDA
00054
00060 EMData *do_fft_cuda();
00061
00068 EMData *do_fft_inplace_cuda();
00069
00076 EMData *do_ift_cuda();
00077
00084 EMData *do_ift_inplace_cuda();
00085 #endif //EMAN2_USING_CUDA
00086
00087
00088
00092 EMData* do_fft_inplace();
00093
00094
00103 EMData *do_ift();
00104
00105
00106
00107
00108
00109 EMData* do_ift_inplace();
00110
00111
00130 std::string render_amp8(int x, int y, int xsize, int ysize,
00131 int bpl, float scale, int min_gray, int max_gray,
00132 float min_render, float max_render,float gamma,int flags);
00133
00152 std::string render_ap24(int x, int y, int xsize, int ysize,
00153 int bpl, float scale, int min_gray, int max_gray,
00154 float min_render, float max_render,float gamma,int flags);
00155
00171 void render_amp24(int x, int y, int xsize, int ysize,
00172 int bpl, float scale, int min_gray, int max_gray,
00173 float min_render, float max_render,
00174 void *ref, void cmap(void *, int coord, unsigned char *tri));
00175
00176
00179 void ri2ap();
00180
00183 void ap2ri();
00184
00188 void ri2inten();
00189
00197 EMData* bispecRotTransInvN(int N, int NK);
00198
00199
00200
00206 EMData* bispecRotTransInvDirect(int type=0);
00207
00208
00215 void insert_clip(const EMData * const block, const IntPoint & origin);
00216
00217
00231 void insert_scaled_sum(EMData *block, const FloatPoint & center,
00232 float scale=1.0, float mult_factor=1.0);
00233
00234
00235
00236 #endif //emdata__transform_h__