Recap CSC508.

Slides:



Advertisements
Similar presentations
電腦視覺 Computer and Robot Vision I
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Document Image Processing
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Chapter 9: Morphological Image Processing
Some Basic Morphological Algorithm
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
Each pixel is 0 or 1, background or foreground Image processing to
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
IS THERE A MORE COMPUTATIONALLY EFFICIENT TECHNIQUE FOR SEGMENTING THE OBJECTS IN THE IMAGE? Contour tracking/border following identify the pixels that.
Processing Digital Images. Filtering Analysis –Recognition Transmission.
1 Binary Image Analysis Binary image analysis consists of a set of image analysis operations that are used to produce or process binary images, usually.
Binary Image Analysis: Part 2 Readings: Chapter 3: mathematical morphology region properties region adjacency 1.
Lectures 10&11: Representation and description
Chapter 11 Representation and Description. Preview Representing a region involves two choices: In terms of its external characteristics (its boundary)
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
1. Binary Image B(r,c) 2 0 represents the background 1 represents the foreground
Digital Image Processing
Machine Vision for Robots
OBJECT RECOGNITION. The next step in Robot Vision is the Object Recognition. This problem is accomplished using the extracted feature information. The.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
Digital Image Processing Lecture 20: Representation & Description
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Chap 3 : Binary Image Analysis. Counting Foreground Objects.
S EGMENTATION FOR H ANDWRITTEN D OCUMENTS Omar Alaql Fab. 20, 2014.
CS 6825: Binary Image Processing – binary blob metrics
ENT 273 Object Recognition and Feature Detection Hema C.R.
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Digital Image Processing CSC331
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
Digital Image Processing CCS331 Relationships of Pixel 1.
1 Binary Image Analysis Binary image analysis consists of a set of image analysis operations that are used to produce or process binary images, usually.
CSC508 What You Should Be Doing Code, code, code –Programming Gaussian Convolution Sobel Edge Operator.
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
Low level Computer Vision 1. Thresholding 2. Convolution 3. Morphological Operations 4. Connected Component Extraction 5. Feature Extraction 1.
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham
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.
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.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
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.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Chapter 6 Skeleton & Morphological Operation. Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
 After an image has been segmented into regions by methods such as those discussed in image segmentation chapter, the segmented pixels usually are represented.
Digital Image Processing CCS331 Relationships of Pixel 1.
Sheng-Fang Huang Chapter 11 part I.  After the image is segmented into regions, how to represent and describe these regions? ◦ In terms of its external.
1. 2 What is Digital Image Processing? The term image refers to a two-dimensional light intensity function f(x,y), where x and y denote spatial(plane)
CSSE463: Image Recognition Day 9
COMP 9517 Computer Vision Binary Image Analysis 4/15/2018
Image Representation and Description – Representation Schemes
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
IT472: Digital Image Processing
Mean Shift Segmentation
Binary Image processing بهمن 92
CSSE463: Image Recognition Day 9
Binary Image Analysis: Part 2 Readings: Chapter 3:
CSSE463: Image Recognition Day 9
Representation and Description
Computer and Robot Vision I
Computer and Robot Vision I
CS654: Digital Image Analysis
Presentation transcript:

Recap CSC508

Low Level Vision Input Processing Output Image sensor data Neighborhood operators Mathematical operators Local contextual operators Output Pixel based features CSC508

Mid Level Vision Input Processing Output Pixel based features Statistical operators Mathematical operators Global contextual operators Output Objects CSC508

Mid-Level Vision CSC508

Intensity Region Segmentation CSC508

Homogeneous Intensity Regions Areas of constant intensity within the image May represent Objects Regions of interest Computed by [one method among many] Binarization Connected component analysis CSC508

Binarization (revisited) Original Gray Level Image Binary Image CSC508

Binarization (revisited) CSC508

Region Formation 1 2 3 4 Original Gray Level Image Marked Region Image CSC508

Boundary Information Original Gray Level Image Region Boundary Image CSC508

Finding Regions via Connected Component Analysis In the input image the intensity of each region may be arbitrary In the binarized image the intensity of each region is 255 (maximum, or at least different from the background) The goal of connected component analysis is to “label” the pixels of each connected region with a value unique to that region CSC508

Connected Component Analysis A simple recursive “flood-fill” algorithm will do the trick but… It is slow A large object will overflow the stack (memory intensive) Smarter algorithms can be found in the computer graphics, graph theory, and image processing literature CSC508

Connected Component Analysis One algorithm works as follows: Pass 1: Assign labels to each object pixel Keep track of neighboring labels that belong to the same object Pass 2: Rectify associations Pass 2 is somewhat complex and comes from a language parsing algorithm – I won’t describe the details here CSC508

Connected Component Analysis 1 2 3 4 Original Gray Level Image Marked Region Image CSC508

Connected Component Analysis Note that this image is “ideal” You might expect images as such in a manufacturing environment In less than ideal cases objects may get broken up or merged by thin lines, etc. Correction can be made through the use of Morphological operators Erosion Dilation More on Morphological operators next week CSC508

Boundary Extraction Once you have identified regions it is [conceptually] simple to extract their boundaries Find the upper-left most pixel of the region “Walk around” the region always keeping it to your right Keep track of the directions you step along the way (north, south, east, or west) Stop when you return back to the beginning This creates a chain-code of the region boundary From the chain-code you can compute the perimeter length and other descriptors CSC508

Boundary Chain-Code “*” marks the starting point (upper-left most pixel of the region) Resultant chain-code is NEEESESSSWSSWSWWWWNNNNEESENWN Resultant perimeter is 30 N E E E * S E N S N E E/W E N S N S E W S N S N W S W W W W S CSC508

Region Description CSC508

Object Description Now that we have identified objects we need a way to describe them that will facilitate recognition CSC508

Moments A set of descriptors for representing the shape of an object Typically applied to an identified region but may be used with gray-level CSC508

Discrete Case Moment of an region (general definition) Central moments 0 if not in region 1 if in region (Object centroid) CSC508

Central Moments First few central moments: CSC508

Moment Features Centroids (average x and y locations) Principle axis orientation CSC508

Convex Hull Another useful shape descriptor The smallest convex border encasing the object Think of stretching a rubber band around the outside of the object and letting it wrap around it This will be the convex hull Input to the algorithm is a set of points These are the boundary points found previously CSC508

Region Descriptors Region: 1 Convex Hull Area: 27753.0 xBar: 171.26 yBar: 131.89 theta: -32.87 perimeter: 1098 Convex Hull Perimeter: 812 CSC508

Region Descriptors Region: 2 Convex Hull Area: 10390.0 xBar: 230.82 yBar: 252.99 theta: 87.51 perimeter: 580 Convex Hull perimeter: 515 CSC508

Region Descriptors Region: 3 Convex Hull Area: 8049.0 xBar: 362.24 yBar: 223.76 theta: -6.62 perimeter: 411 Convex Hull perimeter: 322 CSC508

Region Descriptors Region: 4 Convex Hull Area: 11203.0 xBar: 357.98 yBar: 378.14 theta: -27.80 perimeter: 648 Convex Hull perimeter: 520 CSC508

Region Descriptors Region: 5 Convex Hull Area: 14880.0 xBar: 92.5 yBar: 366.5 theta: 0.0 perimeter: 492 Convex Hull perimeter: 484 CSC508

Other Features Average Intensity Circularity or Compactness p: perimeter, a: area CSC508

Things To Do Reading for Next (few) Week(s) Chapter 14 – Segmentation by Clustering We’ll consider various clustering methods Chapter 15 – Segmentation by Models We’ll analyze the Hough Transform CSC508

Things To Do Homework Convex Hull Find an algorithm for computing the convex hull of a set of points Describe the algorithm in words Test the code Boundary Extraction Write the code to trace the boundary (chain code) of a specified region Print out the chain code symbols (start pixel row, column followed by a sequence of N E W S directions) Moments Code the μ00, μ10, μ01, μ11, μ20, μ02 moments You may write in any programming language you choose Deliverables: Zipped images in email Email the source code to reinhart@clunet.edu with the subject line CSC508 PROGRAM 3 Due beginning of class in two weeks (late assignments will be penalized 10%) I will post test images CSC508