Downloading and running the probability of boundary (PB) code
for an overview of the entire project.
The MATLAB functions of interest are under ``Detectors'':
and named pbCGTG (colour gradient, texture gradient), pbBGTG
(brightness gradient, texture gradient), etc. Download the entire
tarball of code (there are necessary bits in other directories).
For running this software using MATLAB 7, a couple of minor changes are necessary:
- In detCGTG.m (and det??TG.m), define a variable "tex = 5" somewhere before the "load(fname)" command. This is due to a new function in MATLAB 7 named "tex" which, combined with the JIT-compiler, causes problems when loading the variable tex from the file fname.
- In tgso.m, replace lines "im= tmap==i" with "im= double(tmap==i)", another MATLAB 7 incompatibility.