Noise reduction in digital images

Similar documents
Experimental study of colorant scattering properties when printed on transparent media

Imaging Fourier transform spectrometer

Photo Editing Workflow

Topaz Labs DeNoise 3 Review By Dennis Goulet. The Problem

Reflected ultraviolet digital photography with improvised UV image converter

Texture characterization in DIRSIG

Color Reproduction Algorithms and Intent

Graphics and Image Processing Basics

loss of detail in highlights and shadows (noise reduction)

ONE OF THE MOST IMPORTANT SETTINGS ON YOUR CAMERA!

The Raw Deal Raw VS. JPG

Using the Advanced Sharpen Transformation

An Inherently Calibrated Exposure Control Method for Digital Cameras

The Quantitative Aspects of Color Rendering for Memory Colors

LOW LIGHT artificial Lighting

Practical Scanner Tests Based on OECF and SFR Measurements

Peripheral imaging with electronic memory unit

ENHANCEMENT OF THE RADIOMETRIC IMAGE QUALITY OF PHOTOGRAMMETRIC SCANNERS.

MODULE No. 34: Digital Photography and Enhancement

Visibility of Uncorrelated Image Noise

Historical radiometric calibration of Landsat 5

INTRODUCTION TO CCD IMAGING

Using HDR display technology and color appearance modeling to create display color gamuts that exceed the spectrum locus

SHARPENING: The Arcane & Mystical Knowledge

Image Quality of a Multiple-Pass Optical Contrast Enhancement Technique

Digital Imaging with the Nikon D1X and D100 cameras. A tutorial with Simon Stafford

Basic principles of photography. David Capel 346B IST

Stressed plastics by polarization

White Paper Focusing more on the forest, and less on the trees

Color appearance in image displays

1. Redistributions of documents, or parts of documents, must retain the SWGIT cover page containing the disclaimer.

Sensors and Sensing Cameras and Camera Calibration

Photoshop Techniques Digital Enhancement

CAMERA BASICS. Stops of light

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Intro to Digital SLR and ILC Photography Week 1 The Camera Body

Basics of strip enlargers

ROBOT VISION. Dr.M.Madhavi, MED, MVSREC

Improved sensitivity high-definition interline CCD using the KODAK TRUESENSE Color Filter Pattern

CHARGE-COUPLED DEVICE (CCD)

Chapter 3 Part 2 Color image processing

University Of Lübeck ISNM Presented by: Omar A. Hanoun

Linear Gaussian Method to Detect Blurry Digital Images using SIFT

Viewing Environments for Cross-Media Image Comparisons

Creating a Contrast Mask. Text and images Copyright (C) 2002 Eric R. Jeschke and may not be used without permission of the author.

ISO 3664 INTERNATIONAL STANDARD. Graphic technology and photography Viewing conditions

Wave or particle? Light has. Wavelength Frequency Velocity

Color Image Processing

SilverFast. Colour Management Tutorial. LaserSoft Imaging

IMAGE SENSOR SOLUTIONS. KAC-96-1/5" Lens Kit. KODAK KAC-96-1/5" Lens Kit. for use with the KODAK CMOS Image Sensors. November 2004 Revision 2

Machinery HDR Effects 3

EASTMAN EXR 200T Film / 5293, 7293

ABSTRACT I. INTRODUCTION

Printing on the Epson You should save a second.psd or tiff version of your image for printing

One Week to Better Photography

CHAPTER 7 - HISTOGRAMS

Evaluating Commercial Scanners for Astronomical Images. The underlying technology of the scanners: Pixel sizes:

Chapter 6-Existing Light Photography

EASTMAN EXR 200T Film 5287, 7287

The Arcane & Mystical Knowledge

Infrared photography examples

Alternate Light Source Imaging

In order to manage and correct color photos, you need to understand a few

Aperture. The lens opening that allows more, or less light onto the sensor formed by a diaphragm inside the actual lens.

Panasonic Lumix DMC FZ50 Digital Camera. An assessment of the Extra Optical Zoom (EZ) and Digital Zoom (DZ) options. Dr James C Brown CEng FIMechE

Modeling the MTF and noise characteristics of complex image formation systems

Infrared Photography. John Caplis. Joyce Harman Harmany in Nature

Measuring the impact of flare light on Dynamic Range

Spectral and Polarization Configuration Guide for MS Series 3-CCD Cameras

Setting Up Your Camera Overview

Multiscale model of Adaptation, Spatial Vision and Color Appearance

KODAK EKTACHROME 64T Professional Film

Frequency Domain Median-like Filter for Periodic and Quasi-Periodic Noise Removal

Copyright 2002 by the Society of Photo-Optical Instrumentation Engineers.

WEBCAMS UNDER THE SPOTLIGHT

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

Understanding Infrared Camera Thermal Image Quality

NEW HIERARCHICAL NOISE REDUCTION 1

Color Digital Imaging: Cameras, Scanners and Monitors

Color and Perception

MY ASTROPHOTOGRAPHY WORKFLOW Scott J. Davis June 21, 2012

ISO 3664 INTERNATIONAL STANDARD. Graphic technology and photography Viewing conditions

The Electronic Darkroom: Turning Bad Photographs into Useful Line Art

UV LED ILLUMINATION STEPPER OFFERS HIGH PERFORMANCE AND LOW COST OF OWNERSHIP

A simulation tool for evaluating digital camera image quality

Problem Set I. Problem 1 Quantization. First, let us concentrate on the illustrious Lena: Page 1 of 14. Problem 1A - Quantized Lena Image

An evaluation of the current state of digital photography

Thermography. White Paper: Understanding Infrared Camera Thermal Image Quality

ISO. In this unit we learn about the sensitiveness of the sensor, its good points as well as its bad points. We also learn about ASA and ISO.

Digital Photography: Fundamentals of Light, Color, & Exposure Part II Michael J. Glagola - December 9, 2006

SHAW ACADEMY NOTES. Ultimate Photography Program

The Big Train Project Status Report (Part 65)

10.2 Color and Vision

DIGITAL CAMERA SENSORS

Edge-Raggedness Evaluation Using Slanted-Edge Analysis

The Simplest (2 step) Roadmap for Processing Raw Images

Photography Help Sheets

Master digital black and white conversion with our Photoshop plug-in. Black & White Studio plug-in - Tutorial

Fig Color spectrum seen by passing white light through a prism.

Capturing Realistic HDR Images. Dave Curtin Nassau County Camera Club February 24 th, 2016

Transcription:

Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 1999 Noise reduction in digital images Lana Jobes Follow this and additional works at: http://scholarworks.rit.edu/theses Recommended Citation Jobes, Lana, "Noise reduction in digital images" (1999). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact ritscholarworks@rit.edu.

SIMG-503 Senior Research Noise Reduction in Digital Images Final Report Lana Jobes Carlson Center for Imaging Science Rochester Institute of Technology May 1999 Table of Contents

Noise Reduction in Digital Images Lana J. Jobes Table of Contents Abstract Copyright Acknowledgement Introduction Background Methods and Results Noise Characterization Noise Reduction Methods Pixel Substitution Median Filtering in RGB Space Median Filtering in CIE L*a*b* Space Conclusion References Title Page

Noise Reduction in Digital Images Lana J. Jobes Abstract As the popularity of digital cameras increases, some limitations of digital technology are becoming apparent. One limitation is the appearance of additive noise in images acquired using long exposure times. Long exposure times are necessary any time you need to take an image in conditions that have a low level of illumination. Pictures taken at night, in a large room such as an auditorium, or forensics images are examples of times when a long exposure time is necessary. This research project has resulted in the development of a technique to reduce the additive noise present in these images. The first step in this process is the characterization of an individual Charge-Coupled Device (CCD) array in a digital camera. This information is then used to selectively median filter individual color channels of images acquired using the characterized array. Experiments have shown this technique significantly reduces the additive noise in an image without noticeable loss of image sharpness. Table of Contents

Copyright 1999 Carlson Center for Imaging Science Rochester Institute of Technology Rochester, NY 14623-5604 This work is copyrighted and may not be reproduced in whole or part without permission of the Carlson Center for Imaging Science at the Rochester Institute of Technology. This report is accepted in partial fulfillment of the requirements of the course SIMG-503 Senior Research. Title: Noise Reduction in Digital Images Author: Lana J. Jobes Project Advisor: Dr. Jeff B. Pelz SIMG 503 Instructor: Dr. Joseph P. Hornak Table of Contents

Noise Reduction in Digital Images Lana J. Jobes Acknowledgement I would like to thank my husband, Keith. His endless support these past three years has allowed me to chase a dream. Thank-you to our children and grandchildren: Sharon, Kim, Melissa, Stephen, Anna, Brianne, Jamie, and Tommy for understanding the summers we didn't take vacations and the times I had to miss band concerts and ballgames because of school. Thanks also to Monica Barbu and David Chang for their support. Finally, thanks to Dr. Jeff Pelz for his patience and for allowing me to be part of this project. Table of Contents

Noise Reduction in Digital Images Lana J. Jobes Introduction Digital cameras have become very popular over the last several years for both professional and personal use. (1) Under most conditions, digital cameras are an efficient, convenient way to take pictures. (1) If, however, an exposure time longer than 1/4 second is desired, the sensor array in the digital camera introduces undesirable noise into the image. (2) Figures 1 and 2 illustrate the additive noise seen in an image acquired using an exposure time of 30 seconds. Figure 1: Image Acquired Using 30 Second Exposure Figure 2: Image Acquired Using 30 Second Exposure This research project has resulted in the development of a noise reduction technique which can be used to decrease the visible noise in images taken using exposure times greater than 1/4 second. Using this noise reduction technique, people who have taken images in low-light situations are able to take advantage of the many benefits of digital photography. Digital photography allows nearly instantaneous access to the images; image dissemination is accomplished quickly across the Internet; and image modifications can be done quickly. In addition to saving money by eliminating the need for film and film developing, some digital cameras have an LCD display panel for instant image review. (3) This feature eliminates the need to take multiple pictures of an event to ensure its capture. Background Zamora and Mitra used color space transformations in their image compression research involving lossless coding techniques. (4) In their research they transformed test images into CIE L*a*b* color space and applied a different compression ratio to each channel independently. Their research concluded that the compression ratio achievable while maintaining acceptable image quality was significantly higher in CIE L*a*b* color space than in RGB space. In research performed by Zheng, Valavanis, and Gauch, artificial noise was randomly added to RGB images. (5) Images were transformed from RGB space to both HIS and CIE L*a*b* color space. Noise filters were applied to the original RGB images and independently to the channels of the transformed images. A mean squared error measurement was used

for comparison of the results. They concluded that no significant image quality improvements were obtained by using the color space transformation before filtering. In the current research project the noise of CCDs was characterized under real conditions. The additive noise found in images acquired using long exposure times is caused by thermal excitation in the sensor array. This type of noise may be different than noise added randomly to the image as in the research performed by Zheng, et al. Additionally, the analysis done in that study used the mean squared error measurement for determination of results; the current research project results will be determined based on the perception of the noise by the human visual system. CCD sensors consist of thousands of elements grouped in either a linear or matrix array. The elements on the CCD array are coated alternately with red, green, and blue filter material. (6) In these cameras, typically 25% of the elements are coated with red filter material, 25% with blue, and 50% with green. (7) Having twice as many green elements as red and blue gives the image the appearance of being more detailed because of the human eyeís enhanced sensitivity to green. (6) When light hits these elements, the CCD elements build up a charge proportional to the amount of light hitting them. The charge is transferred to the output portion of the CCD and converted to a signal which is digitized and stored in memory. (3) CCDs are more responsive to the red portion of the spectrum than the blue. To compensate for this, differential gain is included for each channel. Unfortunately, this leads to more noise in the channels with the higher gain. The CCD also responds strongly to wavelengths in the infrared portion of the spectrum. An infrared filter covers the CCD to avoid detection of these values. (7) Methods and Results Noise Characterization When light hits the elements of the CCD each element builds up a charge proportional to the amount of light reaching it. Using long exposure times, thermal excitation of the CCD array causes an additional charge to build in some elements. While the additional signal is random, it generally increases with exposure time, while the location of noisy pixels remains relatively stable. Figures 3 and 4 show two different 'dark' images taken four months apart using a 30 second exposure time. In each of these images, taken using a Kodak DCS 315 digital camera, the lens cap was left on the camera, isolating the additive noise. It is clear that the noise occurs in the same pixels of each image. It is also apparent that the level of noise differs among the color channels of the image. There is a band-to-band difference in the total number of noise affected pixels and in the size of groups of noisy pixels. The noise in the blue band appears the worst, followed by the red band. Figure 3: 30 Second Image Acquired 12/98 Figure 4: 30 Second Image Acquired 4/99

The fact that the location of the noise doesnít change allowed the identification of pixels that are typically noisy for a particular CCD array. To do this, dark images were obtained as shown in Figures 3 and 4. A threshold for each band of the dark image was determined. Any pixel that had a digital count above the threshold was considered a ëhotí pixel. This was done independently for each color band of the image because the amount and intensity of the noise differs for each band. The trade-off between noise reduction and loss of detail in the image needed to be considered in determining thresholds. While the objective is to filter out all of the noise, if too large of a percentage of the pixels are filtered, image artifacts would be evident. The histogram function in Adobe Photoshop was chosen to determine the threshold for each band. The thresholds chosen are listed in Table I. Table I: Thresholds Color Channel Threshold Digital Count Percentage of Pixels Above Threshold Red 40 7 % Green 30 4 % Blue 60 9 % Noise Reduction Methods Pixel Substitution The first method utilized to reduce the noise consisted of substituting one pixel value for another. A program was written to scan through a dark image looking for pixels with values above the threshold input to the program. These pixels will be referred to as 'hot' pixels. When a hot pixel was found, the program located the lowest pixel value within two pixels from the hot pixel. This pixel was assumed to not typically contain a large noise value and will be referred to as a ëcoldí pixel in this thesis. The locations of each of the hot and cold pixels were recorded in a data file used when processing images. An image was taken with the digital camera characterized earlier. A program was run which opened the image file and the data file containing the hot and cold pixel locations. For each of the hot pixel locations, the digital count in that location was replaced by the value in the corresponding cold pixel. Figures 5 and 6 show the results of the substitution method. A reduction in the amount of noise is evident in the processed image. However, upon close examination of the image, artifacts are seen in the dark areas of the image.

Figure 5: Original 30 Second Image Figure 6: Pixel Substitution Additionally, an artifact was discovered at many of the edges in the image. This artifact, shown in Figure 8, was caused by having a hot pixel in the dark part of the image and the corresponding cold pixel in the lighter area. Figure 7: Original 30 Second Image Figure 8: Pixel Substitution While some reduction in the noise has been achieved, the presence of this edge artifact was unacceptable, so another approach had to found.

Median Filtering in RGB Space Another approach to noise removal in digital images is median filtering. The disadvantage of median filtering an entire image is loss of image sharpness. Figure 7 is an image acquired using an exposure time of thirty seconds. Figure 10 shows the effect of median filtering the entire image using a filter radius of five pixels. The loss of sharpness is apparent. Note the difference in the ability to resolve the text on the books. Even the details of the camera, bag, and the grain of the wood are noticeably blurred. Figure 9: Original 30 Second Image Figure 10: Median Filtered Image (Radius of 5) Making use of the thresholds obtained during Noise Characterization allowed us to apply a median filter to the pixels which are typically noisy. Once the threshold for each band of the image was determined, a binary mask image was created. The mask image contained a value of one for each pixel that was above the threshold in the original dark image and zero elsewhere. The blue channel of the mask image contained the hot pixel locations found in the blue channel of the dark image. The same procedure was followed for the red and green channels. This mask was an important component in the filtering process. The Adobe Photoshop Adjust Threshold command was used for creating the mask images. The filter radius was determined by observation of the size of the noise clusters in a dark image like those in Figures 3 and 4. The radius for each band needed to be large enough to provide a median value that was within acceptable limits. Like the threshold discussed in Noise Characterization, the filter radius needed to be determined separately for each color band. Adobe Photoshop was used to filter each color band of the image. A band was selected, and using the Load Selection command, the corresponding band of the mask image was used to select the pixels which were noisy in the original dark image. The Adobe Photoshop median filter was then used to filter the band. This process was performed for each band of the image. Figure 11 contains the same image seen in Figure 5. In Figure 12, the noise has been removed by selective median filtering. Only the noisy pixels identified by the mask image were filtered using the filter radius appropriate for each color band.

Figure 11: Original 30 Second Image Figure 12: Image Median Filtered in RGB A substantial improvement is seen in the filtered image. Figure 14 shows the edge artifact found using the pixel substitution method. In Figure 15, the same area of the image is shown, this time after selective median filtering. The artifact is not present. Figure 13: Original 30 Second Image Figure 14: Pixel Substitution Figure 1 5: Median Filtered (RGB)

While selective median filtering produced images with a decreased amount of noise, some artifacts were seen. It was decided to investigate using CIE L*a*b* space for the filtering. Median Filtering in CIE L*a*b* Space Both the substitution method and the preliminary median filtering for this research were conducted using RGB color space. A color space transformation to CIE L*a*b* space prior to filtering was used to further optimize our technique. CIE L*a*b* is a uniform color space which is modeled after the human visual system. The L* channel contains the luminance information for the image, while the a* and b* channels contain the chrominance information. (8) The opponent red-green information is contained in the a* channel and the b* channel contains the opponent yellow-blue information. The perception of sharpness for the human visual system is based mostly on the information contained in the luminance (L*) channel. The amount of filtering for that channel was minimized. The L* channel had a much lower noise level than the a* and b* channels and the noise present was mostly in isolated pixels. Most of the additive noise was observed in the chrominance (a* and b*) channels. Both channels exhibited noise clusters; these clusters were larger and more frequent in the b* channel. Because these channels donít contribute significantly to the perceived sharpness, they were filtered aggressively. The noise in the b* channel was so severe that the entire channel was filtered. The a* and b* channels are opponent channels; in a histogram of the channel, the peak of the distribution is found in the middle with tails on each side. Thresholds were found for each side of the peak for the a* channel (no thresholds were used for the b* channel since the entire channel was filtered). A mask image was created for each band and median filtering performed, as was done with the RGB median filtering. The parameters used in the median filtering for CIE L*a*b* space are listed in Table II. Once the filtering had been performed on each band, the image was converted back to RGB space. Table II: Thresholds Color Channel Threshold Digital Count Percentage of Pixels Filtered Filter Radius L* 25 5% 1 a* 128, 146 15% 4 b* N/A 100% 6 Selectively median filtering the image in Figure 16 produced the image shown in Figure 17. The appearance of the noise in the filtered image has diminished substantially. This can be easily seen in the dark areas of the image.

Figure 16: Original 30 Second Image Figure 17: Image Median Filtered (CIE L*a*b*) Figures 18 and 19 offer a comparison between the image filtered in RGB space and the image filtered in CIE L*a*b* space. The image filtered in RGB space appears to be less sharp, but at the magnification of these two images, it is difficult to see much difference. Magnified versions of the images are available by clicking on them. Figure 18: Image Median Filtered in RGB Figure 19: Image Median Filtered (CIE L*a*b*)

Figures 20 and 21, however, show the difference well. The text in Figure 21 is sharper that in Figure 20. The CIE L*a*b* filtered image also appears to have less artifacts and remaining noise. The artifacts in the RGB filtered image are very apparent in the text and the dark line of the book. Figure 20: Image Median Filtered in RGB Figure 21: Image Median Filtered (CIE L*a*b*) Figure 22 shows an image acquired using an exposure time of 4 seconds. No noise filtering has been done to the image. Figure 24 contains an image acquired using an exposure time of 30 seconds and selectively median filtering the noise in CIE L*a*b* space. Again, since the difference is difficult to see at this resolution, magnified versions of the images are available by clicking the images. A comparison of the two images shows that by selectively median filtering the 30 second image, it is comparable to the image taken using a 4 second exposure.

Figure 22: Original 4 Second Image Figure 23: Image Median Filtered (CIE L*a*b*) Conclusion This senior project has investigated techniques to reduce the amount of noise in digital images acquired using long exposure times. Pixel substitution was tried, but caused artifacts in the edge and dark areas which were unacceptable. Selective median filtering in RGB color space produced much better results. Some artifacts and loss of sharpness were seen, however. Filtering in CIE L*a*b* space produced the best results without an objectionable amount of image degradation. This can be done by completing the follows steps: 1. Capture a dark image using the digital camera. 2. Convert the dark image to CIE L*a*b* space. 3. Determine thresholds and a filter radius for each band of the image. 4. Create a mask image for the camera. For each pixel that was above the threshold in the dark image, set the corresponding mask pixel value to one. For pixels below the threshold in the dark image, the mask value is set to zero. 5. Use Adobe Photoshop to open the image to be filtered. 6. For each band of the image, select the pixels that are set to one in the mask image (using the Load Selection command). 7. Apply the Adobe Photoshop median filter to the selected pixels. 8. Convert the image back to RGB space. This research project has shown that the amount of noise present in images acquired using a long exposure time can be significantly decreased by selectively median filtering the images in CIE L*a*b* space. This technique has been found to decrease the amount of additive noise without apparent loss of sharpness. This will enable not only the practical use of longer exposure times, but higher equivalent ISO ratings, as well. Table of Contents

References [1] "A Short Course in Digital Photography", Curtin Dennis P., http://www.shortcourses.com [2] Eastman Kodak Company, Kodak Professional DCS 315 Digital Camera Userís Guide, 1998 [3] Aaland Mikkel, Digital Photography, Random House, New York, 1992 [4] Mitra Sunanda, Zamora Giberto, "Lossless Coding of Color Images Using Color Space Transformations", Proceedings of the Eleventh IEEE Symposium on Computer-Based Medical Systems, 1998. [5] Zheng J., Valavanis K.P., Gaush J.M., "Noise Removal From Color Images", Journal of Intelligent and Robotic Systems, Vol. 7, No. 1, June 1993. [6] Pollaris Marc, A Guide to Digital Photography, Agfa-Gevaert, Belgium, 1996 [7] Birdsall Todd, "The Development of an Analytical Model for the Kodak Digital Science Color Infrared Cameras and Its Aerial Imaging Applications", M.S. Project, Rochester Institute of Technology, 1997 [8] Hunt R.W.G., The Reproduction of Colour, Fountain Press, Kingston-upon-Thames, 1995 [9] Parsiani, Hamed,"Isolated Noise Detection and Reduction in Color Images", Midwest Symposium on Circuits and Systems Proceedings of the 36th Midwest Symposium on Circuits and Systems, Vol.1, August 1993 [10] Digital Camera Product Specifications, Eastman Kodak Company, http://www.kodak.com Table of Contents