1 / 51

Vectors [and more on masks]

Vectors [and more on masks]. Vector space theory applies directly to several image processing/representation problems. Image as a sum of “basic images”.

apayeur
Télécharger la présentation

Vectors [and more on masks]

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vectors [and more on masks] Vector space theory applies directly to several image processing/representation problems MSU CSE 803 Stockman Fall 2008

  2. Image as a sum of “basic images” What if every person’s portrait photo could be expressed as a sum of 20 special images?  We would only need 20 numbers to model any photo  sparse rep on our Smart card. MSU CSE 803 Stockman Fall 2008

  3. The image as an expansion MSU CSE 803 Stockman Fall 2008

  4. Different bases, different properties revealed MSU CSE 803 Stockman Fall 2008

  5. Fundamental expansion MSU CSE 803 Stockman Fall 2008

  6. Basis gives structural parts MSU CSE 803 Stockman Fall 2008

  7. Vector space defs., part 1 MSU CSE 803 Stockman Fall 2008

  8. Vector space defs. Part 2 2 MSU CSE 803 Stockman Fall 2008

  9. A space of images in a vector space • M x N image of real intensity values has dimension D = M x N • Can concatenate all M rows to interpret an image as a D dimensional 1D vector • The vector space properties apply • The 2D structure of the image is NOT lost MSU CSE 803 Stockman Fall 2008

  10. Orthonormal basis vectors help MSU CSE 803 Stockman Fall 2008

  11. Represent S = [10, 15, 20] MSU CSE 803 Stockman Fall 2008

  12. Projection of vector U onto V MSU CSE 803 Stockman Fall 2008

  13. Normalized dot product Can now think about the angle between two signals, two faces, two text documents, … MSU CSE 803 Stockman Fall 2008

  14. Every 2x2 neighborhood has some constant, some edge, and some line component Confirm that basis vectors are orthonormal MSU CSE 803 Stockman Fall 2008

  15. Roberts basis cont. If a neighborhood N has large dot product with a basis vector (image), then N is similar to that basis image. MSU CSE 803 Stockman Fall 2008

  16. Standard 3x3 image basis Structureless and relatively useless! MSU CSE 803 Stockman Fall 2008

  17. Frie-Chen basis Confirm that bases vectors are orthonormal MSU CSE 803 Stockman Fall 2008

  18. Structure from Frie-Chen expansion Expand N using Frie-Chen basis MSU CSE 803 Stockman Fall 2008

  19. Sinusoids provide a good basis MSU CSE 803 Stockman Fall 2008

  20. Sinusoids also model well in images MSU CSE 803 Stockman Fall 2008

  21. Operations using the Fourier basis MSU CSE 803 Stockman Fall 2008

  22. A few properties of 1D sinusoids They are orthogonal Are they orthonormal? MSU CSE 803 Stockman Fall 2008

  23. F(x,y) as a sum of sinusoids MSU CSE 803 Stockman Fall 2008

  24. Spatial direction and frequency in 2D MSU CSE 803 Stockman Fall 2008

  25. Continuous 2D Fourier Transform To compute F(u,v) we do a dot product of our image f(x,y) with a specific sinusoid with frequencies u and v MSU CSE 803 Stockman Fall 2008

  26. Power spectrum from FT MSU CSE 803 Stockman Fall 2008

  27. Examples from images Done with HIPS in 1997 MSU CSE 803 Stockman Fall 2008

  28. Descriptions of former spectra MSU CSE 803 Stockman Fall 2008

  29. Discrete Fourier Transform Do N x N dot products and determine where the energy is. High energy in parameters u and v means original image has similarity to those sinusoids. MSU CSE 803 Stockman Fall 2008

  30. Bandpass filtering MSU CSE 803 Stockman Fall 2008

  31. Convolution of two functions in the spatial domain is equivalent to pointwise multiplication in the frequency domain MSU CSE 803 Stockman Fall 2008

  32. LOG or DOG filter Laplacian of Gaussian Approx Difference of Gaussians MSU CSE 803 Stockman Fall 2008

  33. LOG filter properties MSU CSE 803 Stockman Fall 2008

  34. Mathematical model MSU CSE 803 Stockman Fall 2008

  35. 1D model; rotate to create 2D model MSU CSE 803 Stockman Fall 2008

  36. 1D Gaussian and 1st derivative MSU CSE 803 Stockman Fall 2008

  37. 2nd derivative; then all 3 curves MSU CSE 803 Stockman Fall 2008

  38. Laplacian of Gaussian as 3x3 MSU CSE 803 Stockman Fall 2008

  39. G(x,y): Mexican hat filter MSU CSE 803 Stockman Fall 2008

  40. Convolving LOG with region boundary creates a zero-crossing Mask h(x,y) Input f(x,y) Output f(x,y) * h(x,y) MSU CSE 803 Stockman Fall 2008

  41. MSU CSE 803 Stockman Fall 2008

  42. LOG relates to animal vision MSU CSE 803 Stockman Fall 2008

  43. 1D EX. Artificial Neural Network (ANN) for computing g(x) = f(x) * h(x) level 1 cells feed 3 level 2 cells level 2 cells integrate 3 level 1 input cells using weights [-1,2,-1] MSU CSE 803 Stockman Fall 2008

  44. Experience the Mach band effect MSU CSE 803 Stockman Fall 2008

  45. Simple model of a neuron MSU CSE 803 Stockman Fall 2008

  46. Output conditioning: threshold versus smoother output signal MSU CSE 803 Stockman Fall 2008

  47. 3D situation in the eye Neuron c has + input to neuron A but - input to neuron B. Neuron d has + input to neuron B but – input to neuron A. Neuron b gives no input to neuron B: it is not in the receptive field of B. MSU CSE 803 Stockman Fall 2008

  48. Receptive fields MSU CSE 803 Stockman Fall 2008

  49. Experiments with cats/monkeys • Stabilize/drug animal to stare • Place delicate probe in visual network • Move step edge across FOV • Probe shows response function when the edge images to receptive field • Slightly moving the probe produces similar signal when edge is nearby MSU CSE 803 Stockman Fall 2008

  50. Canny edge detector uses LOG filter MSU CSE 803 Stockman Fall 2008

More Related