Texture Analysis of Painted Strokes 1) Martin Lettner, Paul Kammerer, Robert Sablatnig

Similar documents
ADAPTIVE TEXTURE IMAGE RETRIEVAL IN TRANSFORM DOMAIN

Neural Network based textural labeling of images in multimedia applications

Texture Analysis and Applications

Handwritten Script Recognition at Block Level

Query by Fax for Content-Based Image Retrieval

A COMPARISON OF WAVELET-BASED AND RIDGELET- BASED TEXTURE CLASSIFICATION OF TISSUES IN COMPUTED TOMOGRAPHY

Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest.

Practical Image and Video Processing Using MATLAB

CHAPTER 3 DIFFERENT DOMAINS OF WATERMARKING. domain. In spatial domain the watermark bits directly added to the pixels of the cover

TEXTURE ANALYSIS USING GABOR FILTERS FIL

Textural Features for Image Database Retrieval

TEXTURE ANALYSIS USING GABOR FILTERS

Texture Segmentation by Windowed Projection

Evaluation of texture features for image segmentation

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Analysis of Irregularly Shaped Texture Regions 1

COLOR TEXTURE CLASSIFICATION USING LOCAL & GLOBAL METHOD FEATURE EXTRACTION

INFORMATION SYSTEMS BASED ON NEURAL NETWORK AND WAVELET METHODS WITH APPLICATION TO DECISION MAKING, MODELING AND PREDICTION TASKS.

FEATURE EXTRACTION TECHNIQUES FOR IMAGE RETRIEVAL USING HAAR AND GLCM

TEXT DETECTION AND RECOGNITION IN CAMERA BASED IMAGES

Unsupervised segmentation of texture images using a combination of Gabor and wavelet features. Indian Institute of Technology, Madras, Chennai

Linear Regression Model on Multiresolution Analysis for Texture Classification

Autonomous Agent Navigation Based on Textural Analysis Rand C. Chandler, A. A. Arroyo, M. Nechyba, E.M. Schwartz

Statistical texture classification via histograms of wavelet filtered images

Invariant Features of Local Textures a rotation invariant local texture descriptor

COMPARISION OF NORMAL Vs HERNIATED CERVICAL IMAGES USING GRAY LEVEL TEXTURE FEATURES

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

TEXTURE. Plan for today. Segmentation problems. What is segmentation? INF 4300 Digital Image Analysis. Why texture, and what is it?

CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

Content Based Image Retrieval Using Texture Structure Histogram and Texture Features

Image Compression & Decompression using DWT & IDWT Algorithm in Verilog HDL

Face Detection for Skintone Images Using Wavelet and Texture Features

Palmprint Recognition Using Transform Domain and Spatial Domain Techniques

CHAPTER 4 FEATURE EXTRACTION AND SELECTION TECHNIQUES

IMAGE DIGITIZATION BY WAVELET COEFFICIENT WITH HISTOGRAM SHAPING AND SPECIFICATION

A NEW ROBUST IMAGE WATERMARKING SCHEME BASED ON DWT WITH SVD

Image Enhancement Techniques for Fingerprint Identification

Robust biometric image watermarking for fingerprint and face template protection

TEXTURE ANALYSIS BY USING LINEAR REGRESSION MODEL BASED ON WAVELET TRANSFORM

CHAPTER 3 WAVELET DECOMPOSITION USING HAAR WAVELET

CHAPTER 8 COMPOUND CHARACTER RECOGNITION USING VARIOUS MODELS

Schedule for Rest of Semester

IMPROVED MOTION-BASED LOCALIZED SUPER RESOLUTION TECHNIQUE USING DISCRETE WAVELET TRANSFORM FOR LOW RESOLUTION VIDEO ENHANCEMENT

Locating 1-D Bar Codes in DCT-Domain

An Autoassociator for Automatic Texture Feature Extraction

Digital Image Processing. Chapter 7: Wavelets and Multiresolution Processing ( )

Frequency analysis, pyramids, texture analysis, applications (face detection, category recognition)

Wavelet Transform in Face Recognition

Vehicle Logo Recognition using Image Matching and Textural Features

Face Recognition by Combining Kernel Associative Memory and Gabor Transforms

CS 534: Computer Vision Texture

Multiresolution Texture Analysis of Surface Reflection Images

CHAPTER 4 TEXTURE FEATURE EXTRACTION

Autoregressive and Random Field Texture Models

Manoj Kumar*, Prof. Sagun Kumar sudhansu**, Dr. Kasabegoudar V. G. *** *(PG Department, Collage of Engineering Ambejogai)

Analysis and Classification of M yocardial Infarction Tissue from Echocardiography Images Based on Texture Analysis

DATA EMBEDDING IN TEXT FOR A COPIER SYSTEM

WAVELET USE FOR IMAGE CLASSIFICATION. Andrea Gavlasová, Aleš Procházka, and Martina Mudrová

Fabric Textile Defect Detection, By Selection An Suitable Subset Of Wavelet Coefficients, Through Genetic Algorithm

Learning and Inferring Depth from Monocular Images. Jiyan Pan April 1, 2009

Periodicity Extraction using Superposition of Distance Matching Function and One-dimensional Haar Wavelet Transform

Image Classification Using Wavelet Coefficients in Low-pass Bands

Denoising and Edge Detection Using Sobelmethod

Simultaneous surface texture classification and illumination tilt angle prediction

IMAGE COMPRESSION USING HYBRID TRANSFORM TECHNIQUE

EDGE DETECTION IN MEDICAL IMAGES USING THE WAVELET TRANSFORM

Automatic Classification of Woven Fabric Structure Based on Computer Vision Techniques

Image Compression. CS 6640 School of Computing University of Utah

Comparative Evaluation of DWT and DT-CWT for Image Fusion and De-noising

DWT Based Text Localization

Compression of RADARSAT Data with Block Adaptive Wavelets Abstract: 1. Introduction

A Fully Unsupervised Texture Segmentation Algorithm

Texture Segmentation and Classification in Biomedical Image Processing

IMAGE PROCESSING USING DISCRETE WAVELET TRANSFORM

Experimentation on the use of Chromaticity Features, Local Binary Pattern and Discrete Cosine Transform in Colour Texture Analysis

Document Text Extraction from Document Images Using Haar Discrete Wavelet Transform


Chapter 3 Image Registration. Chapter 3 Image Registration

Edge detection in medical images using the Wavelet Transform

Spatial Enhancement Definition

Evaluation of Texture Features for Content-Based Image Retrieval

ECE 176 Digital Image Processing Handout #14 Pamela Cosman 4/29/05 TEXTURE ANALYSIS

Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

5. Feature Extraction from Images

The Institute of Telecommunications and Computer Sciences, UTP University of Science and Technology, Bydgoszcz , Poland

N.Priya. Keywords Compass mask, Threshold, Morphological Operators, Statistical Measures, Text extraction

Fingerprint Classification Using Orientation Field Flow Curves

Reconstructing Images of Bar Codes for Construction Site Object Recognition 1

Texture and Shape for Image Retrieval Multimedia Analysis and Indexing

Wavelet Transform (WT) & JPEG-2000

Texture Feature Extraction Using Improved Completed Robust Local Binary Pattern for Batik Image Retrieval

Feature Extraction from Wavelet Coefficients for Pattern Recognition Tasks. Rajat Aggarwal Chandu Sharvani Koteru Gopinath

Texture. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors

SLIDING WINDOW FOR RELATIONS MAPPING

HYBRID TRANSFORMATION TECHNIQUE FOR IMAGE COMPRESSION

QR Code Watermarking Algorithm Based on DWT and Counterlet Transform for Authentication

7.1 INTRODUCTION Wavelet Transform is a popular multiresolution analysis tool in image processing and

Machine learning Pattern recognition. Classification/Clustering GW Chapter 12 (some concepts) Textures

Short Communications

The Method of User s Identification Using the Fusion of Wavelet Transform and Hidden Markov Models

Transcription:

Texture Analysis of Painted Strokes 1) Martin Lettner, Paul Kammerer, Robert Sablatnig Vienna University of Technology, Institute of Computer Aided Automation, Pattern Recognition and Image Processing Group Favoritenstr. 9, 183-2, A-1040 Vienna, Austria lettner@prip.tuwien.ac.at, http://www.prip.tuwien.ac.at Abstract: The following work presents a study of stroke classification in which two classes of strokes are identified: fluid and dry strokes. The discrimination is done with a feature vector which is extracted from the image texture from some test samples of strokes drawn in different fluid and dry materials. To find an adequate texture analysis method especially for this application, three different texture analysis methods are executed on test images from painted strokes. The methods applied are based on statistical features of first and second order and on the discrete wavelet transformation, where the statistical features of second order are extracted from the co-occurrence matrix. The classification results obtained are compared and discussed. 1 Introduction The recognition of painted strokes is an important step in analyzing painted works of art like panel paintings, independent drawings and underdrawings. But even for art experts it is difficult to recognize all drawing tools and materials used for the creation of the strokes. The use of computer-based imaging technologies brings a new and objective analysis method and assists the art expert in analyzing paintings. Painted strokes can be painted either in dry or fluid drawing materials. Chalk and graphite are examples of dry materials and paint or ink applied by pen or brush are examples of fluid drawing materials. The discrimination of the texture from these two classes is as follows: the texture from dry drawing materials is coarse with a variety of gray levels and the texture from fluid drawing materials is more homogeneous and fine. The boundary characteristics of painted strokes have been used to recognize them [5]. This work deals with the analysis of the stroke texture in order to recognize strokes and their underlying drawing material. The strokes are classified into two classes: one for strokes drawn in dry painting materials and the other for strokes drawn in fluid painting materials. Texture classification is performed based on features extracted from the image texture. To find an 1) This work was supported by the Austrian Science Foundation (FWF) under grant P15471-MAT.

adequate texture analysis method for the stroke application three different texture analysis methods are applied and compared. The first method is based on first order statistical features. The second one is based on the co-occurrence matrix and the third one is based on the discrete wavelet transformation. The test samples for the strokes considered are extracted from test panels which are prepared by a restorer. The organization of this paper is as follows. Section 2 describes the strokes used for this work. Section 3 covers the texture analysis methods used. Experimental results are given in Section 4 and finally Section 5 gives a summary and conclusions. 2 The Strokes The experiments are performed on four different test panels with strokes applied with different drawing tools and materials which are prepared by an art expert. The four panels are prepared with different groundings and the following types of strokes are considered in this work: graphite, black chalk and silver point are the representatives for the dry strokes and ink applied by brush, quill or reed pen are the considered fluid strokes. The test panels are digitized using a flat-bed scanner with an optical resolution of 1200 dpi. Figure 1 shows examples for the strokes. The stroke texture from the fluid materials, see Figure 1(c), (d) and (e), is more homogeneous in comparison to the texture from the dry drawing materials in Figure 1(a), (b) and (f) which is rather coarse and rough. 11.tif 12.tif 13.tif (a) (b) (c) 14.tif 15.tif 16.tif (d) (e) (f) Figure 1: Examples of the strokes on the test panels. (a) is a stroke applied by graphite, (b) shows a black chalk stroke, (c) a brush stroke, (d) a stroke from a quill, (e) a reed pen stroke and (f) shows a stroke painted by a silver point. The size of the windows constitutes 300 300 pixels. The roughness of the texture from the dry drawing materials depends on the groundings of the panels. The more plain the underground, the finer is the texture from the strokes. A characteristic from strokes applied by quill and reed pen are the irregularities in the surface and thus in the texture. These irregularities are caused through the different groundings on the panels. Some fluid drawing

materials are not accepted similarly on the different groundings and this brings discontinuities into the surface. This condition can be seen in Figure 1(e) where the background interfuses the stroke. Because of the differences between the strokes on the four test panels strokes from different panels are not compared. 3 The Texture Analysis Methods To get a comparative study and to find a practicable texture analysis method for the stroke application three different simple texture analysis methods are performed in this work. The first method extracts statistical features of first order from the test samples which are further used for the classification process. The gray level co-occurrence matrix (GLCM) is used by the second method. Previous investigations showed that this method outperforms the others in comparative studies [2], [10]. The third method is based on the discrete wavelet transformation, which also shows good results in comparative studies [8], [9]. The rest of this section gives a brief overview of the texture analysis performed in this work. 3.1 Statistical Features of First Order Statistical features of first order take into account the individual gray values from the pixels in a n m matrix R but the spatial arrangement is not considered, i.e. different textures can have the same gray level histogram. To get a two dimensional feature vector for the test samples with statistical features of first order the mean and standard deviation were calculated from the test samples. 3.2 The Co-occurrence Matrix The co-occurrence matrix is a very popular tool for texture analysis. It was presented in 1973 by Haralick, Shanmugam and Dinstein [3]. The N N co-occurrence matrix describes the spatial alignment and the spatial dependency of the different gray levels, whereas N is the number of gray levels in the original image. The co-occurrence matrix P φ,d (i, j) is defined as follows. The entry (i, j) of P φ,d is the number of occurrences of the pair of gray levels i and j at inter-pixel distance d and the direction angle φ. The considered direction angles are 0, 45, 90 and 135 and the interpixel distance d is 1 [3]. To get textural features to describe the image texture Haralick suggested 14 features which are extracted from the co-occurrence matrix. For this work the four most popular features used in literature are chosen [4]: the Angular Second Moment (=Energy), Contrast, Inverse Difference Moment and the Entropy. These four features extracted from the co-occurrence matrix result in a four dimensional feature vector which is further used for texture classification.

3.3 The Discrete Wavelet Transformation The discrete wavelet transformation (DWT) [6] decomposes an original signal f(x) with a family of basis functions ψ m,n (x), which are dilations and translations of a single prototype wavelet function known as the mother wavelet ψ(x): f(x) = c m,n ψ m,n (x). (1) n=0 m=0 c m,n constitutes the DWT coefficients where m and n are integers and referred to as the dilation and translation parameters. An efficient way to implement this scheme using filters was developed by Mallat [6]. The 2D DWT is computed by a pyramid transform scheme using filter banks. The filter banks are composed of a low pass and a high pass filter and each filter bank is then sampled down at a half rate of the previous frequency. The input image is convolved by a high pass filter and a low pass filter in horizontal direction (rows). After this step another convolution in vertical direction (columns) is performed with a high and a low pass filter. Thus the original image is transformed into four sub images after each decomposition step: LL sub image: Horizontal and vertical directions have low frequencies. The corresponding sub image is an approximation of the input image LH sub image: The horizontal direction has low frequencies and the vertical one has high frequencies HL sub image: The horizontal direction has high frequencies and the vertical one has low frequencies HH sub image: The horizontal and vertical directions have high frequencies. A three level decomposition results in 10 sub images, see Figure 2(a) whereas the approximation image is the input image for the next level. Statistical information calculated from the resulting sub images can be used as the texture features. Here the mean of the coefficient magnitudes is used to build a four dimensional feature vector which is built up as follows: the HL and LH sub images from each channel are combined and the HH sub images are not considered because they tend to contain the majority of noise [7], see Figure 2(b). 4 Experiments and Results The classification of the feature vectors was done using the k-means algorithm. To find a practicable window size for this application four different matrix sizes were tested. The experiments were executed with matrix sizes 20 20, 25 25, 32 32 and 50 50 with 50 test samples per panel

(a) (b) Figure 2: (a) 10 channels of a three level wavelet decomposition of an image. (b) Grouping of wavelet channels to form 4 bands to calculate the features [7] and matrix size. Previous work performed their analysis with matrix sizes varying from 8 8 to 64 64 windows [1], [3]. However a major problem in this application is the tiny width of the silver point and graphite strokes. Thus the silver point stroke is not considered because of its narrow width. 32 32 and 50 50 matrices which do not only cover the stroke but also the background are also not considered for the classification process. On the other hand small matrix sizes are also not applicable, because of the roughness from the texture of dry strokes and the loss of texture information by decreasing the window size. To test the algorithms 880 test images were generated with the following feature vectors for each image: 1. a two dimensional vector with statistical features of first order 2. a four dimensional feature vector calculated from the co-occurrence matrix which contents the energy, inertia, entropy and homogeneity 3. a four dimensional feature vector with the mean magnitudes calculated from the grouped sub images from the discrete wavelet transformation. Table 1 shows the correct classification rate in percent for the individual strokes after division into two classes: one for dry strokes (graphite and black chalk) and one for fluid strokes (brush, quill and reed pen). The results are given for all matrix sizes from one of the four panels for the three methods performed. The recognition of the black chalk and the brush stroke showed the best results because the texture is homogeneous over the whole stroke surface. In contrast the texture from the quill and reed pen stroke shows some discontinuities in the surface and thus limits the classification. There are only results for the graphite stroke with matrix size 20 20 and 25 25 because of the tiny width (bigger matrices are marked by an x in the table). The recognition of this type of stroke is good but the classification is bad for the wavelet based features. This effect results from the k-means algorithm. Generally the percentage of correct classification is better for larger matrices but the matrix size is limited by the width of the strokes. The mean recognition rate from the three methods for a matrix ranges from 81,3% for the 20 20 matrices to 90% for the 32 32 matrices. This mean value is

20 20 Graphite Bl. Chalk Brush Quill Reed Pen Total Mean Statistical features 100 10 70 60 100 68 Co-occurrence features 50 100 90 100 60 80 Wavelet based features 100 100 100 100 80 96 81,3 25 25 Statistical features 100 10 60 40 100 62 Co-occurrence features 100 100 90 20 30 68 Wavelet based features 0 100 100 70 60 66 65,3 32 32, 1. Attempt Statistical features x 100 100 100 70 92,5 Co-occurrence features x 100 100 90 60 87,5 Wavelet based features x 100 100 100 60 90 90 32 32, 2. Attempt Statistical features x 100 100 80 90 92,5 Co-occurrence features x 100 100 80 40 80 Wavelet based features x 100 100 90 100 97,5 90 50 50 Statistical features x 100 100 60 80 85 Co-occurrence features x 100 100 60 80 85 Wavelet based features x 60 100 70 80 77,5 82,8 Table 1: Percentage of correct classification for the individual strokes from one panel after division into two classes: one for dry and one for fluid strokes. The results are shown for the three methods performed and all matrix sizes. Column Total shows the percentage of correct classification for the individual methods and column Mean shows the mean value from the three individual methods for the individual matrix size. annoted in the last column of Table 1. The best classification rate was obtained with the feature vector from the DWT (using the Daubechies (6) mother wavelet) and the matrix sizes 32 32 and 50 50. The classification rate of the statistical features of first order was almost as high as the DWT features. The co-occurrence method only performed well for large matrices, but the results are not constant for all four panels. The discrimination of the fluid strokes (brush and quill) showed the best classification rate for all methods because of their homogeneous texture. The recognition of the black chalk strokes showed good results for large matrices but the rough texture of the black chalk gets lost for smaller matrices and thus the discrimination rate decreases. Figure 3 shows the results of classification using the statistical features of first order, the co-occurrence features and the features from the DWT. The horizontal axis shows the different matrix sizes 20 20, 25 25, 32 32 and 50 50 for the four panels (indicated in brackets) and the y-axis shows the percentage of correctly classified strokes. It can be seen that the results are generally better for large

matrix sizes. However the DWT features (the dark gray line with squares) show a good discrimination rate even for small matrices. Figure 3: Classification results. 5 Summary and Conclusions The work presented has focused on the identification of different stroke textures which are significant for the recognition of the underlying drawing material. The wavelet transform provides an efficient tool for texture analysis for this application. The discrimination showed good results even for small test matrices of size 20 20. The discrimination with first order statistical features showed similar results for large test matrices and the co-occurrence method produced sub-optimal results. The work showed that a discrimination between dry and fluid strokes is possible. A distinction between fluid or dry strokes e.g. between brush and quill, is not possible yet. Several other features like boundary characteristics have to be added to achieve a finer distinction. An analysis of the strokes in painting direction will also bring better results, because the texture depends on the painting direction. Also an improvement of the texture analysis, e.g. the combination of different methods (DWT and co-occurrence method) can bring better results. References [1] K.I. Chang, K.W. Bowyer, and M. Sivagurunath. Evaluation of Texture Segmentation Algorithm. In IEEE Computer Vision and Pattern Recognition 1999, pages 294 299, 1999. [2] R.W. Conners and C.A. Harlow. A Theoretical Comparison of Texture Algorithms. IEEE Trans. Pattern Analysis and Machine Intelligence, 2(3):204 222, May 1980. [3] R. M. Haralick, K. Shanmugan, and I. Dinstein. Textural Features for Image Classification. IEEE Trans. System Man Cybernetics, 3(6):610 621, November 1973.

[4] R.M. Haralick. Statistical and structural approaches to texture. Proceedings of the IEEE, 67(4):786 804, 1979. [5] P. Kammerer, G. Langs, R. Sablatnig, and E. Zolda. Stroke Segmentation in Infrared Reflectograms. In 13 th Scandinavian Conference, SCIA 2003, pages 1138 1145, Halmstad, Sweden, June 2003. Springer Verlag. [6] S. G. Mallat. A Theory for Multiresolution Signal Decomposition: The Wavelet Representation. IEEE Trans. Pattern Analysis and Machine Intelligence, 11(7):674 693, July 1989. [7] R. Porter and N. Canagarajah. Robust Rotation Invariant Texture Classification. In IEEE International Conference on Acoustics, Speech, and Signal Processing, ICASSP-97, volume 4, pages 3157 3160, April 1997. [8] R. Porter and N. Canagarajah. Robust Rotation-Invariant Texture Classification: Wavelet, Gabor Filter and GMRF Based Schemes. In IEE Proc. Vision Image and Signal Processing, volume 144, pages 180 188, June 1997. [9] T. Randen and J.H. Husoy. Filtering for Texture Classification: A Comparative Study. IEEE Trans. Pattern Analysis and Machine Intelligence, 21(4):291 310, April 1999. [10] M. Sharma and S. Singh. Evaluation of Texture Methods for Image Analysis. In 7th Australian and New Zealand Intelligient Information Systems Conference, pages 117 121, Perth, 2001.