modeling the imaging system why? if a customer gives you specification of what they wish to see, in...

34
Modeling the imaging system • Why? If a customer gives you specification of what they wish to see , in what environment the system should perform, you as the designer should be able to specify the space of observables, that is the observable reachable set. We can specify the range of parameters in which we can guarantee a certain performance of the system.

Post on 21-Dec-2015

261 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Modeling the imaging system

• Why?• If a customer gives you specification of what

they wish to see , in what environment the system should perform, you as the designer should be able to specify the space of observables, that is the observable reachable set.

• We can specify the range of parameters in which we can guarantee a certain performance of the system.

Page 2: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

What are the components of an imaging system?

• Optics:• Field of view (FOV)• Focal length f• Center of optical axes• Spherical aberration

which leads to blur circle ,where b is the blur, d is the diameter of the lens and z’ is the imaged distance form the lens, while z is the real distance that we wish to have in focus

'/' zzzdb

Page 3: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

The effects of light on our imaging system

Denote radial flux measured in Watts

Then the amount of energy on a patch A

Will be Irradiance E

The Radiant Intensity I will be

Finally Radiance L is the power per unit projection to solid angle

dAddL

ddI

dAdE

cos/)(

/)(

/

2

Page 4: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Light Sources

• We consider point source (isotropic) and area source (hemispheric)

• If point but isotropic source , how much light is getting to the surface patch?

• The radiant intensity over a full sphere is 4/)( I

Page 5: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Point isotropic source

• The amount of flux projected on solid angle will be proportional to intensity over the full sphere and the solid angle

• Hence the irradiance on the patch A will be 2

2

4//

)/)(cos4/(

rdAdE

rdAd

Page 6: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Reflectance

• If the source is hemispherical then the Irradiance E will be proportional to radiance multiplied by PI.

• Reflectance f is defined as the ratio between the amount of light that gets reflected (Radiance L) and the amount of light collected on the surface patch (Irradiance E). In this case the surface becomes the light source!

• I stands for incident and r for reflected

ir dEdLf /

Page 7: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Diffuse Reflectance

• Stands for the assumption that the light from the surface appears equally bright from all viewing directions, hence the radiance L is constant.

• We can write:whereB stands for Body, s

stands for surface cereflecdiffusedperfectlyfor

ELf

LE

sBB

Bs

tan

/1/

Page 8: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Lambertian reflection

• Same assumption as in the ideal diffuse reflection but the surface absorbs some light

iiiiBB

BsBB

dLL

albedocalledalsoELf

i

cos)(

/

Page 9: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Know your sensor:Sensor Errors

• These errors are called intrinsic. Any undesired feature causing discrepancies in digital image is considered noise. Systematic noise (errors) effect the ACCURACY of vision algorithms. Random errors primarily effect the PRECISION, i.e the variability in the results due to random noise in the digital images.

• In ordre to establish the accuracy, the results must be compared with ground truth models which are difficult to obtain.

Page 10: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Precision

• A complete characterization of the precision consists of a probability distribution for output noise. It is very difficult to get this since usually there are too many factors influencing the results.

• A methodology for performance evaluation should include characterization not only of the errors depending on the environmental conditions (extrinsic errors) but also on sensor characteristics.

Page 11: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

The Video Sensor

• The Video sensor consists of a lens, a CCD camera and a frame-grabber.

• The image is formed on the CCD array of identical sensing elements (sells) and then transferred by the frame-grabber in a linear order (line by line) to the computer memory. The geometric and radiometric uncertainties and discrepancies in the digital image are due to the optics, the CCD camera and the joint operation of the camera, the frame-grabber and other electronic components.

Page 12: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Camera related noise

• The total random noise of the CCD has three major components:

• Photon (shot) noise

• Read noise

• Fixed pattern noise

• The source of the photon noise is external, due to fluctuations of the photon flux and is always present in the data.

Page 13: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Camera related noise

• The read noise is related to the physics of the camera and the measurement process

• (the background noise and the output amplifier noise).• Noticeable components of the background noise are the

dark current (thermally generated charges) and the internal luminescence. Dark current doubles with increase of temperature by 8 degrees but is also due to irregularities in the crystal structure which contributes to a fixed pattern noise. There is also non uniformity in photo response in individual photocells which is observed in flat fields

Page 14: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Radiometric correction

• Given even, absolutely the same scene and illumination, physically different sensors see differently.

• Radiometric correction is also called flat fielding.• Corrected image is achieved with zero offset and

constant gain, we subtract from the original image the offset observed in averaged dark image, and scale the resulting image inversely proportional to the photo response observed in average flat field.

Page 15: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Intrinsic parameters-Geometric Image formation

Page 16: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Intrinsic parameters (contd.)

• Skew pixels

• Overall intrinsic parameter matrix

Page 17: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

CAMERA PARAMETERS – Radial Distortion

Nonlinear transformation along the radial direction

Distortion correction: make lines straight

Page 18: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Frame-grabber related noise

• Geometric discrepancies due to the digitization in the frame-grabber are

• Aliasing

• Line jitter

• Systematic fall-ff of the intensity in a line.

• An effect of radiometric distortion due to interlacing is the shift in gray level between odd and even fields in a frame.

Page 19: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Example of Multi-camera setup

• The calibration in the multi-camera setup is more important than otherwise, because the cameras as imaging system must be normalized and coordinated.

Page 20: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as
Page 21: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as
Page 22: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Dark Image analysis

• The Method:• We took 3 black and white cameras and closed

their lenses in the dark room. For each camera we recorded 100 dark images with delay of 20ms between two consecutive images . Stability of background noise was examined by capturing 100 dark images over 100 second.

• For each set of dark images average per pixel intensity was calculated and max and min of pixel values was determined

Page 23: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Example of modeling dark noise

Page 24: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

One “bad” camera

Page 25: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Table of results of the mean intensity of 1000 dark images

Page 26: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as
Page 27: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Conclusion on dark image noise

• Is that by and large this effect and the fixed patter noise is negligible for reconstruction purposes.

• What remains to be examined is the flat field ,that is the response of the sensor to uniform light illumination.

Page 28: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Radial distortion

• Will assume compensated (Tsai ’86) see Intel OpenCV in lab assignment

Page 29: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as
Page 30: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as
Page 31: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Conclusion

• What is the observable reachable set?• It is a multidimensional space delineated by the

range limits of all the Image acquisition parameters plus the assumptions that one makes about the illumination system, the environment and the task/context.

• What is the benefit?• One can make performance guarantees within

the bounds.

Page 32: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Summary of parameters

• Optics: FOV, focal length diameter of lens;• CCD: light /spectral sensitivity range

The dark current, the saturation to light level,

The homogeneity of the array of light sensitive cells;

Assumptions about illumination source (Intensity ), its extend (point source vs hemispherical source), the distance from the scene and if possible the angle of incident light;

Page 33: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

Summary of parameters, cont.

• Assumptions about the scene materials (lambertian, metallic, plastic, surface texture smooth vs. rough ,and so on)

• Geometric intrinsic parameters of the camera, scale of pixels, center of the imaging device and radial distortion;

• Spatial temporal and Signal resolution. This includes the speed of Analog to Digital conversion;

• Finally, if the task is to have a system in varied atmospheric conditions, such as fog, rain and night, different spectral bands will be required

Page 34: Modeling the imaging system Why? If a customer gives you specification of what they wish to see, in what environment the system should perform, you as

How to obtain these parameters?

• Some come from the manufacturer and it is the designer who selects them.

• The other have to be measured during the setup time, calibration time.

• The parameters on the environment, can only be estimated but the range can be given.