Creation of a digital image from an analog signal. Analog-Digital Converter (ADC)

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Spatial Filtering (Chapter 3)
Image Processing Lecture 4
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Image Processing
Image Processing A brief introduction (by Edgar Alejandro Guerrero Arroyo)
Digital Imaging and Image Analysis
EE 4780 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Digital Image Processing
IMAGE ENHANCEMENT AND RESTORATION. Pixel operations.
Chapter 4: Image Enhancement
E.G.M. PetrakisFiltering1 Linear Systems Many image processing (filtering) operations are modeled as a linear system Linear System δ(x,y) h(x,y)
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Image enhancement in the spatial domain. Human vision for dummies Anatomy and physiology Wavelength Wavelength sensitivity.
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Digital Image Processing
Image Enhancement.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Digital Image Characteristic
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Spectral contrast enhancement
Radiometric Correction and Image Enhancement
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
By Meidika Wardana Kristi, NRP  Digital cameras used to take picture of an object requires three sensors to store the red, blue and green color.
Spatial Filtering: Basics
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
Seeram Chapter #3: Digital Imaging
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
School of Computer Science Queen’s University Belfast Practical TULIP lecture next Tues 12th Feb. Wed 13th Feb 11-1 am. Thurs 14th Feb am. Practical.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Digital Image Processing Lecture 10: Image Restoration
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
More digital reading explaining LUT RT 244 Perry Sprawls, Ph.D. Professor Emeritus Department of Radiology Emory University School of.
1 CMPB 345: IMAGE PROCESSING DISCRETE TRANSFORM 2.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
More digital 244 wk 12 Perry Sprawls, Ph.D. Professor Emeritus Department of Radiology Emory University School of Medicine Atlanta, GA,
EE 7730 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Image Enhancement Band Ratio Linear Contrast Enhancement
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Fundamentals of Spatial Filtering:
Image Deblurring and noise reduction in python
Filtering – Part I Gokberk Cinbis Department of Computer Engineering
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Other Algorithms Follow Up
Image Processing - in short
Digital Image Processing
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Image Enhancement in the Spatial Domain
Image Processing, Lecture #8
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Image Processing, Lecture #8
Grey Level Enhancement
Department of Computer Engineering
Intensity Transformation
Image Enhancement in the Spatial Domain
Presentation transcript:

Creation of a digital image from an analog signal. Analog-Digital Converter (ADC)

Pixel Saturation: Saturation Saturation can be described by the fact that no pixel can be darker than pure black (i.e. value = 0) nor brighter than absolute white (i.e. greater than 255 or 4095 or 65,535)

Pixel Saturation: Once a pixel’s value is saturated it can no longer provide useful information

Histograms The data contained in a digital image can be displayed as a histogram which is a plot of the pixel values ranging from black to white versus the number of pixels that have that particular value.

Low Contrast image (pixels concentrated in a narrow, central values) High Contrast image (many pixels clustered at the extremes of the value range)

Good contrast (even distribution)

One can take an image with a narrow contrast range and expand it to cover the entire range of black to white in a process known as contrast stretching.

Histograms The display values of those pixels (i.e. how they will appear on the viewing screen) is determined by the display curve. In the histogram to the left a pixel value of 68 would have a display value of 68. The display curve is straight with a slope of 1.00

The slope of the display curve relative to the pixel values can be varied in any number of ways. This is known as a “gamma” correction and can be used to expand the display of either the dark (  1) portion of the image.

Slope = Gamma correction can be easily adjusted in many image processing programs by choosing the midpoint of display on the histogram of pixel values and thus changing the slope of the display curve.

micro.magnet.fsu.edu/primer/digitalimaging/index.html

Another way of altering the way an image is displayed involves the use of a Look-Up Table or “LUT” in which the value of the input pixel is changed to a new value in the output. Thus a new image matrix is created with new values for each pixel.

This affords much greater control over the displayed image. A)Inverted image B) All pixels below 100 are black C) All pixels between 64 and 120 are black

In applying a color LUT to this image pixels of specific values are displayed as red.

Color LUTs or “CLUT” can be complex and apparently random but if later passed through an inverse CLUT the original image can be restored

Why would having additional bit-depth be important when the human eye can only detect about 100 shades of grey anyhow? X-ray of Breast Contrast Enhanced Subtle differences in grey levels contain information

The fact that digital images are data matrices means that functions can be applied to them. A new data matrix based on the intensity of the pixels in the background can be subtracted from the original matrix and the resultant matrix is then contrast stretched to produce an image in which the distracting background has been substracted.

Dodging and Burning: Selectively increase or decreasing the brightness of a subset of pixels.

Clone Stamp: Selectively copy a portion of the matrix onto another portion of the image.

Clone Stamp: Selectively copy a portion of the matrix onto another portion of the image.

Having increased bit-depth also allows one to take advantage of sophisticated image processing.

Image Processing:

Spatial Convolution (image processing) An image processing operation that is used to spatially filter an image. A convolution is defined by a kernel that is a small matrix of fixed numbers. The size of the kernel (3x3, 5x5, 7x7, 9x9) the numbers within it, and a single normalizer value define the operation that is applied to the image. The kernel is applied to the image by placing the kernel over the image to be convolved and sliding it around to center it over every pixel in the original image. At each placement the numbers (pixel values) from the original image are multiplied by the kernel number that is currently aligned above it.

Image Processing: The operation, as defined by the kernel, is applied to all pixels in the original data matrix with the exception of those pixels that form the edge of the matrix. A new output matrix of the same size, but with different pixel values results.

Image Processing: The sum of all these products is tabulated and divided by the kernel's normalizer. This result is placed into the new image at the position of the kernel's center. The kernel is translated to the next pixel position and the process repeats until all image pixels have been processed. As an example, a 3x3 kernel holding all 1's with a normalizer of 9 performs a neighborhood averaging operation. Each pixel in the new image is the average of its 9 neighbors from the original.

529  9 = 59

Sharpening The sharpness of a digital image refers to the degree of clarity in both coarse and fine specimen detail.

micro.magnet.fsu.edu/primer/digitalimaging/index.html

First apply apply a color LUT to a greyscale image. Image processing can be a complex combination of processes

The lowpass averaging filter can be selected from 3x3 up to 255x255 neighborhoods. All pixels included in the filters size are added up, the result is divided by the number of pixels.

The Gauss filter can be selected from 3x3 up to 7x7 kernel size. It performs a weighted sum (center pixel = highest weight). The result is normalized by total kernel weight.

Process / Filters / Median With a kernel size of 3x3 the resulting value is the median (number 5 out of the sorted list of 9). In contrast to lowpass filters, the median keeps edges and removes single pixel errors (like hot pixels) completely.

Laplace (8 connected) The Laplace Filter weights the difference between the center pixel and its neighbors

Sharpen (8 connected) Based on the Laplace Filter, the Sharpen Filter includes/adds the original image (center pixels weight one above Laplace)

Sobel The Sobel filter enhances edges in all directions. It is implemented through two independent convolutions with the left kernel (once rotated by about 90°). The results of each kernel are combined to form the final result

Prewitt The Prewitt filter performs a similar operation as the Sobel Filter (90° kernel rotate)

The exact sequence of processing steps can bring about a profound change, and improvement, in the image.

The spatial domain is represented by the conventional image. The processes of adjusting contrast, sharpening, background removal, etc. are all forms of spatial convolution. We can also process the data in the image matrix in its frequency domain using algorithms developed by Joseph Fourier Joseph Fourier ( ) ( )

A Fourier Fast Transform (FFT) converts an image into a display of frequencies displayed as an energy spectrum. This can be done optically an an electron diffraction pattern is an example of this, the spacing of dots indicating their frequency and the brightness of the dots indicating the intensity.

A FFT can be created of the spatial domain and if there is a frequency it will show up as dots.

If the size and brightness of the spots is increased the frequency will be enhanced but not changed.

If the processed FFT is once again put through a Fourier transform (inverse FFT) an altered image of the original spatial domain is recreated.

Inverse FFT Original Inverse FFT Original

Likewise the intensity of the spots can be reduced and an inverse FFT will result in the reduction of the apparent frequencies such as chatter in a TEM section.

Ethics of Digital Image Processing: Although most of what can now be accomplished in the way of image manipulation was possible by way of clever darkroom technique it is now much easier to falsify a digital image.

Rules of Image Processing: 1. Save the original unaltered image. For your own sanity you should only process duplicates of the original and the original image should be made available for others to examine. NOT 2. Process only as needed. The removal of artifacts is acceptable if it does NOT alter the data contained in the image. Processing for emphasis (i.e. colorization) is generally acceptable. EACH 3. Document EACH step. Your materials and methods should specify precisely which steps were taken in processing the image.

Use of Color in Electron Micrographs: Microheater Blood Clot HIV budding from cell

Use of Color in Electron Micrographs: Drosophila melanogaster By David Scharf