Artifacts and Textured Region Detection

Similar documents
Schedule for Rest of Semester

Face Detection Using Convolutional Neural Networks and Gabor Filters

Structural Analysis of Aerial Photographs (HB47 Computer Vision: Assignment)

References. [9] C. Uras and A. Verri. Hand gesture recognition from edge maps. Int. Workshop on Automatic Face- and Gesture-

Texton-based Texture Classification

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Locating 1-D Bar Codes in DCT-Domain

TEXTURE ANALYSIS USING GABOR FILTERS

Detecting Salient Contours Using Orientation Energy Distribution. Part I: Thresholding Based on. Response Distribution

Edge Detection Techniques in Processing Digital Images: Investigation of Canny Algorithm and Gabor Method

CMPT 365 Multimedia Systems. Media Compression - Image

OCR For Handwritten Marathi Script

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Image Enhancement Techniques for Fingerprint Identification

Elliptical Head Tracker using Intensity Gradients and Texture Histograms

TEXTURE ANALYSIS USING GABOR FILTERS FIL

MRT based Adaptive Transform Coder with Classified Vector Quantization (MATC-CVQ)

BLIND MEASUREMENT OF BLOCKING ARTIFACTS IN IMAGES Zhou Wang, Alan C. Bovik, and Brian L. Evans. (

AN EFFICIENT BINARIZATION TECHNIQUE FOR FINGERPRINT IMAGES S. B. SRIDEVI M.Tech., Department of ECE

Parametric Texture Model based on Joint Statistics

Equation to LaTeX. Abhinav Rastogi, Sevy Harris. I. Introduction. Segmentation.

Dynamic Human Fatigue Detection Using Feature-Level Fusion

Fingerprint Image Enhancement Algorithm and Performance Evaluation

Analysis and Synthesis of Texture

Face Recognition by Combining Kernel Associative Memory and Gabor Transforms

Fast Computation of the Gabor Wavelet Transform

Texture. Outline. Image representations: spatial and frequency Fourier transform Frequency filtering Oriented pyramids Texture representation

PERFORMANCE AND ANALYSIS OF RINGING ARTIFACTS REDUCTION USING DEBLOCKING FILTER

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden

Image Gap Interpolation for Color Images Using Discrete Cosine Transform

CS 111: Digital Image Processing Fall 2016 Midterm Exam: Nov 23, Pledge: I neither received nor gave any help from or to anyone in this exam.

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

Final Review. Image Processing CSE 166 Lecture 18

Automatic local Gabor features extraction for face recognition

Content-based Image Retrieval (CBIR)

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5

7.5 Dictionary-based Coding

Color Local Texture Features Based Face Recognition

Critique: Efficient Iris Recognition by Characterizing Key Local Variations

Short Survey on Static Hand Gesture Recognition

A reversible data hiding based on adaptive prediction technique and histogram shifting

Final Exam Schedule. Final exam has been scheduled. 12:30 pm 3:00 pm, May 7. Location: INNOVA It will cover all the topics discussed in class

ADVANCED IMAGE PROCESSING METHODS FOR ULTRASONIC NDE RESEARCH C. H. Chen, University of Massachusetts Dartmouth, N.

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

Statistical Approach to a Color-based Face Detection Algorithm

Denoising and Edge Detection Using Sobelmethod

An Efficient Character Segmentation Based on VNP Algorithm

The Detection of Faces in Color Images: EE368 Project Report

BLIND QUALITY ASSESSMENT OF JPEG2000 COMPRESSED IMAGES USING NATURAL SCENE STATISTICS. Hamid R. Sheikh, Alan C. Bovik and Lawrence Cormack

A face recognition system based on local feature analysis

A New Technique of Extraction of Edge Detection Using Digital Image Processing

CITS 4402 Computer Vision

Digital Image Processing Fundamentals

DETECTION OF SMOOTH TEXTURE IN FACIAL IMAGES FOR THE EVALUATION OF UNNATURAL CONTRAST ENHANCEMENT

Gabor Volume based Local Binary Pattern for Face Representation and Recognition

Digital Image Processing

Multimedia Systems Image III (Image Compression, JPEG) Mahdi Amiri April 2011 Sharif University of Technology

ECG782: Multidimensional Digital Signal Processing

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

A New Gabor Phase Difference Pattern for Face and Ear Recognition

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

Recognition of facial expressions in presence of partial occlusion

Segmentation and Grouping

Bit-Plane Decomposition Steganography Using Wavelet Compressed Video

Texture Segmentation Using Multichannel Gabor Filtering

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

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

Clustering Color/Intensity. Group together pixels of similar color/intensity.

6. Object Identification L AK S H M O U. E D U

SPARSE CODES FOR NATURAL IMAGES. Davide Scaramuzza Autonomous Systems Lab (EPFL)

Digital Image Processing COSC 6380/4393

A Review on Role of Mathematical Morphology in Face Detection

Automatic Detection of Texture Defects using Texture-Periodicity and Gabor Wavelets

Combining Gabor Features: Summing vs.voting in Human Face Recognition *

CHAPTER 5 GLOBAL AND LOCAL FEATURES FOR FACE RECOGNITION

Time Stamp Detection and Recognition in Video Frames

Multiresolution Texture Analysis of Surface Reflection Images

Implementation and analysis of Directional DCT in H.264

Adaptive Quantization for Video Compression in Frequency Domain

Image Processing and Analysis

Optimised corrections for finite-difference modelling in two dimensions

Mapping of Hierarchical Activation in the Visual Cortex Suman Chakravartula, Denise Jones, Guillaume Leseur CS229 Final Project Report. Autumn 2008.

A deblocking filter with two separate modes in block-based video coding

Film Line scratch Detection using Neural Network and Morphological Filter

Query by Fax for Content-Based Image Retrieval

Evaluation of texture features for image segmentation

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

Comparative Performance Analysis of Feature(S)- Classifier Combination for Devanagari Optical Character Recognition System

CHAPTER 6 DETECTION OF MASS USING NOVEL SEGMENTATION, GLCM AND NEURAL NETWORKS

Adaptive Fingerprint Image Enhancement Techniques and Performance Evaluations

Fabric Defect Detection Based on Computer Vision

(Refer Slide Time 00:17) Welcome to the course on Digital Image Processing. (Refer Slide Time 00:22)

Two Dimensional Wavelet and its Application

A Robust Wavelet-Based Watermarking Algorithm Using Edge Detection

Feature Descriptors. CS 510 Lecture #21 April 29 th, 2013

Content-Based Image Retrieval Readings: Chapter 8:

Nicolai Petkov Intelligent Systems group Institute for Mathematics and Computing Science

EE 5359 MULTIMEDIA PROCESSING SPRING Final Report IMPLEMENTATION AND ANALYSIS OF DIRECTIONAL DISCRETE COSINE TRANSFORM IN H.

AN EXAMINING FACE RECOGNITION BY LOCAL DIRECTIONAL NUMBER PATTERN (Image Processing)

MRI Brain Image Segmentation Using an AM-FM Model

Transcription:

Artifacts and Textured Region Detection 1 Vishal Bangard ECE 738 - Spring 2003 I. INTRODUCTION A lot of transformations, when applied to images, lead to the development of various artifacts in them. In particular, we will be addressing artifacts caused by compression algorithms. Few of the artifacts [1] caused by popular compression algorithms are: Blocking artifacts: Some compression algorithms divide an image into blocks of a definite size. E.g. JPEG works on 8x8 blocks at a time. This leads to the resulting compressed image having a very blocky appearance. Color Distortion: Human eyes are not as sensitive to color as to brightness. As a result, much of the detailed color (chrominance) information is disposed, while luminance information is retained. This process is called chroma subsampling. The result of this is that compressed pictures have a washed out appearance, in which the colors do not look as bright as in the original image. Ringing Artifacts: Quite a few times, compression algorithms that work in the spectral domain take advantage of the fact that low frequency information is visually more important than the high frequency information. Some of them try to exploit this fact and do not retain all the high frequency information. This leads to distortions in edges and other boundaries. Blurring Artifacts: With the presence of these artifacts, the image looks smoother than the original counterpart. The general shape of objects is correctly retained, but the texture information is lost in some areas. A lot of work has been previously done to tackle blocking artifacts, color distortion and ringing artifacts. To repair the effects of Blurring artifacts, there are existing methods for texture synthesis, or replication of texture in an area based on information from adjacent regions. However, most of the existing algorithms require the source and destination areas for texture synthesis to be marked out manually. The aim of this project is to identify regions near textured areas as these have a higher probability of being subject to texture loss. A completely automated detection system is very hard due to the highly subjective nature of this problem.

2 II. HIGH FREQUENCY ANALYSIS Textured areas generally have a lot more high frequencies as compared to smooth areas. Hence, one of the approaches adopted was to analyze the high frequency component of the image. A standard wavelet decomposition was used and the sum of the squares of the high frequency coefficients was found. This gave an indication as to the amount of energy that was being contributed by the high frequency components. It was conjectured that a textured region would have a large amount of energy contributed due to these high frequencies. This analysis was done on an 8x8 block basis as this eased computation and also kept a direct link between the spectral and the spatial domains. To see the potential of this method, the image was thresholded to show the best results. The results seen using this method seemed encouraging. However, one of the primary drawbacks of this method was low resolution. Each 8x8 block was classified as rich in high frequencies or not. Going to lower block sizes (i.e. 4x4 and 2x2) leaves very few high frequency coefficients to get reliable results. Also, this technique in itself did not give good edge detection, which also forms an essential part in obtaining nearby regions. Another problem was that some small areas were missed as being detected as textured or not. The most likely reason for this may be the minimum resolution being 8x8 due to the choice of block size. III. GABOR WAVELET ANALYSIS Another approach for texture detection was to find the Gabor wavelet decomposition of the image. The Gabor elementary functions are able to closely model the anisotropic two dimensional receptive fields of neurons in the mammalian visual cortex. (The first experiment towards this was successfully conducted by J. P. Jones and L. A. Palmer, on the visual cortex of a cat [2]. Later experiments have been performed on other mammals including monkeys and reinforce these results.) In the 1-D case, Gabor wavelets are given by [3] and [4] An explanation of the terms is as follows: k j : wave vector k j gives the centre frequency of the function ψ j (x) = k2 j σ 2 exp( k2 j x2 2 σ )[exp(i k 2 j x) exp( σ2 )] (1) 2 kj 2 : scaling factor - compensates for the frequency dependent decrease of the power spectrum usually σ 2 found in natural images

3 (a) Image: Barbara (b) Image (a) compressed at 1:94. Observe the loss in texture in the lady s clothing and the tablecloth. (c) Solid black areas give edges and regions of high texture (d) An edge map of image (c) overlaid on the compressed image Fig. 1. The image Barbara subjected to high frequency analysis

4 0.015 0.01 0.015 0.01 0.005 0 0.005 0.005 0.005 0.01 20 20 0 0 0.01 20 10 0 10 20 20 0.015 20 10 0 10 20 20 0 (a) Real component of the Gabor filter (b) Imaginary component of the Gabor filter Fig. 2. Gabor filters (These were generated using a filter width of 41 and variances 10 in the x and y directions) Fig. 3. The various orientations of the Real (left) and Imaginary (right) components of the Gabor filters. These are obtained by rotating the images shown in Fig. (2) and have been depicted as an image exp( k2 j x2 2 σ 2 ): gaussian envelope function exp(i k j x) = cos( k j x) + i cos( k j x): complex-valued plane wave exp( σ2 ) makes the function DC-free 2 The two dimensional Gabor filters are as shown in Fig. (2). The Gabor wavelet expansion functions form a complete set. Hence, an exact representation of the signal in terms of the expansion functions is possible. However, they also form a non-orthogonal set. To obtain the Gabor decomposition, Gabor filters, shown in Fig. (3), were formed and convolved with the image. The effect of convolving the Gabor filters with the image Barbara is shown in Fig. (4) and (5). The six images on each row give the effect of convolving the Gabor filters with the image at six different

5 Fig. 4. The magnitude of the result of convolving the image with the Gabor filters at six different orientations and four different scales orientations. This is done for four different scales and shown here. It is seen in Fig. (4) that the lady s clothing is captured very well on the first two scales, but the tablecloth barely shows up on them. On scale three and four, the tablecloth is detected well, but the clothing is barely detected. Hence, it is necessary to implement the Gabor filters at more than one scale, and convolve them with the image. The frequency of the complex sinusoid, and hence the number of scales used imposes a limit on the type of texture that can be detected by these filters. This is seen when some of the textures are detected on one scale, but not the other. Different parts of the texture show up on different orientations. To detect all the textured regions, it is necessary to combine all of them. To do this, for each scale, we took the maximum of the values obtained in each orientation, and rescaled the result. Another thing that was found to be useful was the phase information generated using the Gabor filters. The phase information is combined in a similar manner as the magnitude information was. At the lower two scales, it was found that the phase information can be used to detect some edges and textured regions too. In our implementation, the magnitude information from various scales was combined by taking the maximum across the various scales. The phase information from the first scale was the only one used. These were

6 Fig. 5. The phase of the result of convolving the image with the Gabor filters at six different orientations and four different scales both rescaled. The values that were obtained in both cases vary between 0 and 1, and do not belong to two definite regions. Since we are just looking to classify areas as textured and non-textured, we would like to classify the various pixels into just two groups. To do this, we had to come up with some criterion, on the basis of which this could be done in an automated fashion and not involve human input. Since the amount of texture in different images may be different, a definite value for thresholding various images is not a very attractive idea. Hence to adaptively threshold these images into two classes, we chose to minimize the intra-class variance, whereas maximizing the inter-class variance. A suitable algorithm was found in a paper by N. Otsu, published in 1979. [5]. The results obtained at this stage were found to be fairly good. However, there were still spurious pixels in the middle of the textured and non-textured regions. To solve this problem we employed morphological operations. The operations of interest are Clean - removes any 1 s surrounded by all zeros Fill - sets to 1 any 0 surrounded by all 1 s Majority - sets to 1 any pixel which has 5 out of 8 neighbors as 1

7 Close - performs the morphological operations of dilation and then erosion in that order As seen in Fig. (6), the system does a fairly good job of detecting textured regions as against smooth regions. It also picks up quite a few of the edges. However some parts of the edges picked up are lost due to morphological operations. During compression, some edges are blurred to such a degree that it is difficult to make out where one region ends and another begins, if looked at locally. However, with most natural pictures, humans have the advantage of prior knowledge that enables them to tell them where to expect the edges, e.g. between a person s hand and the background. The system lacks any such high level knowledge. A possible solution to this may be the incorporation of this system into a neural net or dynamic link based classifier. As seen in Fig. (7), the system does a relatively good job of detecting the textured and non-textured regions. Some of the smaller non-textured regions had been overlooked by the human eye, until brought out by the algorithm. On closer observation, it was verified that these smaller regions are in fact areas which have suffered a loss in texture. IV. CONCLUSION The system performs well in detecting textured regions as compared to smooth regions. It also manages to detect relevant edges reasonably. However, it misses some edges which are too badly damaged due to compression. A possible solution to this, as mentioned earlier, is to combine the system with a neural net or dynamic link based classifier. Another way to detect some of the missed edges or repair some of the broken edges in this detection is to use a system that detects implied edges. The system can also be used for texture classification and identification. This would involve analyzing the magnitude response of the image convolved with the Gabor filters at the various orientations. This information has already been calculated in the project. The same information may also be useful in texture synthesis. REFERENCES [1] Jakulin A. Baseline JPEG and JPEG2000 artifacts illustrated. http://ai.fri.uni-lj/ si/ aleks/jpeg/artifacts.htm. [2] Jones J. and Palmer L. An evaluation of the two dimensional gabor filter model of simple receptive fields in cat striate cortex. Journal of Neurophysiology, vol. 58:1233 1258, 1987. [3] L. Wiscott, J. Fellous, N. Kruger, and C. Malsburg. Face recognition by elastic bunch graph matching. IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 19, no. 7:775 779, 1997. [4] L. Wiscott, J. Fellous, N. Kruger, and C. Malsburg. Face recognition by elastic bunch graph matching. http://www.cnl.salk.edu/ wiskott/projects/egmfacerecognition.html. [5] N. Otsu. A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man and Cybernetics, vol. 9, no. 1:62 66, 1979.

8 (a) Image: Barbara (b) Image (a) compressed (1:94) (c) The white regions give edges and textured areas (d) An edge map of image (c) overlaid on the compressed image Fig. 6. Gabor Wavelet analysis on the compressed image Barbara

9 (a) Image: Baboon (b) Image (a) compressed at 1:90 (c) White regions indicate textured regions (d) An edge map of image (c) overlaid on the compressed image Fig. 7. Gabor wavelet analysis on the image Baboon