//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TImage *Image1; TImage *Image2; TOpenDialog *OpenDialog1; TSaveDialog *SaveDialog1; TButton *Wczytaj; TButton *PoliczFFT; TButton *Zamknij; TLabel *Label1; void __fastcall WczytajClick(TObject *Sender); void __fastcall ZamknijClick(TObject *Sender); void __fastcall PoliczFFTClick(TObject *Sender); private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); matrix* __fastcall MatrixFromDib(Graphics::TBitmap *bmp); void __fastcall Fft2(double data[], int nx, int ny, int isign); void __fastcall FillDibWithMatrix(Graphics::TBitmap* Dib,int DispMode,double gain,matrix* M); HPALETTE __fastcall GrayPalette(); void __fastcall SortMatrix(matrix* Matrix); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif