CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©

Slides:



Advertisements
Similar presentations
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Advertisements

Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Spatial Filtering (Chapter 3)
Document Image Processing
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Chapter 9: Morphological Image Processing
Each pixel is 0 or 1, background or foreground Image processing to
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Morphology Structural processing of images Image Processing and Computer Vision: 33 Morphological Transformations Set theoretic methods of extracting.
Chapter 9 Morphological Image Processing. Preview Morphology: denotes a branch of biology that deals with the form and structure of animals and planets.
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering
Segmentation (Section 10.2)
Lectures 10&11: Representation and description
2007Theo Schouten1 Morphology Set theory is the mathematical basis for morphology. Sets in Euclidic space E 2 (or rather Z 2 : the set of pairs of integers)
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
Introduction to Image Processing Grass Sky Tree ? ? Review.
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
Presentation Image Filters
Machine Vision for Robots
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Morphological Image Processing
MATHEMATICAL MORPHOLOGY I.INTRODUCTION II.BINARY MORPHOLOGY III.GREY-LEVEL MORPHOLOGY.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
CS 6825: Binary Image Processing – binary blob metrics
Under Supervision of Dr. Kamel A. Arram Eng. Lamiaa Said Wed
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
Digital Image Processing Chapter 9: Morphological Image Processing 5 September 2007 Digital Image Processing Chapter 9: Morphological Image Processing.
Digital Image Processing CCS331 Relationships of Pixel 1.
Morphological Image Processing
Gianni Ramponi University of Trieste Images © 2002 Gonzalez & Woods Digital Image Processing Chapter 9 Morphological Image.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
Course 2 Image Filtering. Image filtering is often required prior any other vision processes to remove image noise, overcome image corruption and change.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh Mostafa Mahdijo Mostafa Mahdijo ( J.Shanbehzadeh.
Mathematical Morphology
CS654: Digital Image Analysis
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal.
Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
TOPIC 12 IMAGE SEGMENTATION & MORPHOLOGY. Image segmentation is approached from three different perspectives :. Region detection: each pixel is assigned.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Image Visualization. Outline 9.1. Image Data Representation 9.2. Image Processing and Visualization 9.3. Basic Imaging Algorithms Contrast Enhancement.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
CDS 301 Fall, 2008 Domain-Modeling Techniques Chap. 8 November 04, 2008 Jie Zhang Copyright ©
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Morphological Image Processing
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
IMAGE PROCESSING Tadas Rimavičius.
- photometric aspects of image formation gray level images
Digital Image Processing CP-7008 Lecture # 09 Morphological Image Processing Fall 2011.
… Sampling … … Filtering … … Reconstruction …
Volume Visualization Chap. 10 November 20 , 2008 Jie Zhang Copyright ©
Introduction to Morphological Operators
Domain-Modeling Techniques
CS Digital Image Processing Lecture 5
Binary Image processing بهمن 92
Fourier Transform of Boundaries
Review and Importance CS 111.
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Morphological Filters Applications and Extension Morphological Filters
Presentation transcript:

CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©

Image Visualization

Outline 9.1. Image Data Representation 9.2. Image Processing and Visualization 9.3. Basic Imaging Algorithms Contrast Enhancement Histogram Equalization Gaussian Smoothing Edge Detection 9.4. Shape Representation and Analysis Segmentation Connected Components Morphological Operations Distance Transforms Skeletonization

Image Data Representation An image is a well-behaved uniform dataset. An image is a two-dimensional array, or matrix of pixels, e.g., bitmaps, pixmaps, RGB images A pixel is square-shaped A pixel has a constant value over the entire pixel surface The value is typically encoded in 8 bits integer What is an image?

Image Processing and Visualization Image processing follows the visualization pipeline, e.g., image contrast enhancement following the rendering operation Image processing may also follow every step of the visualization pipeline

Basic Image Processing Image enhancement operation is to apply a transfer function on the pixel luminance values Transfer function is usually based on image histogram analysis High-slope function enhance image contrast Low-slope function attenuate the contrast.

(Continued) Image Visualization Chap. 9 November 12, 2009

Basic Image Processing The basic image processing is the contrast enhancement through applying a transfer function

Image Enhancement Linear TransferNon-linear Transfer

Histogram Equalization All luminance values covers the same number of pixels Histogram equalization method is to compute a transfer function such as the resulted image has a near-constant histogram

Histogram Equalization Original ImageAfter equalization

Smoothing Noise can be described as rapid variation of high amplitude Or regions where high-order derivatives of f have large values Noise is usually the high frequency components in the Fourier series expansion of the input signal How to remove noise?

Smoothing Noise image After filtering

Fourier Series For any continuous function f(x) with period T (or x=[0,T]), the Fourier series expansion are: The higher the order n or the frequency, the smaller the amplitudes a n and b n

Fourier Series

Fourier Series

Fourier Transform

Frequency Filtering 1.Computer the Fourier transform F(w x,w y ) of f(x,y) 2.Multiple F by the transfer function Φ to obtain a new function G, e.g., high frequency components are removed or attenuated. 3.Compute the inverse Fourier transform G -1 to get the filtered version of f

Frequency Filtering Frequency filter function Φ can be classified into three different types: 1.Low-pass filter: increasingly damp frequencies above some maximum w max 2.High-pass filter: increasingly damp frequencies below some minimal w min 3.Band-pass filter: damp frequencies with some band [w min,w max ] To remove noise, low-pass filter is used

Gaussian smoothing The most-used low-pass filter is the Gaussian function

Convolution Theorem Frequency filtering is equivalent to the convolution with a filter function g(x)

Edge Detection Original ImageEdge Detection

Edges are curves that separate image regions of different luminance Edges are locations that have high gradient

Edge Detection Edges detection using derivatives

Edge Detection Operators Roberts Operator Sobel Operator: good on noise These are the first-order derivative. Finding edge is to find the high value through thresholding segmentation

Edge Detection Operators Laplacian-based operator: good on producing thin edge Second-order derivative. Finding edge is to find the zero-crossing or minimum.

(Continued) Image Visualization Chap. 9 November 19, 2009

Shape Representation and Analysis Shape Analysis Pipeline

Filtering high-volume, low level datasets into low volume dataset containing high amounts of information Shape is defined as a compact subset of a given image Shape is characterized by a boundary and an interior Shape properties include geometry (form, aspect ratio, roundness, or squareness) Topology (genus, number) Texture (luminance, shading) Shape Representation and Analysis

Segment or classify the image pixels into those belonging to the shape of interest, called foreground pixels, and the remainder, also called background pixels. Segmentation results in a binary image Segmentation is related to the operation of selection, i.e., thresholding Segmentation

Find soft tissueFind hard tissue

Connected Components Find non-local properties Algorithm: start from a given foreground pixels, find all foreground pixels that are directly or indirectly neighbored

To close holes and remove islands in segmented images a: original image b: segmentation c: close holes d: remove island Morphological Operations

Dilation: translate a structuring element (e.g., disc, square) over each foreground pixel of the segmented image Dilation thickens thin foreground regions, and fill holes and close background gaps that have a size smaller than the structuring element R Erosion: the opposite operation of dilation. Erosion is to thin the foreground components, remove island smaller than the structuring element R Morphological Operations

Morphological closing: dilation followed by an erosion Morphological opening: erosion followed by a dilation operation Morphological Operations

Distance Transform

The distance transform DT of a binary image I is a scalar field that contains, at every pixel of I, the minimal distance to the boundary ∂ Ω of the foreground of I Distance Transform

Distance transform can be used for morphological operation Consider a contour line C(δ) of DT Distance Transform δ = 0 … δ > 0 … δ < 0 …

The contour lines of DT are also called level sets Distance Transform ShapeLevel SetsElevation plot

Find the closest boundary points, so called feature points Feature Transform Given a: Feature point is b Given p: Feature points are q 1 and q 2

Skeletonization

Skeletonization: the Goals Geometric analysis: aspect ratio, eccentricity, curvature and elongation Topological analysis: genus Retrieval: find the shape matching a source shape Classification: partition the shape into classes Matching: find the similarity between two shapes

Skeletons are the medial axes Or skeleton S( Ω) was the set of points that are centers of maximally inscribed disks in Ω Or skeletons are the set of points situated at equal distance from at least two boundary feature points of the given shape Skeletonization

Feature Transform Method: Select those points whose feature transform contains more than two boundary points. Skeleton Computation Works well on continuous data Fails on discreate data

Using distance field singularities: Skeleton points are local maxima of distance transform Skeleton Computation

End of Chap. 9 Note: covered all sections except (skeleton in 3D)