Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to calculate an image has noise and Geometric distortion or not?

I need to make an application in iphone which needs to calculate noise, geometric deformation other distortions in an image. How to do this? I have done some image processing stuff with opencv + iphone. But I dont know how to calculate these parameters.

1) How to calculate noise in an image?

2) What is geometric deformation and how to calculate geometric deformation of an image?

3) Is geometric deformation and distortion are same parameters in terms of image filter? or any other distortions available to calculate an image is good quality or not?

Input: My image is a face image in live video stream.

like image 441
2vision2 Avatar asked Feb 11 '13 08:02

2vision2


People also ask

How do you quantify image distortion?

TV distortion method (ISO 9039) The bending of a straight line in the original image is quantified at the image's top edge (see figures below). The ratio of the bending over the height of the image multiplied by 100 is the percentage of picture height distortion.

What is geometric distortion?

Geometric distortion refers to the improper positioning of scatterers in the output image with respect to their true position when viewed in a properly scaled common image display plane.

What is geometric distortion and how is it rectified?

Geometrical distortion is an error on an image between actual image acquisition (sensor) coordinate data and ideal image coordinate data. Geometric correction includes correcting for geometric distortion due to some variation and collecting Ground control point on that image.


1 Answers

I advise you to read some literature about image processing, for example Gonzalez & Woods.

1) The simplest method of noise calculation by single image is to compute standard deviation between image and its smoothed copy. For smoothing I recommend you to use simple median filter by sample of 3x3 pixels (or more). Median is non-sensitive to outbursts of data, so noice like "salt-n-pepper" won't worsen statistics. In cases of overexposed or underexposed images such method can give you bad results, in that case you can calculate FFT of image and use a high frequency components for noise estimation.

2), 3) Calculation of geometric deformation is possible only if you know, what should be on image. For example, if you use mire (optical etalon) with quadratic grid, you can find lines on your image (for example by Canny edge detector) and compute distortion, astigmatism and some other aberrations. This could be done also if you sure that image have some straight lines. Defocusing can be computed from analysis of edges on image or with help of image wavelet transform. There also much more different methods for image analysing. For example, by analysis of colour image you can estimate chromatic aberration and so on. But I repeat: in common case this operations are impossible. They all have some particular cases of application.

Read about image quality: there are no standard for this term, in every particular case you can use one or more simple characteristics to recognize whether image good or not.

In you case I'd advice you to make a lot of photos with different kind of artefacts and quality, then make simple analysis of their statistics, wavelet compositions and R-G-B components correlation. BTW, to make analysis of colour image less sensitive to its brightness I recommend you to work in HSV colorspace (but to estimate chromatic aberration you need to work exactly with RGB components).

like image 149
Eddy_Em Avatar answered Nov 15 '22 10:11

Eddy_Em