EC-433 Digital Image Processing

Similar documents
Digital Image Processing

Interpolation is a basic tool used extensively in tasks such as zooming, shrinking, rotating, and geometric corrections.

Topological structure of images

Topological structure of images

UNIT-2 IMAGE REPRESENTATION IMAGE REPRESENTATION IMAGE SENSORS IMAGE SENSORS- FLEX CIRCUIT ASSEMBLY

Basic relations between pixels (Chapter 2)

Advances in Digital Imaging and Computer Vision

Mathematical Morphology and Distance Transforms. Robin Strand

ME 261: Numerical Analysis Lecture-12: Numerical Interpolation

Lecture 2 Image Processing and Filtering

Image and Multidimensional Signal Processing

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

Image Enhancement: To improve the quality of images

Topic 6 Representation and Description

International Journal of Advance Engineering and Research Development. Applications of Set Theory in Digital Image Processing

Image Analysis. Morphological Image Analysis

Morphological Image Processing

Chapter - 2 : IMAGE ENHANCEMENT

Broad field that includes low-level operations as well as complex high-level algorithms

Digital Image Processing COSC 6380/4393

Computer Assisted Image Analysis TF 3p and MN1 5p Lecture 1, (GW 1, )

Morphological Image Processing

Edges, interpolation, templates. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

ECE 178: Introduction (contd.)

Image Zooming using Cubic Spline Interpolation Method

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

Digital Image Processing. Introduction

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

Chapter 2 - Fundamentals. Comunicação Visual Interactiva

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering

Chapter 18. Geometric Operations

Part 3: Image Processing

Image Analysis. 1. A First Look at Image Classification

Natural Numbers and Integers. Big Ideas in Numerical Methods. Overflow. Real Numbers 29/07/2011. Taking some ideas from NM course a little further

Morphological Image Processing

Ulrik Söderström 17 Jan Image Processing. Introduction

Digital Image Processing. Lecture # 3 Image Enhancement

CITS 4402 Computer Vision

CPSC 4040/6040 Computer Graphics Images. Joshua Levine

Lecture 1 Introduction & Fundamentals

LECTURE NOTES - SPLINE INTERPOLATION. 1. Introduction. Problems can arise when a single high-degree polynomial is fit to a large number

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms

EE795: Computer Vision and Intelligent Systems

Operators-Based on Second Derivative double derivative Laplacian operator Laplacian Operator Laplacian Of Gaussian (LOG) Operator LOG

09/11/2017. Morphological image processing. Morphological image processing. Morphological image processing. Morphological image processing (binary)

ECG782: Multidimensional Digital Signal Processing

Topic 4 Image Segmentation

Texture Mapping. Texture (images) lecture 16. Texture mapping Aliasing (and anti-aliasing) Adding texture improves realism.

lecture 16 Texture mapping Aliasing (and anti-aliasing)

Edge linking. Two types of approaches. This process needs to be able to bridge gaps in detected edges due to the reason mentioned above

Blacksburg, VA July 24 th 30 th, 2010 Georeferencing images and scanned maps Page 1. Georeference

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

Sampling and Reconstruction

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Digital Image Fundamentals II

Lecture #5. Point transformations (cont.) Histogram transformations. Intro to neighborhoods and spatial filtering

Parameterization. Michael S. Floater. November 10, 2011

Digital Image Processing Chapter 11: Image Description and Representation

MR IMAGE SEGMENTATION

Rotation and Interpolation

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition.

Computer Vision & Digital Image Processing. Image segmentation: thresholding

morphology on binary images

Chapter 3: Intensity Transformations and Spatial Filtering

ECG782: Multidimensional Digital Signal Processing

Biomedical Image Analysis. Mathematical Morphology

Brightness and geometric transformations

Edges, interpolation, templates. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

Digital Image Processing COSC 6380/4393

Image Segmentation. Schedule. Jesus J Caban 11/2/10. Monday: Today: Image Segmentation Topic : Matting ( P. Bindu ) Assignment #3 distributed

Handwritten Script Recognition at Block Level

Subset Warping: Rubber Sheeting with Cuts

Contents.

Chapter 10: Image Segmentation. Office room : 841

CS4670: Computer Vision

Computergrafik. Matthias Zwicker. Herbst 2010

OCR For Handwritten Marathi Script

Canvas-Grid A new approach to NWP data visualization in NinJo

Edges and Lines Readings: Chapter 10: better edge detectors line finding circle finding

CONTENT ADAPTIVE SCREEN IMAGE SCALING

Querying Data with Transact-SQL

Direction-Length Code (DLC) To Represent Binary Objects

Detection of Edges Using Mathematical Morphological Operators

Object Segmentation. Jacob D. Furst DePaul CTI

Morphological Image Processing

What will we learn? What is mathematical morphology? What is mathematical morphology? Fundamental concepts and operations

REGION & EDGE BASED SEGMENTATION

CSE 554 Lecture 6: Fairing and Simplification

Identifying Layout Classes for Mathematical Symbols Using Layout Context

Efficient Nonlinear Image Processing Algorithms

Exercise #5b - Geometric Correction of Image Data

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5

09 - Designing Surfaces. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo

Simulation and Analysis of Interpolation Techniques for Image and Video Transcoding

Chapter 10 Image Segmentation. Yinghua He

Handout 4 - Interpolation Examples

Querying Data with Transact SQL Microsoft Official Curriculum (MOC 20761)

IRIS SEGMENTATION OF NON-IDEAL IMAGES

Morphological Image Processing

CS 335 Graphics and Multimedia. Geometric Warping

Transcription:

EC-433 Digital Image Processing Lecture 4 Digital Image Fundamentals Dr. Arslan Shaukat Acknowledgement: Lecture slides material from Dr. Rehan Hafiz, Gonzalez and Woods

Interpolation Required in image resizing such as shrinking and zooming Using known data to estimate data at unknown points

1D Interpolation Linear Interpolation: Fit a linear function piecewise between the points

1D Interpolation Quadratic: Fit a Quadratic Polynomial between the three points

Interpolation Fitting Polynomial to data points

Nearest Neighbor Interpolation Simply replicate the value from neighboring pixels 1 0 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1

Nearest Neighbor Interpolation Severe distortion of straight edges 1 0 1 1 1 0 1 0 1 1 1 0 0 0 1 1 1 1 0 0 0 1 1 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 0 1 1

Bilinear Interpolation Use the four nearest neighbors to estimate the intensity at a given location

Bicubic Interpolation Involves the 16 nearest neighbors

Comparison of Interpolation Approaches Nearest Neighbor Bi-Linear Bi-Cubic

Basic Pixel Relationships

Neighborhood of a Pixel Co-located in space Not necessarily in intensity value N 4 (p) 4-neighbors Set of horizontal and vertical neighbors (x+1,y), (x-1,y), (x,y+1), (x,y-1) N D (p) diagonal neighbors Set of 4 diagonal neighbors (x+1,y+1), (x+1,y-1), (x-1,y+1), (x-1,y-1) N 8 (p) 8-neighbors Union of N 4 (p) & N D (p)

Neighbors N D (p) N 4 (p) 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Adjacency Two pixels that are neighbours and have the same/(similar) grey-levels are adjacent In a binary image, V = {1} if we are referring to adjacency of pixels with value 1 Two pixels p & q have: 4-Adjacency if q is in the set N 4 (p); p & q belong to V 8-Adjacency if q is in the set N 8 (p); p & q belong to V Diagonal-Adjacency if q is in the set N D (p); p & q belong to V m-adjacency (mixed adjacency): If q is in set N 4 (p); p & q belong to V OR If q is Diagonally-Adjacent BUT p & q DO NOT have any common 4-adjacent neighbours belonging to set V

Adjacency Mixed adjacency is a modification of 8-adjacency and is used to eliminate the multiple path connections that often arise when 8-adjacency is used.

Path A path from pixel p with coordinates (x,y) to pixel q with coordinates (s,t) is a sequence of distinct pixels: (x 0,y 0 ), (x 1,y 1 ),, (x n,y n ), where (x 0,y 0 ) = (x,y), (x n,y n ) = (s,t) (x i,y i ) is adjacent to (x i-1,y i -1 ), for 1 i n n is the length of the path. If (xo, yo) = (xn, yn) closed path 4, 8 and m-paths depending on adjacency m-adjacency pixels m-path Resolves the direction where to go first Preferably m-adjacency

1 1 1 1 8-Path 1 1 1 1 1 1 1 1 1 1

1 1 1 1 m-path 1 1 1 1 1 1 1 1 1 1

1 1 1 1 Closed m-path 1 1 1 1 1 1 1 1 1 1

Connectivity Connectivity in a subset S of an image Two pixels are connected if there is a path between them that lies completely within S Connected Component The set of all pixels in S that are connected to a given pixel Connected Set If S has only one connected component

Connected Components & Connected Set 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Connectivity

Regions In an image sub-section, R is a region if it is a connected set Adjacent Regions Two regions are Adjacent if their union is again a connected set Disjoint Regions Not Adjacent Adjacency to consider: 4 & 8 adjacency

Regions & their adjacency 1 1 1 1 8-Adjacency 1 1 1 1 1 1 1 1 1 1

1 1 1 1 Regions are connected sets The red box is not a region because it is not connected set 1 1 1 1 1 1 1 1 1 1

Labeling Components http://www.cse.msu.edu/~stockman/book/2002/chapters/ch3.pdf

Foreground and Background Let there be K disjoint Regions: R k None touches the image border Let R u be the union of all K-regions Foreground Points in R u Background Complement of Points in R u

1 1 1 1 Light green = Background Yellow = Foreground 1 1 1 1 1 1 1 1 1 1

Inner Boundary Boundary, Contour Set of points of R that are adjacent to points in the complement of R or The set of pixels in R that have at least one neighbor from background Must specify the connectivity Preferably 8-Adjacency

Find the boundary Assuming 4-Adjacency 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Boundary / Contour = GREEN 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Assuming 4-Adjacency Some yellow boxes should be green as well if we consider 8-adjacency Even 8-Adjacency may not form a closed path Assuming 4-Adjacency 1 1 1

To get outer boundary Outer Boundary Let Rc be the background; than Set of points in Rc that are adjacent to points in the R OR The set of pixels in Rc that have at least one neighbor from R Useful for border following algorithms

Inner Boundary / Contour = GREEN Assuming 4-Adjacency 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Assuming 4-Adjacency 4-Adjacent 1 Outer Boundary = Gray 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

8-Adjacnet Outer Boundary = Gray 1 1 Forms closed Path 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

If a region corresponds to the whole image, 1 st and last rows & columns are treated as boundary Difference Edges Intensity Discontinuities Boundaries Closed Path Some Notes