{'fraction_non_alphanumeric': 0.020696142991533398, 'fraction_numerical': 0.0, 'mean_word_length': 5.295857988165681, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Effects of nonlinear camera response function in spatial domain depth-from-defocus

Most digital cameras incorporate nonlinear mapping from the amount of light falling onto an imaging sensor to a picture's intensity. However, this nonlinear mapping would cause problems in some linear operations of image processing such as depth-from-defocus (DFD). We address the erroneous effects of the nonlinear response function of a digital still camera in DFD. A spatial-domain DFD technique called S-transform is employed to present the effects of the nonlinear mapping. To enhance DFD performance, we undistort the camera response function. Comparagrams of differently exposed multiple images are employed to estimate the response function. The estimated response function is then fitted to a piecewise linear function. To compare DFD performance, we use four different approaches of the S-transform for automatic focusing of the camera. Compensation of the nonlinear response function enhances AF performance of the camera and estimates blur parameters more accurately.