Quadtrees, Octrees and their Applications in Digital Image Processing

Slides:



Advertisements
Similar presentations
GR2 Advanced Computer Graphics AGR
Advertisements

Representing Boolean Functions for Symbolic Model Checking Supratik Chakraborty IIT Bombay.
電腦視覺 Computer and Robot Vision I
Huffman code and ID3 Prof. Sin-Min Lee Department of Computer Science.
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
Mining for High Complexity Regions Using Entropy and Box Counting Dimension Quad-Trees Rosanne Vetro, Wei Ding, Dan A. Simovici Computer Science Department.
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.
EE663 Image Processing Edge Detection 5 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
3. Introduction to Digital Image Analysis
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Segmentation Divide the image into segments. Each segment:
Objective of Computer Vision
Objective of Computer Vision
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.
Introduction to Image Processing Grass Sky Tree ? ? Review.
Presented by Tienwei Tsai July, 2005
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Computer Vision Lecture 5. Clustering: Why and How.
Recognition using Regions (Demo) Sudheendra V. Outline Generating multiple segmentations –Normalized cuts [Ren & Malik (2003)] Uniform regions –Watershed.
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
CAP 5415 Computer Vision Fall 2004
Chapter 14: SEGMENTATION BY CLUSTERING 1. 2 Outline Introduction Human Vision & Gestalt Properties Applications – Background Subtraction – Shot Boundary.
S EGMENTATION FOR H ANDWRITTEN D OCUMENTS Omar Alaql Fab. 20, 2014.
Digital Image Processing & Analysis Spring Definitions Image Processing Image Analysis (Image Understanding) Computer Vision Low Level Processes:
HOUGH TRANSFORM Presentation by Sumit Tandon
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
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.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
DIGITAL IMAGE PROCESSING
Quadtrees, Octrees and their Applications in Digital Image Processing.
Chapter 10 Image Segmentation.
Stylization and Abstraction of Photographs Doug Decarlo and Anthony Santella.
Digital Image Processing & Analysis Fall Outline Sampling and Quantization Image Transforms Discrete Cosine Transforms Image Operations Image Restoration.
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.
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.
Chapter 3 Special Section Focus on Karnaugh Maps.
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
Revision Mid 1 Prof. Sin-Min Lee Department of Computer Science.
Multi resolution Watermarking For Digital Images Presented by: Mohammed Alnatheer Kareem Ammar Instructor: Dr. Donald Adjeroh CS591K Multimedia Systems.
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.
Detecting Image Features: Corner. Corners Given an image, denote the image gradient. C is symmetric with two positive eigenvalues. The eigenvalues give.
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.
Mean Shift Segmentation
Computer Vision Lecture 5: Binary Image Processing
Brief Review of Recognition + Context
Department of Computer Engineering
Ceng466 Fundamentals of Image Processing
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) 2 1 * 2 1 A(2) 2 2 * 2 2

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

Example of a four layer pyramid 2 3 * 2 3

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?

Another Way of Partitioning 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 versus trees 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

Types of pyramids: quadtree and octree

Recursive Tree Decomposition Think how to write this software in Lisp

Construction of the quadtree

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

Disadvantages of the quadtree

Structure of an Octree

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

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

Application to pattern recognition

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

Tree Decomposition in Pattern Classification

Application 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.

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

Application to Feature Detection 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

Extracting compact objects Many image analysis tasks require the extraction of compact objects from a background, where the shapes of the desired objects are not known, 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

Extracting compact objects 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

Using Quadtrees to Smooth Images Digital images usually contain noise of various kinds. Most image processing tasks are simplified if noise removed A general approach to noise removal is to smooth the image Smoothing 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

Using Quadtrees to Smooth Images

Using Quadtrees to Smooth Images

Using Quadtrees to Smooth Images

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

Hierarchical Coding of Binary Images 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

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

Quadtree Compression

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

Hierarchical Coding of Binary Images

Hierarchical Coding of Binary Images A bit assignment can be selected for the symbols The coding can also be extended to three dimensions with the use of octrees

Problems to solve: Use pyramide for edge detection Treat a large (12 variables) Karnaugh Map as an image. What is the counterpart of Shannon Decomposition in terms of binary trees? Generalize to 4-valued logic and show link to quadtrees Generalize to 8-valued logic and show link to octrees Disscuss general links between discrete functions, images and compression methods.

Problems to solve: Use octree to represent the space for robot manipulator Use this space description to plan precise assembling operations.

References

References

References

References