Image Similarity Presented By: Ronak Patel Guided By: Dr. Longin Jan Latecki.

Slides:



Advertisements
Similar presentations
1 RTL Example: Video Compression – Sum of Absolute Differences Video is a series of frames (e.g., 30 per second) Most frames similar to previous frame.
Advertisements

Flash Animation Using Linear Transformations By Kevin Hunter Kevin Hunter Marcus Yu Marcus Yu.
Learning Techniques for Video Shot Detection Under the guidance of Prof. Sharat Chandran by M. Nithya.
Hongliang Li, Senior Member, IEEE, Linfeng Xu, Member, IEEE, and Guanghui Liu Face Hallucination via Similarity Constraints.
[Image Similarity Based on Histogram] Wang wan 581 Project Prof. Longin Jan Latecki.
CS324e - Elements of Graphics and Visualization Color Histograms.
Color Image Processing
Tracking Features with Large Motion. Abstract Problem: When frame-to-frame motion is too large, KLT feature tracker does not work. Solution: Estimate.
Morris LeBlanc.  Why Image Retrieval is Hard?  Problems with Image Retrieval  Support Vector Machines  Active Learning  Image Processing ◦ Texture.
Raster Data. The Raster Data Model The Raster Data Model is used to model spatial phenomena that vary continuously over a surface and that do not have.
Eleven colors and rasters. Color objects [color name] Returns color with the specified name [color red green blue] Returns color with the specified amounts.
Original image: 512 pixels by 512 pixels. Probe is the size of 1 pixel. Picture is sampled at every pixel ( samples taken)
CS Instance Based Learning1 Instance Based Learning.
Radial-Basis Function Networks
1 Activity and Motion Detection in Videos Longin Jan Latecki and Roland Miezianko, Temple University Dragoljub Pokrajac, Delaware State University Dover,
Software Engineering Project Fruit Recognition Zheng Liu.
Image Segmentation by Clustering using Moments by, Dhiraj Sakumalla.
Image segmentation by clustering in the color space CIS581 Final Project Student: Qifang Xu Advisor: Dr. Longin Jan Latecki.
Co mputer Graphics Researched via: Student Name: Nathalie Gresseau Date:12/O7/1O.
 PUBLIC SCHOOL CHOICE RESOLUTION June 2012 Los Angeles Unified School District Parents’ Guide to Using the Achievement & Growth Tool to Identify High.
CpSc 881: Information Retrieval. 2 Recall: Term-document matrix This matrix is the basis for computing the similarity between documents and queries. Today:
Digital Image Processing CCS331 Relationships of Pixel 1.
Image Similarity Longin Jan Latecki CIS Dept. Temple Univ., Philadelphia
Chapter 4 Review: Manipulating Matrices Introduction to MATLAB 7 Engineering 161.
Jaruloj Chongstitvatana Advanced Data Structures 1 Index Structures for Multimedia Data Feature-based Approach.
MUSTAFA OZAN ÖZEN PINAR SAĞLAM LEVENT ÜNVER MEHMET YILMAZ.
2005/12/021 Content-Based Image Retrieval Using Grey Relational Analysis Dept. of Computer Engineering Tatung University Presenter: Tienwei Tsai ( 蔡殿偉.
Bart M. ter Haar Romeny.  Question: can top-points be used for object- retrieval tasks?
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
Chapter 2: Getting to Know Your Data
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
1 Motion Analysis using Optical flow CIS601 Longin Jan Latecki Fall 2003 CIS Dept of Temple University.
Student Name: Honghao Chen Supervisor: Dr Jimmy Li Co-Supervisor: Dr Sherry Randhawa.
COMPUTER GRAPHICS. Once you scan an image or take a picture with your digital camera, it becomes digitized. Made up of hundreds of thousands of pixels.
Content-Based Image Retrieval (CBIR) By: Victor Makarenkov Michael Marcovich Noam Shemesh.
1 Machine Vision. 2 VISION the most powerful sense.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES Warm Up Read pp up to and including the box labeled.
FRACTIONS & SHAPES BY:. How many of these are colored red? * out of *.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
ISAN-DSP GROUP Digital Image Fundamentals ISAN-DSP GROUP What is Digital Image Processing ? Processing of a multidimensional pictures by a digital computer.
Semi-Supervised Learning with Graph Transduction Project 2 Due Nov. 7, 2012, 10pm EST Class presentation on Nov. 12, 2012.
Introduction to Scale Space and Deep Structure. Importance of Scale Painting by Dali Objects exist at certain ranges of scale. It is not known a priory.
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
COMPUTER GRAPHICS AND LINEAR ALGEBRA AN INTRODUCTION.
Digital Image Fundamentals
Robust Image Hashing Based on Color Vector Angle and Canny Operator
- Introduction - Graphics Pipeline
Histograms CSE 6363 – Machine Learning Vassilis Athitsos
Color Image Processing
Color Image Processing
Multimedia Content-Based Retrieval
Color Image Processing
Histogram—Representation of Color Feature in Image Processing Yang, Li
Image Retrieval Longin Jan Latecki.
Content-Based Image Retrieval
Content-Based Image Retrieval
Fall 2012 Longin Jan Latecki
Color Image Processing
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Color Image Processing
Matrices.
Digital Image Processing
Digital Image Processing Week III
Edge Detection Using ICA
Evaluating Reliability of Motion Features in Surveillance Videos
Research Institute for Future Media Computing
CSC1401 Manipulating Pictures 2
CIS Dept. Temple Univ., Philadelphia
CIS Dept. Temple Univ., Philadelphia
Presentation transcript:

Image Similarity Presented By: Ronak Patel Guided By: Dr. Longin Jan Latecki

Pixel Based Image Similarity Typically, done by computing, for each image, a vector containing the values of an attribute and computing the distance between image feature vectors. Here we have considered the color: Red, Green and Blue. Color Image is a 3-D Matrix, and we can represent it with three 2-D Matrices: - Red color intensity for each pixel - Green color intensity for each pixel - Blue color intensity for each pixel We then compare the three matrices with the corresponding matrices of the other image. Compared using 5 methods, get a similarity measure for the three colors: Red, Green, Blue and all the three. Compare the resulting measure to a similar measure of another image.

Pre-processing Resize: In order to compare two pictures, we have to have image matrices of same size. Retrieve the three 2-D matrix for each color from the 3-D image matrix. Get the vector form for each matrix

Comparison Method I Let f and g be two matrices representing a particular color intensity of an image. A measure of similarity is the Euclidean Distance between two images is: function im_1=scale1(im11d,im21d) im = (im11d - im21d).* (im11d-im21d); im = sum(im); im_1=sqrt(im); return;

Let c(a,x,y) be a particular color value of the pixel (x,y) in image ‘a’. The measure of similarity is the Manhattan Distance: Comparison Method II function im_2= scale2(im11d,im21d) im_2= sum(abs(im11d - im21d)); return;

Comparison Method III Another measure of similarity is: function im=scale3(im11d,im21d) im = (im11d - im21d).* (im11d-im21d); im = sum(im); return;

Comparison Method IV We can use statistical mean and variance to add stability to pixel to pixel image difference: function spd = scale4(im11d,im21d) d_abxy=im11d-im21d; if(d_abxy ==0) spd =0; else d_ab=sum(d_abxy)/8960; sd=sum((d_abxy-d_ab).*(d_abxy-ab))/8959; spd=abs(94.657*d_ab/sqrt(sd)); end return;

Comparison Method V Let v(a) be a vector of all c(a,x,y) values assigned to all pixels in the image a. Image similarity can be expressed as normalized inner products of such vectors. Since it yields maximum values for equal frames, a possible disparity measure is: function imd5=scale5(imd11, imd21) imd_dot = imd11 * imd21'; imd_norm = norm(imd11)* norm(imd21); imd5 = 1-(imd_dot/imd_norm); return;

Image Database Consists of 100 images. 100 shots taken from four different movies Images 1-40 : Mr. Bean's Christmas Images 41-70: S hots from House Tour Images 71:90: Shots of squares on a desk Images 91:100: S hots from a Kylie Minogue interview

Results Input an index no. Gives me Results, sorted out with the most similar image first. Outputs a retrieval plot: original image vs sorted result

Image query: 40 (house tour) Result by method I

Results Method 1 and Method 3, give almost similar results. Method 2 gives less accurate results than Methods 1 and 2 because these methods seem to amplify the differences. Method 5 does not give as good results as expected. Method 4, is the best and gives very good results, close to human perception. It is also similar to the hist-based results. This is because, in the picture dataset I am working with, there is a lot of pixel-based difference due to the difference in position of the objects due to motion. Methods 1 and 3 (pixel differences) give good results when there is not much of relative pixel changes.