DOC PREVIEW
U of M PSY 5036W - Contrast Normalization Notes

This preview shows page 1-2-3 out of 10 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Computational VisionU. Minn. Psy 5036Daniel KerstenContrast normalization, 2nd order histogram analysis of filter outputsInitialize‡Spell check offIn[537]:=SetOptions@ArrayPlot, ColorFunction Ø "GrayTones", DataReversed Ø True,Frame Ø False, AspectRatio Ø Automatic, Mesh Ø False,PixelConstrained Ø True, ImageSize Ø SmallD;In[538]:=nbinfo = NotebookInformation@EvaluationNotebook@DD;dir =H"FileName" ê. nbinfo ê. FrontEnd`FileName@d_List, nam_, ___D ßToFileName@dDL;In[539]:=Off@General::spell1D;Adaptive spatial filters & V1 cells‡Simultaneous contrastA classic brightness illusion demonstrates what we might expect of a spatial filter that adapts its response to the response of its neighbors. The circle on the left appears to be darker than the circle on the right; however, the intensity is the same for both (ming). One way to explain this is that the response of a single unit that signals intensity gets divided by a measure of the magnitude of the responses of neighboring units that also signal intensity.In[540]:=width = 256; radius =width5;maxg = 0.85`; ming = 0.5`; maxg2 = 0.55`;d1 = TableBIfB i -width22+ j -width22< radius2, ming, maxgF,8i, 1, width<, 8j, 1, width<F;g1 = ArrayPlot@d1, PlotRange Ø 80, 1<D;d2 = TableBIfB i -width22+ j -width22< radius2, ming, maxg2F,8i, 1, width<, 8j, 1, width<F;g2 = ArrayPlot@d2, PlotRange Ø 80, 1<D;GraphicsRow@8g1, g2<, Spacings Ø [email protected][546]=‡Simultaneous "Contrast of Contrast"The above illusion involved manipulating mean light level. What if we manipulate contrast (or variance) and keep the means fixed?2 ContrasNormalizationNotes.nbIn[547]:=width = 256; radius =width5;maxg := 0.8` HRandomReal@D - 0.5`L + 0.5`;ming := 0.25` HRandomReal@D - 0.5`L + 0.5`;maxg2 := 0.15` HRandomReal@D - 0.5`L + 0.5`;d1 = TableBIfB i -width22+ j -width22< radius2, ming, maxgF,8i, 1, width<, 8j, 1, width<F;g1 = ArrayPlot@d1, Mesh Ø False, PlotRange Ø 80, 1<D;d2 = TableBIfB i -width22+ j -width22< radius2, ming, maxg2F,8i, 1, width<, 8j, 1, width<F;g2 = ArrayPlot@d2, Mesh Ø False, PlotRange Ø 80, 1<D;Show@GraphicsRow@8g1, g2<, Spacings Ø [email protected]`DDDOut[555]=‡Contrast normalizationIt turns out that neurons in V1 show an analogous response to your own perception of contrast. One way to model this is to assume that the response of a single unit that signals contrast for a particular location, spatial frequency and orientation preference, gets divided by the average of a measure of the magnitude of the responses of neighboring units that also signal contrast over a range of spatial frequencies and orientations.The linear spatial receptive field model for a V1 neuron says that that response should scale linearly with contrast. But simple cells don't show this property--instead, the response begins to saturate at high input contrasts (e.g. for a drifting sinusoidal grating matching the orientation, spatial frequency and motion direction preferences of the cell). Time-wise, the response also begins to occur sooner as the stimulus contrast is increased. Another break-down is seen in the response of a cell to the combination of a horizontal and vertical sinusoidal gratings. Linearity predicts the response to the sum should be the sum of the responses, but it isn't. Instead neurophysiologists find "cross-orientation inhibition". Interestingly enough, a cell that prefers say the vertical grating will typically show zero response to the horizontal one; yet, the presence of the horizontal one still inhibits the cell's firing to the vertical.ContrasNormalizationNotes.nb 3A model that quantitatively accounts for the responses of simple cells is called the "contrast normalization" model (Heeger, 1997 ; Carandini, M., & Heeger, D. J. (1994)).‡Contrast normalization & image statisticsWe've noted that a number of image basis sets yield image coefficients that are essentially uncorrelated for natural images. Fourier, and PCA bases all tend to produce uncorrelated outputs for natural images. Wavelets and gabor-filters also tend to produce uncorrelated outputs for natural images. Wavelets may be close to providing an independent components represen-tation for natural images. Independent Components Analysis (ICA) seeks basis sets for which p(a,b) = p(a)p(b), where a and b are coefficients. This is in contrast to PCA which seeks bases for which E(ab) = E(a)E(b) (Recall that independence implies no correlation, but not the reverse).Consider a standard model for V1 cells consisting of a set of gabor-like filters, or more specifically a wavelet basis set selective for several orientations and spatial scales, spread across the image domain. Despite the fact that the responses are decorrelated, gathering image statistics shows that the wavelet coefficients are not statistically independent.4 ContrasNormalizationNotes.nbFigure from: Eero P Simoncelli and Odelia Schwartz (1998) Modeling Surround Suppression in V1 Neurons with a Statistically-Derived Normalization Model . Advances in Neural Information Processing Systems 11. ed. M.S. Kearns, S.A. Solla and D.A. Cohn, pp. 153-159, May 1999. © MIT Press, Cambridge, MA. See: http://www.cns.nyu.edu/~eero/-ABSTRACTS/simoncelli98d-abstract.htmlThe figure shows that the expected value of the ordinate coefficient is about zero regardless of the abscissa value, i.e. the correlation is about zero. However, the variance of the ordinate increases with the absolute value of the abscissa--the responses are not independent of each other. Simoncelli & Schwartz (1998) report this pattern for pairs of coefficients at neighboring spatial positions, orientation and scales. Remarkably, the statistical dependence goes away if the image filter responses are normalized by the sum of responses of nearby filters. In other words, the contrast normalization model (above) could be the consequence of an efficient coding principle.(The Appendix of 12. SpatialCodingEfficiency.nb has code for calculating a 2D histogram plot of joint spatial filter statistics for an image.)ContrasNormalizationNotes.nb 52nd order statistics spatial filter‡Joint histogram of two overlapping, possibly orthogonal, filtersSome useful functions: scale256, histogram, argmaxIn[556]:=scale256@image_D := Module@8a , b<,a = 255 êHMax@imageD - Min@imageDL;b = -a Min@imageD;Return@a image + bD;D;In[557]:=myhistogram@image_D := Module@8histx<,histx = BinCounts@Flatten@imageD, 80, 255, 1<D;Return@N@histx êPlus üü histxDD;D;In[558]:=argmax@x_D := Position@x,


View Full Document

U of M PSY 5036W - Contrast Normalization Notes

Download Contrast Normalization Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Contrast Normalization Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Contrast Normalization Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?