Data Extraction using Image Similarity CIS 601 Image Processing Ajay Kumar Yadav.

Slides:



Advertisements
Similar presentations
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advertisements

IEEE Transactions on Consumer Electronics, Vol. 45, No. 1, AUGUST 1999 Muhammad Bilal Ahmad and Tae-Sun Choi, Senior Member,IEEE.
Spatial Filtering (Chapter 3)
Image Processing in Matlab An Introductory Approach by Sabih D. Khan
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
Digital Image Processing
Computer Vision Lecture 16: Region Representation
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Content Based Image Retrieval
6/9/2015Digital Image Processing1. 2 Example Histogram.
Canny Edge Detector.
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Segmentation (Section 10.2)
K-means clustering CS281B Winter02 Yan Wang and Lihua Lin.
Multimedia Systems & Interfaces Karrie G. Karahalios Spring 2007.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Edge Detection Hao Huy Tran Computer Graphics and Image Processing CIS 581 – Fall 2002 Professor: Dr. Longin Jan Latecki.
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Image Features Kenton McHenry, Ph.D. Research Scientist.
Spatial Filtering: Basics
Local invariant features Cordelia Schmid INRIA, Grenoble.
Joon Hyung Shim, Jinkyu Yang, and Inseong Kim
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
SHINTA P. Juli What are edges in an image? Edge Detection Edge Detection Methods Edge Operators Matlab Program.
Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
CSCE 643 Computer Vision: Extractions of Image Features Jinxiang Chai.
Image Segmentation and Edge Detection Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
CS654: Digital Image Analysis
Local invariant features Cordelia Schmid INRIA, Grenoble.
CS654: Digital Image Analysis Lecture 24: Introduction to Image Segmentation: Edge Detection Slide credits: Derek Hoiem, Lana Lazebnik, Steve Seitz, David.
Clustering.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
October 7, 2014Computer Vision Lecture 9: Edge Detection II 1 Laplacian Filters Idea: Smooth the image, Smooth the image, compute the second derivative.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Image Registration Advanced DIP Project
3.7 Adaptive filtering Joonas Vanninen Antonio Palomino Alarcos.
主講者 : 陳建齊. Outline & Content 1. Introduction 2. Thresholding 3. Edge-based segmentation 4. Region-based segmentation 5. conclusion 2.
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
Lecture 04 Edge Detection Lecture 04 Edge Detection Mata kuliah: T Computer Vision Tahun: 2010.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Computer Vision Image Features Instructor: Dr. Sherif Sami Lecture 4.
Digital Image Processing
Digital Image Processing CSC331
September 26, 2013Computer Vision Lecture 8: Edge Detection II 1Gradient In the one-dimensional case, a step edge corresponds to a local peak in the first.
Sliding Window Filters Longin Jan Latecki October 9, 2002.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
1 Edge Operators a kind of filtering that leads to useful features.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Miguel Tavares Coimbra
Edge Detection slides taken and adapted from public websites:
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Introduction Computer vision is the analysis of digital images
Jeremy Bolton, PhD Assistant Teaching Professor
Computer Vision Lecture 9: Edge Detection II
Introduction Computer vision is the analysis of digital images
Image Processing, Lecture #8
a kind of filtering that leads to useful features
a kind of filtering that leads to useful features
Image Processing, Lecture #8
Canny Edge Detector.
Introduction Computer vision is the analysis of digital images
IT472 Digital Image Processing
IT472 Digital Image Processing
Presentation transcript:

Data Extraction using Image Similarity CIS 601 Image Processing Ajay Kumar Yadav

Overview  Segmentation.  Edge Detection.  Contour Mapping.  Image Matching

Segmentation  Segmentation of data is a method by which large sets of data is grouped into clusters of smaller sets of similar data.  Segmentation techniques are also referred as clustering techniques. It attempts to find natural groups of components (or data) based on some similarity.

Common Metric  The distance between two points is taken as a common metric to assess the similarity among the components of a population Euclidean Metric

Type of Algorithms  Hierarchical methods – Minimal Spanning Tree Method  Nonhierarchical methods – K-means Algorithm

K-mean Clustering  Number of segmentations are provided as input to the algorithm.  Depending upon the input value, number of points are chosen which are mutually farthest apart.  Each component of the population is assigned to the respected cluster depending upon the minimum distance.  The centroid's position is recalculated on addition of each new component.

Example – 2 Segment Image

3 Segmented Image

Edge Detection  Edge detection uses the difference in color between the background color and the foreground color. The end result is an outline of the borders.  Edge detection techniques are broadly classified as: Gradient -Detects the edges by looking for the maxima and minima of the first derivative. Laplacian -searches for zero-crossing in the second derivative.

Gradient Method  Sobel: Performs 2D spatial gradient measurement.  Canny: Uses gradient to highlight regions with high spatial derivatives. If gradient of x is zero, depending upon the value of y edge direction would be either 0 or 90.  Robert: Uses 2x2 convolution matrix, one mask is simply rotated by 90. Respond maximally to edge running at 45 to pixel grid.  Prewitt: Similar to sobel. Strength of edge is defined by sum of square of two derivatives.

Laplacian Method  Calculates the second derivative of the image to find the zero crossing.  It also calculates the local variance and compare it with the threshold value. If threshold exceeds declare it as edge.  It’s an lowest order orientation independent operator.

Edge Detection of 2-segment image

Edge Detection of 4-segment image

Contour Mapping  The basic idea is to trace closed contours at each slice of data and then connect between contours in adjacent slices using a mesh of triangles.

Contoured Image Two Level Contoured Image

Image Matching  Recognition of the similar image in the target image.  The approach considered is the crude or brute force method. The assumption is taken that the images do not differ all that much. A point is mapped onto the second image and a window is slided over the neighboring area to determine the resemblance of the corners. If the value passes a certain threshold the match is accepted.

Algorithm:  Find the three Euclidean distances for the source image and the target image: Starting corner, Ending corner, Centroid.  Normalize all the three Euclidean distances for both source and target.  Calculate the correlation coefficient between the similar normalized vectors of source and target.  If image is similar the plot of the output value should be linear and generate a peak.

Image Correlation Similar Image Different Segmentation

Image Correaltion Complete and Partial Image Correlation of Starting data shows some similarity

Image Correlation Dissimilar Images Starting and Ending are near to matching may be because of the posture of the images

Cont’d Dissimilar Image

Conclusion  Segmentation: removes noise and cluster the useful data in one population.  Edge Detection: Differentiate between the foreground and background.  Image similarity is performed on the basis Euclidean correlation between the different Indices value.

Project Files  im_clustering im_clustering (input: Enter number of desired clusters in command window for source image)  Save the data of well defined edges.  Go to step 1 run the im_clustering algorithm for the target image and save the data extracted from edge detection.  [a1,a2,a3] = DistView(edge);DistView (input: saved data of the edge detection, output will be the Euclidean distance array for starting, ending and centroid)  Repeat the same step for target data  [out1,out2,out3]=cor(s1,s2,s3,t1,t2,t3);cor (Input: All the Euclidean distance vector for source and target, output would be the correlation coefficient between source and target for starting, ending and centroid)

References  Digital Image Processing (Rafael Gonzalez & Richard Woods)  The Analysis of Simple k-means Clustering Algorithm (University of Maryland, January 2000)  Contour Detection Based on Non-classical Receptive Field Inhibition (IEEE, Vol. 12, No. 7, July 2003)  Matching and Retrieval Based on the Vocabulary and Grammar of Color Patterns (IEEE, Vol. 9, No. 1, January 2000)  Lecture Slides.