1 / 39

Color Invariance

Color Invariance. Shadow Removal Seminar. What we passed till now. Cause to shadows, and what shadows means for us (the interpretation of shadows in human brain). How to create shadows graphically. Some shadow detection techniques. This lecture Overview. Intro Shadows

lotus
Download Presentation

Color Invariance

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. Color Invariance Shadow Removal Seminar

  2. What we passed till now • Cause to shadows, and what shadows means for us (the interpretation of shadows in human brain). • How to create shadows graphically. • Some shadow detection techniques

  3. This lecture Overview • Intro • Shadows • Invariance and color invariance • Shadow classification • Shadow segmentation

  4. Intro - Shadows • Generation of shadows • Shadows Types • Cast shadows • Self shadows

  5. Intro - Invariance • Invariant • A feature (quantity or property or function) that remains unchanged when a particular transformation is applied to it. • What it used for • Invariance in images • Matlab demo

  6. Intro – Shadow detection techniques • Shadow detection techniques classification: • Model based • Property based

  7. Shadow identification and classification using invariant color models Elena Salvador, Andrea Cavallaro, Touradj Eebrahimi 2001

  8. Overview • Goal • Constraints • Color Invariants • Algorithm steps • Results • Conclusions

  9. Goal • Extraction and classification of shadows in color images.

  10. Constraints • A simple environment assumed where shadows are cast on flat or nearly flat non textured surface. • Objects are uniformly colored. • Only one light source illuminates the scene. • Shadows and objects are within the image. • The light source must be strong.

  11. Color Invariants • Photometric color invariants • Definition • Models of photometric color invariants • Normalizedrgb • Hue (H) and saturation (S) • (C1,C2,C3) and (L1,L2,L3)

  12. Color Invariants - cont • C1C2C3 color invariant features defined as: ( Color Based Object Recognition Theo Gevers and Arnold W.M. Smeulders 1999 )

  13. Algorithm steps • Shadow candidates identification • Edge detection • Finding the outer points of the edge map • Intensities used as reference • Morphological processing used to close contours of the edge map.

  14. Algorithm steps - cont • Shadow classification • Applying photometric color invariants • Edge detection • Classification

  15. Algorithm steps - summary

  16. Results

  17. Conclusions • This method succeeds in detecting and classifying shadows within environmental constraints that are less restrictive then other methods. • Need to define strategy to describe the object color discounting the effect of self shadow.

  18. Cast shadow segmentation using invariant color features Elena Salvador, Andrea Cavallaro and Touradj Ebrahimi 2004

  19. Overview • Goal • Constraints • Spectral properties of shadows • Dichromatic reflection model • Photometric color invariants • Algorithm steps • Results

  20. Goal • Detection of cast shadows on video and on still images.

  21. Constraints • The ambient light assumed to be a proportional to direct occluded light. • Inter-object reflection among different surfaces not taken in account. • Video • The camera is not moving.

  22. Dichromatic reflection model • Radiance of light: • When object obstructing the direct light we have: • Let to be a spectral sensitivities of R,G and B sensors of color camera.

  23. Image Irradiance Dichromatic reflection model - cont • The color components of reflected intensity that reaching the camera sensors are: • Sensor measurements in direct light: • For a point in shadow the measurements are:

  24. Dichromatic reflection model - cont • The conclusions are:

  25. Color invariance • The color invariants are the same as in previous article.

  26. Algorithm steps • Hypothesis generation • Dichromatic model • Accumulation of evidence • Color invariance test • Geometric properties test • Decision

  27. Hypothesis generation • Still images • Find edges with Sobel operator. • Use reference pixels to find shadow suspected areas. • Video • Analysis performed only in areas that identified by motion detector • The reference image represents the background of the scene. • To obtain more robustness the analysis performed on window

  28. Hypothesis generation - cont • Result of the first level: The candidate shadow points belonging to the edge map:

  29. Accumulation of evidence – overview • Color invariance property used to strength or cancel the hypothesized shadow areas. • Checking the existence of shadow line and hidden line.

  30. Accumulation of evidence – Still Images • Color edge detection performed in the invariant space. • Morphological dilation applied on the edge map. • Isolated pixels removed.

  31. Accumulation of evidence – in video • Compute invariant feature values by: • Geometric property test • Position of shadow with respect to the object is tested.

  32. Color edge map of the invariant features (E) And (F) contains refinement by means of geometric analysis providing the shadow line and hidden shadow line. Integration of shadow evidence from (B) and (C) Information integration • Results of integrating all stages.

  33. Results

  34. References • Shadow identification and classification using invariant color models. Elena Salvador, Andrea Cavallaro, Touradj Eebrahimi 2001 • Cast shadow segmentation using invariant color features. Elena Salvador, Andrea Cavallaro and, Touradj Ebrahimi 2004 • http://www.mathworks.com/access/helpdesk/help/toolbox/images/morph3.html

  35. The End…

  36. Sobel operator • Performs a 2-D spatial gradient measurement on an image and so emphasizes regions of high spatial gradient that correspond to edges. • Basic Sobel convolution mask:

  37. Pseudo-convolution kernels in general • We can use a pseudo convolution operator to perform these to steps in one step. |G| = |(P1+2*P2+P3)-(P7+2*P8+P9)|+|(P3+2*P6+P9)-(P1+2*P4+P7)

  38. Morphological dilation of images

  39. Examples of photometric color invariants • (L1,L2,L3) ( Color Based Object Recognition Theo Gevers and Arnold W.M. Smeulders 1999 )

More Related