Index

Correlation
About
Binary Phase
Only Filter
Matched Spatial
Filter
Bibliography
Optics
Physics
AccessGrid Node
Arts & Sciences
A & M University
Alabama A & M University Logo

The Alabama A & M University
Department of Physics
Optics and Information Processing

Optical Correlation Tools Octave/Matlab version

This version of the Optical Correlation Tools is almost identical to the MatLab implementation. The MatLab version requires the Image Processing routines, and makes some different assumptions about the image intensity scale (MatLab uint8 [0-255], Octave [0-63]). Since octave does not implement some functions such as modulus and 2-D convolution, I have added these modules as well. ifftshift is the reverse operation of the Octave fftshift operation. These operations are required for "Optical Convolution" and are used as part of the conv2 routine. conv2 may also be needed for MatLab without the Image Processing libraries.

Since Octave lacks image import and export capabilities, I have added a java class (pict2oct) to extract the RGB channels from gif and jpeg formats, and save them as an octave ascii data file. pict2oct can clip out a subimage, and can use three grayscale images to extract three input channels. This will not help you if you have MatLab w/o IP libs. To export the Octave image as a jpeg (given the licensing issues I don't think I'll offer a gif encoder) use oct2jpeg. oct2jpeg also requires octarr.class and the JpegEncoder from obrador. oct2jpeg allows the image quality to be adjusted (default is 100: no compression, best quality). More info about the java classes can be found in the javadoc folder.

Enjoy...

NameLast ModifiedSize
Parent DirectoryNovember 14 2003 11:57:17-
binarize.mJuly 25 2000 13:41:58860 B
conv2.mJuly 25 2000 13:42:261.001 kB
ifftshift.mJuly 25 2000 13:44:411.786 kB
isa.mJuly 25 2000 13:45:39214 B
javadoc/April 08 1999 14:03:42-
magsqu.mJuly 25 2000 13:46:07187 B
mod.mJuly 25 2000 13:47:19156 B
msf.mJuly 25 2000 13:47:46201 B
oct2jpeg.classJuly 19 2000 12:40:372.721 kB
octarr.classJuly 19 2000 12:40:372.635 kB
optcorr.mJuly 25 2000 13:48:19625 B
pict2oct.classJuly 19 2000 12:40:374.989 kB