Content-Based Image Indexing Joel Ponianto Supervisor: Dr. Sid Ray.

Slides:



Advertisements
Similar presentations
Patient information extraction in digitized X-ray imagery Hsien-Huang P. Wu Department of Electrical Engineering, National Yunlin University of Science.
Advertisements

Relevance Feedback and User Interaction for CBIR Hai Le Supervisor: Dr. Sid Ray.
Image Retrieval: Current Techniques, Promising Directions, and Open Issues Yong Rui, Thomas Huang and Shih-Fu Chang Published in the Journal of Visual.
The A-tree: An Index Structure for High-dimensional Spaces Using Relative Approximation Yasushi Sakurai (NTT Cyber Space Laboratories) Masatoshi Yoshikawa.
Image content analysis Location-aware mobile applications development Spring 2011 Paras Pant.
Computer vision: models, learning and inference Chapter 13 Image preprocessing and feature extraction.
Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
Computer Vision Lecture 16: Region Representation
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
2-dimensional indexing structure
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.
Content-based Image Retrieval CE 264 Xiaoguang Feng March 14, 2002 Based on: J. Huang. Color-Spatial Image Indexing and Applications. Ph.D thesis, Cornell.
Image Search Presented by: Samantha Mahindrakar Diti Gandhi.
An efficient and effective region-based image retrieval framework Reporter: Francis 2005/5/12.
Segmentation Divide the image into segments. Each segment:
Image Segmentation. Introduction The purpose of image segmentation is to partition an image into meaningful regions with respect to a particular application.
Face Detection: a Survey Speaker: Mine-Quan Jing National Chiao Tung University.
1 Visual Information Extraction in Content-based Image Retrieval System Presented by: Mian Huang Weichuan Dong Apr 29, 2004.
Techniques and Data Structures for Efficient Multimedia Similarity Search.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Multiple Object Class Detection with a Generative Model K. Mikolajczyk, B. Leibe and B. Schiele Carolina Galleguillos.
Content-based Image Retrieval Hai Le Supervisor: Sid Ray.
Thresholding Thresholding is usually the first step in any segmentation approach We have talked about simple single value thresholding already Single value.
Tal Mor  Create an automatic system that given an image of a room and a color, will color the room walls  Maintaining the original texture.
Fast Subsequence Matching in Time-Series Databases Christos Faloutsos M. Ranganathan Yannis Manolopoulos Department of Computer Science and ISR University.
Image segmentation by clustering in the color space CIS581 Final Project Student: Qifang Xu Advisor: Dr. Longin Jan Latecki.
R-Trees: A Dynamic Index Structure for Spatial Data Antonin Guttman.
Introduction to Image Processing Grass Sky Tree ? ? Review.
Wavelet-Based Multiresolution Matching for Content-Based Image Retrieval Presented by Tienwei Tsai Department of Computer Science and Engineering Tatung.
Spatial Data Management Chapter 28. Types of Spatial Data Point Data –Points in a multidimensional space E.g., Raster data such as satellite imagery,
Multimedia Information Retrieval
Image Retrieval Part I (Introduction). 2 Image Understanding Functions Image indexing similarity matching image retrieval (content-based method)
Content-Based Image Retrieval
1Ellen L. Walker Segmentation Separating “content” from background Separating image into parts corresponding to “real” objects Complete segmentation Each.
CS 6825: Binary Image Processing – binary blob metrics
Texture. Texture is an innate property of all surfaces (clouds, trees, bricks, hair etc…). It refers to visual patterns of homogeneity and does not result.
CSE 185 Introduction to Computer Vision Pattern Recognition 2.
COLOR HISTOGRAM AND DISCRETE COSINE TRANSFORM FOR COLOR IMAGE RETRIEVAL Presented by 2006/8.
M- tree: an efficient access method for similarity search in metric spaces Reporter : Ximeng Liu Supervisor: Rongxing Lu School of EEE, NTU
Chapter 6: Information Retrieval and Web Search
IEEE Int'l Symposium on Signal Processing and its Applications 1 An Unsupervised Learning Approach to Content-Based Image Retrieval Yixin Chen & James.
Data Extraction using Image Similarity CIS 601 Image Processing Ajay Kumar Yadav.
Antonin Guttman In Proceedings of the 1984 ACM SIGMOD international conference on Management of data (SIGMOD '84). ACM, New York, NY, USA.
CS654: Digital Image Analysis
Non-Photorealistic Rendering and Content- Based Image Retrieval Yuan-Hao Lai Pacific Graphics (2003)
2005/12/021 Content-Based Image Retrieval Using Grey Relational Analysis Dept. of Computer Engineering Tatung University Presenter: Tienwei Tsai ( 蔡殿偉.
The Implementation of Markerless Image-based 3D Features Tracking System Lu Zhang Feb. 15, 2005.
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
1 A Compact Feature Representation and Image Indexing in Content- Based Image Retrieval A presentation by Gita Das PhD Candidate 29 Nov 2005 Supervisor:
Image Emotional Semantic Query Based On Color Semantic Description Wei-Ning Wang, Ying-Lin Yu Department of Electronic and Information Engineering, South.
CS848 Similarity Search in Multimedia Databases Dr. Gisli Hjaltason Content-based Retrieval Using Local Descriptors: Problems and Issues from Databases.
Magic Camera Master’s Project Defense By Adam Meadows Project Committee: Dr. Eamonn Keogh Dr. Doug Tolbert.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
Yixin Chen and James Z. Wang The Pennsylvania State University
1 CSIS 7101: CSIS 7101: Spatial Data (Part 1) The R*-tree : An Efficient and Robust Access Method for Points and Rectangles Rollo Chan Chu Chung Man Mak.
Query by Image and Video Content: The QBIC System M. Flickner et al. IEEE Computer Special Issue on Content-Based Retrieval Vol. 28, No. 9, September 1995.
Relevance Feedback in Image Retrieval System: A Survey Tao Huang Lin Luo Chengcui Zhang.
1 Review and Summary We have covered a LOT of material, spending more time and more detail on 2D image segmentation and analysis, but hopefully giving.
1 R-Trees Guttman. 2 Introduction Range queries in multiple dimensions: Computer Aided Design (CAD) Geo-data applications Support special data objects.
Spatial Data Management
DIGITAL SIGNAL PROCESSING
Mean Shift Segmentation
Content-based Image Retrieval
Histogram—Representation of Color Feature in Image Processing Yang, Li
Content-Based Image Retrieval
Content-Based Image Retrieval
An Infant Facial Expression Recognition System Based on Moment Feature Extraction C. Y. Fang, H. W. Lin, S. W. Chen Department of Computer Science and.
Color Image Retrieval based on Primitives of Color Moments
Color Image Retrieval based on Primitives of Color Moments
Presentation transcript:

Content-Based Image Indexing Joel Ponianto Supervisor: Dr. Sid Ray

Outline Introduction to Content-Based Image Indexing Image’s Features Extraction Tree Structure System Model Retrieval Approach Experiment Results Conclusion

Introduction to Content-Based Indexing Content-Based Image Indexing (CBII) is an interrelated issue with Content-Based Image Retrieval (CBIR). CBIR depends on CBII and vice versa. CBIR focus on how to retrieve image accurately and efficiently. While CBII concern with how to support retrieval process.

Introduction to Content-Based Image Indexing Cont… CBiI as pre-process of CBIR sequences. Cannot ignore retrieval process to create good indexing structure. The idea of indexing is similar with a library Every book has a unique id Every book has properties

Introduction to Content-Based Image Indexing Cont… Examples: title, author, publisher, etc Those properties are used to search the book. People know it as “keyword” Similar idea with images, however not that simple. Cannot represent an image with simple text. (can but not make sense)

Introduction to Content-Based Image Indexing Cont… How to represent an image? By using its properties such as, colour, shape, texture and others. Choose which properties need to be extracted for indexing purpose ( and also retrieval). Also choose which method to extract those properties / features.

Image’s Features Extraction Cont… Colour, shape and texture have their own sub- features. Colour: grey level, RGB/HUE value, grey sigma, local histogram and average colour value. Shape: area, centroid, circularity and moment invariant. Texture: contrast, orientation and anisotropy.

Image’s Features Extraction Cont… The selection of features is also effected by the data set. what we want to achieve at the retrieval stage is effected by the data set. If the data set is full of houses’ image and a user want to look for a car image. Try to select features that can differentiate each class in the data set.

Image’s Features Extraction Cont… For this project I select the following features: – Colour Sigma (Global) – Edge density (Global) – Colour Average (Global) – Boolean edge Density (Global) – Edge Direction (Global) – Region area (Region) – Moment invariant (Region) – Grey level (Region)

Image’s Features Extraction Cont… Colour Sigma – Find the standard deviation (σ) of the image, for each colour layer.

Image’s Features Extraction Cont… Edge Density – Enhance the pixels that belong to the edges and boundaries by using a standard edge detector. Pixels far from edges will drop to 0 and those near to an edge will increase to max. calculate the mean pixel value of the resultant image. Colour Average – Sum all the pixel value for each colour layer and divide by the number of pixel.

Image’s Features Extraction Cont… Boolean Edge Density – From above edge density, the image is thresholded so that what could be called edge pixels are white (1) and non-edge pixels are black (0). Count white pixel in the image. Edge Direction – With some edge detection (Sobel Operator), allow us to make a crude estimation of a edge direction for particular region.

Image’s Features Extraction Cont… Area, Grey Value and moment invariant – These features is calculate on regional basis. – The region is calculated with combination of “k- mean clustering” and “Connected Component labelling Algorithm” – Calculate a grey level value of an image and perform the k-mean clustering. – Use the connectivity algorithm to group similar grey value by its location.

Image’s Features Extraction Cont… ments/momentEquations.html ments/momentEquations.html I use the first four of seven invariant moment for this project.

Image’s Features Extraction Cont…

Quantisation – To be suitable for computer processing and features extraction (colour), an image must be digitized in amplitude. – The idea is to reduce the colour space while gaining the ability to localize colour information spatially. – this project applies quantisation at HSV colour space.

Image’s Features Extraction Cont…

RGB to HSV – Let RGB values ranged from 0 to 1 and MIN/MAX corresponds with RGB values.

Image’s Features Extraction Cont… HSV to RGB – H range from – V and S range from 0 – 1 – If S == 0 then RGB = V Else use next formula

Image’s Features Extraction Cont…

Tree Structure There are many choices of tree structures that can handle multi-dimensional space. Such as R-Tree, R*-Tree and Vp-Tree We look at R-Tree tree structure: – This project used R-Tree to simplify the computation. – Other tree structures can be use on the system.

Tree Structure Cont… R-Tree (Antonin Guttman) – A R-Tree is a height balance tree and all leaves are on the same level. – Root node has at least two children unless it is the leaf node. – Every non-leaf node contains between m and M entries unless it is the root. – For each entries (I, childnode-pointer) in a non-leaf node, I is the smallest rectangle that spatially contains all rectangles in its child nodes. – Every leaf node contains between m and M index records unless it is the root. – For each index record (I, tuple-identifier) in a leaf node, I is the smallest rectangle that spatially contains the n-dimensional data object represented by the indicated tuple.

Tree Structure Cont…

System Model Put into data base Original Image Quantised Image K-mean clustering Binary ThresholdApply Global features extraction. Connected Component labelling Apply Region features extraction. Insert into tree structure

System Model Cont… The System input around 300 images into the data base. Those images is divided into 10 different classes: animal, car, flower, face, fruit, house, lake, mountain, plane and sunset. Store into persistence storage.

System Model Cont… In the “binary threshold” stage, I attempt to separate the background image with the object. Although this stage is very weak, but in some images. The result can be helpful (and possible the other way around).

System Model Cont… Binary Threshold good result

System Model Cont… Binary Threshold bad result

Retrieval Approach Query sequence Query Image Global Extraction Region Extraction Pre-process stage Find similarity with data set Display the result in ascending order

Retrieval Approach Cont… For finding similarity, I use Euclidean distance measure formula: Where: – p is the database image – q is the query image – P i is the database images i th features – Q i is the query’s i th features – n is the number of features – W” is the weight for i th feature W” i

Retrieval Approach Cont… w’ i is the weight of feature i from relevant images (σ i ) is the standard deviation of feature i from relevant images w’ t is the total weight of feature I w” t is the normalised weight

Retrieval Approach Cont… Gaussian Normalisation (for feature normalization): – d’(f i,f j ) is the similarity of image f i and f j, range in [-1, 1] – σ ij and μ ij are the standard deviation and mean of each feature respectively. – d”(f i,f j ) is to make d’(f i,f j ) in range [0, 1]

Experiment Result Go to Excel fileExcel file m1-m8 only use global features m3 uses colour avg, colour sigma and edge density m2 uses colour avg and colour sigma m8 uses colour sigma and edge density m9 use region features + m3

Conclusion Indexing depend on retrieval and vice versa No universal system / method for indexing or retrieval. We can try to develop something that robust. Indexing base on regional features give better result then global features. With more time, more result can be produced.

Reference Kompatsiaris, I., Triantafillou, E. and Strintzis, M. G., “Region-Based Color Image Indexing and Retrieval”, 2001 Parker, J. R., Behm, B., “Use of Multiple Algorithm in Image Content Searches”, International Conference on Information Technology: Coding and Computing (ITCC’04) Volume2 p.246. Smith, J. R., Chang, S., “Single Color Extraction and Image Query”, International Conference on Image Processing (ICIP-95), Washington, DC, Oct, Park, J. M., Looney, C. G., Chen, H. C., ”Fast Connected Component Labeling Algorithm Using A Divide and Conquer Technique”, Technical Report, 2000 Chiueh, T., "Content-Based Image Indexing," in Proceedings of International Very Large DataBase Conference, VLDB '94, Santiago, Chile, September, Gonzalez, R. C. and Woods, R. E., “Digital Image Processing”, 1993, Addison- Wesley Publishing Company, inc, 3 rd edition.