


[k1, k2, k3] = separableFilters(sampPerDeg, dimension)
Create the pattern-color separable filters according to
the Poirson & Wandell 1993 fitted spatial response. The filters
are each weighted sum of 2 or 3 gaussians.
sampPerDeg -- filter resolution in samples per degree of visual angle.
dimension -- specifies whether the created filters should be 1-D or 2-D.
dimension = 1: generate the linespread of the filters;
This is useful for 1-d image calculations, say for theoretical
work.
dimension = 2: generate the pointspread of the filters;
This is useful if you just want to create an image of the filters
dimension = 3: generate the pointspread in the form that can be used by
separableConv. The result is a set of 1-d filters that can be applied
to the rows and cols of the image (separably).
Functions called: sumGauss.
Xuemei Zhang 1/28/96
Last Modified 2/29/95