Reply by Jeff Winter March 21, 20072007-03-21
Hi Kalid,

Unless you know how to interpret the file format, you will need the Image
Processing Toolbox. This toolbox contains the following functions:
An Interfile data set consists of two files:

a.. Header file (filename.hdr) Provides information about dimensions,
identification and processing history. You use the interfileinfo function to
read the header information.

b.. Image file (filename.img) Image data, whose data type and ordering
are described by the header file. You use interfileread to read the image
data into the MATLAB workspace.
The following example calls the interfileinfo function to read the metadata
from the Interfile header file. The example then reads the image data from
the corresponding image file in the Interfile data set.

info = interfileinfo('myfile');
X = interfileread('myfile');You may want to consider contacting someone in
the Medical Imaging Group in the Medical Physics Department at University
College, London, UK (www.medphys.ucl.ac.uk).

The fft functions you should look at are fft, fft2 and fftn.
Regards,

Jeff

*****************************
Jeff Winter
Snr DSP Engineer
Aeroflex
www.aeroflex.com

-----Original Message-----
From: m... [mailto:m...]On Behalf Of
k...@surrey.ac.uk
Sent: 21 March 2007 11:21
To: m...
Subject: [matlab] Fast Fourier Transform
HI All,

Could you please let me know how I can calculate FFT to biary image?
The image is Interfile file, that is raw data, in short integer coded on 2
bytes.
The matric size is 128*128.

Please help me as I am not familiar with MatLab.

Khalid Alzimami
Department of Physics
School of Electronics & Physical Sciences
University of Surrey
Guildford,
Surrey,
GU2 7XH
UK
tel. +44-1483-682697
fax. +44-1483-682724
Reply by k.al...@surrey.ac.uk March 21, 20072007-03-21
HI All,

Could you please let me know how I can calculate FFT to biary image?
The image is Interfile file, that is raw data, in short integer coded on 2 bytes.
The matric size is 128*128.

Please help me as I am not familiar with MatLab.

Khalid Alzimami
Department of Physics
School of Electronics & Physical Sciences
University of Surrey
Guildford,
Surrey,
GU2 7XH
UK
tel. +44-1483-682697
fax. +44-1483-682724