• No se han encontrado resultados

Propuesta de Desarrollo del sistema

Subsection 3.4.4 focused on measuring image sharpness using different calibration images. If a calibration image is not available but instead a set of images displaying the same scene, image sharpness can still be calculated. For this, the following conditions should be fulfilled:

1. The PSF is assumed to be Gaussian distributed and sharpness is defined by its standard deviation (𝜎𝜎).

2. All images display the same scene at the same brightness and contrast.

3. The PSF’s standard deviation of the sharpest image (πœŽπœŽπ‘π‘π‘šπ‘šπ‘‘π‘‘,π‘Žπ‘Žπ‘π‘π‘ π‘ ) is known.

In this case, for every image (𝐼𝐼𝑖𝑖), difference sharpness (πœŽπœŽπ‘–π‘–,π‘šπ‘šπ‘–π‘–π‘‘π‘‘π‘‘π‘‘) can be calculated from the minimum of the following condition:

πœŽπœŽπ‘–π‘–,π‘šπ‘šπ‘–π‘–π‘‘π‘‘π‘‘π‘‘ = argmin (πΌπΌπ‘–π‘–βˆ’ Gaussian(𝐼𝐼0,πœŽπœŽπ‘–π‘–,π‘šπ‘šπ‘–π‘–π‘‘π‘‘π‘‘π‘‘) (3.49)

This optimization problem can be solved using the Brent method [79].

From πœŽπœŽπ‘–π‘–,π‘šπ‘šπ‘–π‘–π‘‘π‘‘π‘‘π‘‘ and the known sharpness of the sharpest reference image

(πœŽπœŽπ‘π‘π‘šπ‘šπ‘‘π‘‘,π‘Žπ‘Žπ‘π‘π‘ π‘ ) the sharpness of every image can be calculated using:

πœŽπœŽπ‘π‘,π‘Žπ‘Žπ‘π‘π‘ π‘  = οΏ½πœŽπœŽπ‘–π‘–,π‘šπ‘šπ‘–π‘–π‘‘π‘‘π‘‘π‘‘2+ πœŽπœŽπ‘π‘π‘šπ‘šπ‘‘π‘‘,π‘Žπ‘Žπ‘π‘π‘ π‘ 2 (3.50)

Figure 3.51 shows given and calculated sharpness levels for a set of randomly blurred synthetic circle patterns. As Subfigure (b) shows, the values used to blur the patterns agree with those obtained from the presented method. However, if small and noisy patterns are used and the difference between πœŽπœŽπ‘π‘π‘šπ‘šπ‘‘π‘‘,π‘Žπ‘Žπ‘π‘π‘ π‘  and πœŽπœŽπ‘–π‘–,π‘šπ‘šπ‘–π‘–π‘‘π‘‘π‘‘π‘‘ is relatively small, the estimated sharpness levels can be erroneous. In Subfigure (c) πœŽπœŽπ‘π‘π‘šπ‘šπ‘‘π‘‘,π‘Žπ‘Žπ‘π‘π‘ π‘  was set to 1.5 px (from 1 px in (b)). This caused πœŽπœŽπ‘–π‘–,π‘Žπ‘Žπ‘π‘π‘ π‘  closest to πœŽπœŽπ‘π‘π‘šπ‘šπ‘‘π‘‘,π‘Žπ‘Žπ‘π‘π‘ π‘  (position 7) to be underestimated.

Β© Karl Bedrich - April 2017 95

a)

b)

c)

Figure 3.51 Result of sharpness estimation from image comparison;

a) synthetic circle patterns (SNR=15, resolution=100x100 px), blurred with different randomly chosen 𝝈𝝈; b) comparison of given to obtained 𝝈𝝈; c) same as (b), but πˆπˆπŸ“πŸ“,𝒂𝒂𝒂𝒂𝒔𝒔=1.5 px instead of 1 px (position i=3);

Note that values are discrete and lines are only to guide the eye

3.4.8 SECTION SUMMARY

This section gave an overview of different functions and parameters used to describe image sharpness as well as their transformation into each other.

Five different sharpness measurement methods were presented and compared width synthetic patterns and EL images. The best method for measuring image sharpness depends on the parameter to be measured.

To measure the modulation transfer function (i.e. image contrast over a spatial frequency) the best results were obtained using a printed spoke target on top of the PV device. To measure a radially variable point spread

Β© Karl Bedrich - April 2017 96

function, masking a PV device with a flat disk (such as a CD) provides a simple measurement setup which returns precise results.

Furthermore, the smallest resolvable object size (π‘ˆπ‘ˆπ‘‚π‘‚π‘π‘π‘‚π‘‚) was introduced. It enables comparison of the effective resolution of different imaging systems. The section described how to equalize the sharpness of images taken with different cameras. These techniques reduce image artefacts in difference images, improving the precision of the image comparison. An additional method of extracting sharpness from a set of equivalent images was presented in the case that no calibration images to measure sharpness exist.

Lens distortion

The shape of the camera lens used and positioning errors during the assembly of the camera can result in radial and tangential distortion respectively (Figure 3.52).

a) Radial distortion (green: positive, red: negative, black: no distortion)

b) tangential distortion (red:

with, black: without distortion) Figure 3.52: Types on lens distortion

The spatial correction of the radial distortion can be described using [80]:

π‘₯π‘₯π‘π‘π‘π‘π‘π‘π‘π‘π‘šπ‘šπ‘π‘π‘šπ‘šπ‘šπ‘šπ‘šπ‘š = π‘₯π‘₯ β‹… (1 + π‘˜π‘˜1𝐼𝐼2+ π‘˜π‘˜2𝐼𝐼4+ π‘˜π‘˜3𝐼𝐼6) (3.51)

π‘¦π‘¦π‘π‘π‘π‘π‘π‘π‘π‘π‘šπ‘šπ‘π‘π‘šπ‘šπ‘šπ‘šπ‘šπ‘š = 𝑦𝑦 β‹… (1 + π‘˜π‘˜1𝐼𝐼2+ π‘˜π‘˜2𝐼𝐼4+ π‘˜π‘˜3𝐼𝐼6) (3.52)

... and tangential distortion using:

Β© Karl Bedrich - April 2017 97

π‘₯π‘₯π‘π‘π‘π‘π‘π‘π‘π‘π‘šπ‘šπ‘π‘π‘šπ‘šπ‘šπ‘šπ‘šπ‘š = π‘₯π‘₯ + [2π‘ˆπ‘ˆ1𝑦𝑦 + π‘ˆπ‘ˆ2(𝐼𝐼2+ 2π‘₯π‘₯2)] (3.53)

π‘¦π‘¦π‘π‘π‘π‘π‘π‘π‘π‘π‘šπ‘šπ‘π‘π‘šπ‘šπ‘šπ‘šπ‘šπ‘š = 𝑦𝑦 + [2π‘ˆπ‘ˆ2π‘₯π‘₯ + π‘ˆπ‘ˆ1(𝐼𝐼2+ 2𝑦𝑦2)] (3.54)

Where:

π‘₯π‘₯, 𝑦𝑦 Original position in the image π‘₯π‘₯π‘π‘π‘π‘π‘π‘π‘π‘π‘šπ‘šπ‘π‘π‘šπ‘šπ‘šπ‘šπ‘šπ‘š, π‘¦π‘¦π‘π‘π‘π‘π‘π‘π‘π‘π‘šπ‘šπ‘π‘π‘šπ‘šπ‘šπ‘šπ‘šπ‘š Position after correction π‘˜π‘˜1, π‘˜π‘˜2, π‘˜π‘˜3, π‘ˆπ‘ˆ1, π‘ˆπ‘ˆ2 Distortion coefficients

These five distortion coefficients along with image centre and focal length can be identified by several camera calibration techniques. One technique uses multiple images of a chessboard (for example 7x8) or alternatively a ring calibration pattern [81] in various angles and positions. It is recommended to keep the pattern size within 25-75% relative to the size of the image plane. To reduce the influence of corner detection errors and pattern inhomogeneity at least 15 images should be captured.

In this work, images of an in-plane chessboard pattern (Figure 3.53) were captured. The Python interface of the C++ library OpenCV [64] was then used to detect inner chessboard corner points (cv2.findChessboardCorners and cv2.cornerSubPix). The camera matrix and distortion coefficients were obtained using cv2.calibrateCamera. [64]

Figure 3.53: Four example images of an in-plane chessboard pattern at different positions and rotations used to calculate lens distortion

Β© Karl Bedrich - April 2017 98

In-Plane Flat Field Measurement 3.6.1 INTRODUCTION

The image intensity of EL images is largely influenced by off-axis illumination and camera sensor imperfections. For quantitative EL imaging their correction is essential. If neglected, pixel intensities can vary significantly (>50%) across the image.

Intensity modulating distortions can be categorised into optical aberrations and other imperfections such as vignetting and flare. Optical aberrations cause light to reach the sensor at slightly shifted locations, resulting in a less sharp and more distorted image. Vignetting causes the light to only partially reach the sensor, resulting in erroneous quantitative results. Since the use of EL imaging is evolving to emphasise quantitative analysis, such imperfections must be corrected for. This section evaluates methods for measuring and correcting illuminance inhomogeneities in the specialised field of luminescence imaging of PV devices.

The inhomogeneities can be removed by dividing every (dark current corrected) EL image by a flat field image (𝐼𝐼𝑁𝑁𝑁𝑁). The 𝐼𝐼𝑁𝑁𝑁𝑁 describes the spatial non-uniformity of light detection. It is mainly caused by:

1. Vignetting (natural, optical, mechanical): Inhomogeneous illumination of the sensor due to projection via the camera lens [72, 82], best described by the vignetting image (𝐼𝐼𝑉𝑉𝑖𝑖𝑔𝑔) and

2. Sensitivity: Pixel specific quantum efficiency of the camera sensor (and optical inhomogeneities, such as soiling), best described by the sensitivity image (𝐼𝐼𝑆𝑆, Figure 3.54):

𝐼𝐼𝑁𝑁𝑁𝑁 = πΌπΌπ‘‰π‘‰π‘–π‘–π‘”π‘”βˆ™ 𝐼𝐼𝑆𝑆 (3.55)

Figure 3.54: Creation of a flat field image

Β© Karl Bedrich - April 2017 99

Figure 3.55 compares EL difference images of the same PV device taken under the same conditions, but at different positions within the image plane (row a). The images were background corrected [25, 33, 43], the lens distortion [64] was removed and the position of all images was unified [83]. An image with the most central position of the DUT was chosen as reference image. The absolute deviation between reference and other EL images is shown in row b. It reveals significant variations.

The same deviation with additional flat field correction (before lens distortion removal) is shown in row c). Here, deviations are close to negligible. Row b and c have the same colour scale, which shows that flat field correction is essential for quantitative evaluation of EL images.

Figure 3.55: Intensity of the same PV module imaged at (a) different positions and corresponding absolute intensity deviations (b) without and (c) with vignetting correction relative to the reference image The existing methods to obtain 𝐼𝐼𝑉𝑉𝑖𝑖𝑔𝑔 and respective 𝐼𝐼𝑁𝑁𝑁𝑁 vary:

For astronomy based applications, Howell uses the inside of a telescope dome or the dawn or dusk sky as homogenous sources for obtaining 𝐼𝐼𝑁𝑁𝑁𝑁 [84]. Kang et al. extract 𝐼𝐼𝑉𝑉𝑖𝑖𝑔𝑔 through imaging a sheet of white paper in the focal plane. There, 𝐼𝐼𝑉𝑉𝑖𝑖𝑔𝑔 is calculated as function of off-axis illumination

Β© Karl Bedrich - April 2017 100

(i.e. natural vignetting) and other vignetting [85]. This function is referred to as KW in Subsection 3.6.3.

Unlike many other imaging techniques, EL imaging captures the light source itself and not its reflection. Therefore, many common flat field calibration methods cannot be directly adopted.

A few papers have described flat field calibration for EL imaging so far:

Flat field measurement with a β€˜homogenous’ light source at short distance and out of focus of the camera was used in [8, 33]. It was reported that even a high resolution LCD flat panel, emitting red light at 612 nm, can be used as an approximation for measuring CdTe solar cells with a recombination peak at around 850 nm [86]. In this work, this method is referred to as X.

A similar measurement with a β€˜homogenous’ light source (such as rear contact solar cell) and with a defocussed lens is proposed by KΓΆntges et al. [25]. Herein optical paths differ due to changed focus and no specification regarding distance between lens and light source is given.

The same publication also proposes an β€˜angle-of-view’ fit function. This function calculates the intensity decrease from a Lambertian surface for variable aperture angles. This method is used further on to fit measured image intensities. It is referred to as AoV in Subsection 3.6.3.

In this section, it is assumed that the influence of pixel sensitivity (𝐼𝐼𝑆𝑆) is minor. Therefore, the focus is on five vignetting measurement methods (A-E) in comparison to the aforementioned method X. To improve results, different post processing methods are discussed and applied to the measurement result. The quality of vignetting removal of these measurement-post-processing combinations is evaluated in Subsection 3.6.4. Finally, the acquisition of sensitivity images is described in Subsection 3.6.5.

Documento similar