Quadtrees, Octrees and their Applications in Digital Image Processing.

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

GR2 Advanced Computer Graphics AGR
Digital Color 24-bit Color Indexed Color Image file compression
電腦視覺 Computer and Robot Vision I
Digital Image Processing
Image Processing Lecture 4
Lecture 07 Segmentation Lecture 07 Segmentation Mata kuliah: T Computer Vision Tahun: 2010.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Computer Vision Lecture 16: Region Representation
Chapter 5 Raster –based algorithms in CAC. 5.1 area filling algorithm 5.2 distance transformation graph and skeleton graph generation algorithm 5.3 convolution.
Computer Graphics1 Quadtrees & Octrees. Computer Graphics2 Quadtrees n A hierarchical data structure often used for image representation. n Quadtrees.
Quadtrees, Octrees and their Applications in Digital Image Processing
Data Structures For Image Analysis
COMP322/S2000/L181 Pre-processing: Smooth a Binary Image After binarization of a grey level image, the resulting binary image may have zero’s (white) and.
1 Learning to Detect Objects in Images via a Sparse, Part-Based Representation S. Agarwal, A. Awan and D. Roth IEEE Transactions on Pattern Analysis and.
Text Detection in Video Min Cai Background  Video OCR: Text detection, extraction and recognition  Detection Target: Artificial text  Text.
3. Introduction to Digital Image Analysis
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Segmentation Divide the image into segments. Each segment:
Face Detection: a Survey Speaker: Mine-Quan Jing National Chiao Tung University.
Objective of Computer Vision
Quadtrees, Octrees and their Applications in Digital Image Processing
Highlights Lecture on the image part (10) Automatic Perception 16
Objective of Computer Vision
Computer Vision Basics Image Terminology Binary Operations Filtering Edge Operators.
The Segmentation Problem
Smart Traveller with Visual Translator for OCR and Face Recognition LYU0203 FYP.
Multiple Object Class Detection with a Generative Model K. Mikolajczyk, B. Leibe and B. Schiele Carolina Galleguillos.
Feature extraction Feature extraction involves finding features of the segmented image. Usually performed on a binary image produced from.
Brief overview of ideas In this introductory lecture I will show short explanations of basic image processing methods In next lectures we will go into.
Image Segmentation by Clustering using Moments by, Dhiraj Sakumalla.
Multiclass object recognition
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Computer Vision Lecture 5. Clustering: Why and How.
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
CAP 5415 Computer Vision Fall 2004
CS 6825: Binary Image Processing – binary blob metrics
HOUGH TRANSFORM Presentation by Sumit Tandon
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
DIGITAL IMAGE PROCESSING
Chapter 10 Image Segmentation.
Stylization and Abstraction of Photographs Doug Decarlo and Anthony Santella.
Digital imaging By : Alanoud Al Saleh. History: It started in 1960 by the National Aeronautics and Space Administration (NASA). The technology of digital.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
Digital Image Processing CSC331 Morphological image processing 1.
Autonomous Robots Vision © Manfred Huber 2014.
Digital imaging By : Alanoud Al Saleh. History: It started in 1960 by the National Aeronautics and Space Administration (NASA). The technology of digital.
1 Machine Vision. 2 VISION the most powerful sense.
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
What is Digital Image processing?. An image can be defined as a two-dimensional function, f(x,y) # x and y are spatial (plane) coordinates # The function.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Digital Image Processing
Detecting Image Features: Corner. Corners Given an image, denote the image gradient. C is symmetric with two positive eigenvalues. The eigenvalues give.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
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)
Copyright ©2008, Thomson Engineering, a division of Thomson Learning Ltd.
COMP 9517 Computer Vision Segmentation 7/2/2018 COMP 9517 S2, 2017.
3D Object Representations
Mean Shift Segmentation
Computer Vision Lecture 5: Binary Image Processing
Computer Vision Lecture 16: Texture II
Brief Review of Recognition + Context
Department of Computer Engineering
Ceng466 Fundamentals of Image Processing
Outline Announcement Perceptual organization, grouping, and segmentation Hough transform Read Chapter 17 of the textbook File: week14-m.ppt.
Overview of Modeling 김성남.
Presentation transcript:

Quadtrees, Octrees and their Applications in Digital Image Processing

Hierarchical Data Structures for Computer Vision and Image Processing Definition of pyramids Explanation of Quadtrees and Octrees Techniques used for generation Applications

What is a pyramid? A(0) A(1) A(2) 2 2 * * 2 1 Pyramid is a sequence of arrays

2 2 * * * 2 0 Example of a four layer pyramid

2 3 * 2 3 Layer 3 Example of a four layer pyramid

How partitioning is done? 1 partitioned to 2 2 = 4

How pyramid is build? From top to bottom From bottom to top Always recursively Good exercise in recursion and arrays Treat image as a Boolean or discrete function, what is the counterpart of these type of recursions?

We will build a pyramid from top For simplicity, dimension = 2 Partitioning at any level i from i-1 can be done by defining a two-dimensional array A(i) for the i-th level

The partitioning Algorithm Cell (j,k) at level i-1

The partitioning Algorithm

Pyramids are interlinked (for instance by indices) sequences of arrays with hierarchy. Similarly we can create trees to define this hierarchy Trees can be more convenient for processing Pyramids versus trees

Types of pyramids: quadtree and octree

Recursive Tree Decomposition Think how to write this software in Lisp

Construction of the quadtree We get an image represented by a quadtree

Trees can be well manipulated in software, for instance in Lisp Advantages of the quadtree

Disadvantages of the quadtree

Structure of an Octree Octrees are to represent three- dimensional robot environments

Structure of an Octree

Advantages of the Octrees

Applications of these data structures The quadtree, octree and binary tree decomposition methods are widely used in two and three dimension image processing and computer graphics Some of the application areas involve: the image data structure, region representation, picture segmentation, component labeling, image smoothing, image enhancement, data compression

Pattern recognition Shape analysis Image segmentation Region matching Images can be represented with pyramids and thus, both local and global feature extraction is possible Applications of these data structures

Application to pattern recognition

We want to know where is B located structurally in our image

We got here the structure of our environment

Tree Decomposition in Pattern Classification Tree decomposition can be used not only in image space but in transform space or feature space

Tree Decomposition in Pattern Classification

Application of trees to Edge Detection The edge detection task can be accomplished by applying a point-neighborhood operator or the edge detector to every point of a large matrix The algorithm for this works as follows: An edge detector is applied at each point in the starting level At each point, if the value exceeds a threshold, the operation is applied to the descendants of the point in the next finer level. Starting from top

Application of trees to Feature Detection Pyramides are used for feature detection Pyramides are used for feature extraction Pyramides limit scope of the search

The disadvantage of this method is that the reduction of resolution will affect the visual appearance of edges and small objects In particular, at a coarser level of resolution: edges tend to get smeared and region separation may disappear Application of trees to Feature Detection

Extracting compact objects using trees Many image analysis tasks require the extraction of compact objects from a background, where the shapes of the desired objects are not known, compact except for the fact that they are compact Image segmentation using pyramids can be applied to extract such objects. “Spot detectors” are applied to image at each level of the pyramid: this is equivalent to applying spot detectors of many sizes to full- resolution image

Extracting compact objects using trees

Three sets of information are represented in the pyramid structure 1. Gray level 2. Edge magnitude and direction 3. Surroundedness The interaction between the different types of information at each level of the pyramid leads to the final segmentation Extracting compact objects using trees

Using Quadtrees to Smooth Images noise of various kinds Digital images usually contain noise of various kinds. Most image processing tasks are simplified if noise is removed A general approach to noise removal is to smooth the image Smoothing Smoothing is done by replacing each pixel value by a new value which is a function of the values in some neighborhood of the pixel.

Using Quadtrees to Smooth Images Method 1 Method 2 See next slides

Using Quadtrees to Smooth Images

Smoothing becomes hierarchical in trees

Using Quadtrees to Smooth Images Method 2 1. Constructs a quadtree from an image 2. Replaces each pixel by the gray level of the leaf to which each corresponds Using Quadtrees to Smooth Images

Hierarchical Coding of Binary Images using trees Hierarchical Coding = to segment a picture into the largest possible uniform areas and to transmit a hierarchical representation of these areas. Quadtrees can be used for coding Pictures with large uniform areas can be highly compressed

The transmission result can be recreated by the receiver as soon as sufficient information about transmitted picture has been gathered Hierarchical Coding of Binary Images using trees

Quadtree Compression

ww W=white B=black G = goto ground Second level

Hierarchical Coding of Binary Images GGGWWBBWBWGWGWWWBBWWW