Digital Image Fundamentals Faculty of Science Silpakorn University.

Slides:



Advertisements
Similar presentations
Digital Image Processing Exercise 1.
Advertisements

Image Processing Ch2: Digital image Fundamentals Part 2 Prepared by: Tahani Khatib.
電腦視覺 Computer and Robot Vision I
Digital Image Processing
Teaching assistant: Yimo Guo Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 1.
Digital Image Processing Lecture 12: Image Topology
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
Digital Image Processing Chapter 2: Digital Image Fundamentals.
Digital Image Fundamentals
Chapter 2 Digital Image Fundamentals. Outline Elements of Visual Perception Light and the Electromagnetic Spectrum Image Sensing and Acquisition Image.
1 Image Processing(IP) 1. Introduction 2. Digital Image Fundamentals 3. Image Enhancement in the spatial Domain 4. Image Enhancement in the Frequency Domain.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP3 Digital Images Miguel Tavares Coimbra.
Chapter 3 Binary Image Analysis. Types of images ► Digital image = I[r][c] is discrete for I, r, and c.  B[r][c] = binary image - range of I is in {0,1}
Digital Image Processing
Digital Image Processing
Digital Image Processing Lecture 2
Digital Image Processing in Life Sciences March 14 th, 2012 Lecture number 1: Digital Image Fundamentals.
CS 6825: Binary Image Processing – binary blob metrics
Digital Image Fundamentals II 1.Image modeling and representations 2.Pixels and Pixel relations 3.Arithmetic operations of images 4.Image geometry operation.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Chapter Two Digital Image Fundamentals. Agenda: –Light and Electromagnetic Spectrum –Image Sensing & Acquisition –Image Sampling & quantization –Relationship.
Digital Image Processing CCS331 Relationships of Pixel 1.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Chapter 10 Image Segmentation.
Introduction Image geometry studies rotation, translation, scaling, distortion, etc. Image topology studies, e.g., (i) the number of occurrences.
3. Image Sampling & Quantisation 3.1 Basic Concepts To create a digital image, we need to convert continuous sensed data into digital form. This involves.
Digital Image Processing (DIP) Lecture # 5 Dr. Abdul Basit Siddiqui Assistant Professor-FURC 1FURC-BCSE7.
Ch1: Introduction Prepared by: Tahani Khatib AOU
Medical Image Processing & Neural Networks Laboratory 1 Medical Image Processing Chapter 2 Digital Image Fundamentals 國立雲林科技大學 資訊工程研究所 張傳育 (Chuan-Yu Chang.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Image Acquisition.
Computer Vision Introduction to Digital Images.
Digital Image Processing In The Name Of God Digital Image Processing Lecture2: Digital Image Fundamental M. Ghelich Oghli By: M. Ghelich Oghli
CS654: Digital Image Analysis Lecture 5: Pixels Relationships.
Image Processing Ch2: Digital image Fundamentals Prepared by: Tahani Khatib.
CS 376b Introduction to Computer Vision 02 / 11 / 2008 Instructor: Michael Eckmann.
CS654: Digital Image Analysis Lecture 4: Basic relationship between Pixels.
Digital Topology CIS 601 Fall 2004 Longin Jan Latecki.
Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham
ISAN-DSP GROUP Digital Image Fundamentals ISAN-DSP GROUP What is Digital Image Processing ? Processing of a multidimensional pictures by a digital computer.
Digital Image Processing
CSSE463: Image Recognition Day 9 Lab 3 (edges) due Weds, 3:25 pm Lab 3 (edges) due Weds, 3:25 pm Take home quiz due Friday, 4:00 pm. Take home quiz due.
SECTION 2 BINARY OPERATIONS Definition: A binary operation  on a set S is a function mapping S X S into S. For each (a, b)  S X S, we will denote the.
Some Basic Relationships Between Pixels Definitions: –f(x,y): digital image –Pixels: q, p –Subset of pixels of f(x,y): S.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 11 Representation and.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
Image Processing Chapter(3) Part 1:Relationships between pixels Prepared by: Hanan Hardan.
Relationship between pixels Neighbors of a pixel – 4-neighbors (N,S,W,E pixels) == N 4 (p). A pixel p at coordinates (x,y) has four horizontal and vertical.
Digital Image Processing CCS331 Relationships of Pixel 1.
What is Digital Image Processing?
Image Sampling and Quantization
Some Basic Relationships Between Pixels
Digital Image Fundamentals
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
Miguel Tavares Coimbra
IMAGE PROCESSING Questions and Answers.
Mean Shift Segmentation
Computer Vision Lecture 5: Binary Image Processing
T490 (IP): Tutorial 2 Chapter 2: Digital Image Fundamentals
Pixel Relations.
Digital Image Fundamentals
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Subject Name: IMAGE PROCESSING Subject Code: 10EC763
Computer and Robot Vision I
Digital Image Fundamentals
Digital Image Processing
Digital Image Fundamentals
Computer and Robot Vision I
Computer and Robot Vision I
Miguel Tavares Coimbra
Presentation transcript:

Digital Image Fundamentals Faculty of Science Silpakorn University

Overviews  Elements of Visual Perception  Term of image  Sampling and Quantization

Term of image  Pixel  Resolution  Neighbor of pixels  Space and Frequency  Vector

PIXEL  Pixel is a smallest component of digital image  Pixel is a color point of digital image  An image should be comprised of many Pixels.

PIXEL

RESOLUTION  How quality of image  With the same size of picture –If high resolution, high memory is required to store data –If low resolution, less memory is required to store data  Its unit is call “point per inch”

RESOLUTION

Digital Image Representation x y f(x,y)

Neighbors of a pixel  Neighbors of pixel are the pixels that are adjacent pixels of an identified pixel.  Each pixel is a unit distance from the particular pixel.  Some of the neighbors of pixel lie outside the digital image if its position is on the border of the image.

Pixel at coordinate (column x, row y) can be represented by f(x,y) Pixel at the 7 th column and 4 th row is yellow color Zoom 1600%

4-neighbors of pixel  4-neighbors of pixel is denoted by N 4 (p)  It is set of horizontal and vertical neighbors f(x,y) is a yellow circle f(x,y-1) is top one f(x-1,y) is left one f(x+1,y) is right one f(x,y+1) is bottom one (x-1) (y-1) (y+1) (x+1)(x) (y)

Diagonal neighbors of pixel  Diagonal neighbors of pixel is denoted by N D (p)  It is set of diagonal neighbors f(x,y) is a yellow circle f(x-1,y-1) is top-left one f(x+1,y-1) is top-right one f(x-1,y+1) is bottom-left one f(x+1,y+1) is bottom-right one (x-1) (y-1) (y+1) (x+1)(x) (y)

8-neighbors of pixel  8-neighbors of pixel is denoted by N 8 (p)  4-neighbors and Diagonal neighbors of pixel f(x,y) is a yellow circle (x-1,y-1), (x,y-1),(x+1,y-1), (x-1,y), (x,y), (x+1,y), (x-1,y+1),(x,y+1), (x+1,y+1) (x-1) (y-1) (y+1) (x+1)(x) (y)

Connectivity  Establishing boundaries of objects and components of regions in an image.  Group the same region by assumption that the pixels being the same color or equal intensity will are the same region

Connectivity  Let C is the set of colors used to define  There are three type of connectivity:  4-Connectivity : 2 pixels (p and q) with value in C are 4-connectivity if q is in the set N 4 (p)  8-Connectivity : 2 pixels (p and q) with value in C are 8-connectivity if q is in the set N 8 (p)  M-Connectivity : 2 pixels (p and q) with value in C are 8-connectivity if (i)Q is in N 4 (p), or (ii)Q is in N D (p) and the set N 4 (p) ∩ N 4 (q) is empty

Binary Image Represent

Example 4-Connectivity  Set of color consists of color 1 ; C ={1}

Example 8-Connectivity  Set of color consists of color 1 ; C ={1}

Example M-Connectivity  Set of color consists of color 1 ; C ={1}

Distance Measure  For pixels p, q, and z, with coordinates (x,y), (s,t) and (u,v) respectively, D is a distance function or metric if (a)D(p,q) ≥ 0 and (b)D(p,q) = 0 iff p = q and (c)D(p,q) = D(q,p) and (d)D(p,z) ≤ D(p,q) + D(q,z)

The D 4 Distance  Also called city-block distance  Calculate between p and q is defined as D 4 (p,q) = | p x - q x | + | p y - q y |

The D 8 Distance  Also called city-block distance  Calculate between p and q is defined as D 8 (p,q) = max(| p x - q x |,| p y - q y |)

Labeling of connected Components  Scan an image pixel by pixel from left to right and top to bottom  There are 2 types of connectivity interested  4-connectivity  8-connectivity  Equivalent labeling

Step: 4-connected components  P is pixel scanned process  If pixel p is color value 0 move on the next scaning  If pixel p is color value 1 examine pixel top and left –If top and left were 0, assign a new label to p –If only one of them’re 1, assign its label to p –If both of them’re 1 and have the same number, assign their label to p Different number, assign label of top to p and make note that two label is equivalent  Sort all pairs of equivalent labels and assign each equivalent to be same type

Example 4-connected components Equivalent Table

Step: 8-connected components  Steps are same as 4-connected components  But the pixel that are consider is 4 previous pixels ( top-left, top, top-right, and left )

Example 8-connected components

Multi-Color Labeling  Well define the group of color clearly and independency.  Then label each group independency.

Example Multi-Color labeling แทน 0 แทน 1 แทน 2 แทน 3 Group of color 1 st Group consists of 1 2 nd Group consists of 2 3 rd Group consists of 3

Color Labeling 1 st Group

Color Labeling 2 st Group

Color Labeling 3 st Group

Exercise  If we want to label red and yellow is the same group.  How many label we can get?