230 likes | 266 Views
Dynamic Range Compression & Color Constancy. Democritus University of Thrace 2006. Dynamic Range. Dynamic Range : The ratio between the maximum and the minimum tonal values in an image (cd/m 2 )
E N D
Dynamic Range Compression& Color Constancy Democritus University of Thrace 2006
Dynamic Range • Dynamic Range: The ratio between the maximum and the minimum tonal values in an image (cd/m2) • Commercial cameras have only a dynamic range of 256:1 (the maximum value is 256 times greater than the minimum value that they can capture) • Scenes with grater dynamic range than 256:1 are not captured correctly (intensities are clipped)
The Dynamic Range Problem • The dynamic range of natural scenes is a lot more than 256:1(object in frond of a backlight) • The camera can capture correctly only the bright or the dark area, but never both of them (underexposure, overexposure) Normaly exposured Normaly exposured Underexposured (no visible details) Overexposured (no visible details)
Center Surround Our approach –center surround • Every pixel (center) is compared with its neighborhood (surround) and is assigned a new value, in order to maximize the contrast in the dark regions of the image • Surround is the average intensity value of the neighborhood (0-255) • Center is the intensity of the pixel (0-255) center surround
Before: Surround 18 Center 23 After: Surround 18 Center 85 Center Surround Center-surround transfer function • In a dark image region (surround is small) When the center is dark 85 18 23
Before: Surround 18 Center 241 After: Surround 18 Center 245 Center Surround Center-surround transfer function • In a dark image region (surround is small) When the center is bright 245 241 18
Before: Surround 240 Center 36 After: Surround 240 Center 36 Center Surround Center-surround transfer function • In a bright image region (surround is high) When the center is dark 36 240 36
Before: Surround 240 Center 244 After: Surround 240 Center 244 Center Surround Center-surround transfer function • In a bright image region (surround is high) When the center is bright 244 244 240
Center Surround Conclusion • In a dark image region (shadows or underexposured areas) the value of the pixel is increased relatively its neighborhood, increasing the local contrast • In a bright image region (normally exposured areas) the value of the pixel is unchangeable
The unknown illuminant problem white white The HVS has a degree of color constancy white
Images under color illuminant Incandescent lights Fluorescent light Green water
The specularity problem • Specularities and direct light sources have a greater intensity than the response to pure white Which intensity is the response to pure white?