Image Filtering Josef Pelikán & Alexander Wilkie CGG MFF UK Praha

Similar documents
Digital Image Processing

CSE 564: Scientific Visualization

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Image Filtering. Median Filtering

Image Processing. Adam Finkelstein Princeton University COS 426, Spring 2019

Chrominance Assisted Sharpening of Images

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

Vision Review: Image Processing. Course web page:

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

Color Image Processing

HDR Images (High Dynamic Range)

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Filip Malmberg 1TD396 fall 2018 Today s lecture

Monochrome Image Reproduction

CS/ECE 545 (Digital Image Processing) Midterm Review

Midterm Review. Image Processing CSE 166 Lecture 10

Filtering in the spatial domain (Spatial Filtering)

EE482: Digital Signal Processing Applications

Image Enhancement using Histogram Equalization and Spatial Filtering

Practical Image and Video Processing Using MATLAB

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

Computer Graphics Fundamentals

Color Transformations

CONTENTS. Chapter I Introduction Package Includes Appearance System Requirements... 1

Image Processing COS 426

VU Signal and Image Processing. Image Enhancement. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

Computing for Engineers in Python

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

Local Adjustment Tools

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Image analysis. CS/CME/BIOPHYS/BMI 279 Fall 2015 Ron Dror

Chapter 6. [6]Preprocessing

PHOTOGRAPHY: MINI-SYMPOSIUM

Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

TIRF, geometric operators

Image Processing for feature extraction

Introduction. Computer Vision. CSc I6716 Fall Part I. Image Enhancement. Zhigang Zhu, City College of New York

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Image Enhancement in the Spatial Domain

Contrast Enhancement Techniques using Histogram Equalization: A Survey

Lecture 4: Spatial Domain Processing and Image Enhancement

Impulse noise features for automatic selection of noise cleaning filter

Filtering. Image Enhancement Spatial and Frequency Based

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

Color Space 1: RGB Color Space. Color Space 2: HSV. RGB Cube Easy for devices But not perceptual Where do the grays live? Where is hue and saturation?

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

Image Filtering in Spatial domain. Computer Vision Jia-Bin Huang, Virginia Tech

Preprocessing of Digitalized Engineering Drawings

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Gonzales & Woods, Emmanuel Agu Suleyman Tosun

Spatial Domain Processing and Image Enhancement

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Image Enhancement. Image Enhancement

Digital Image Processing. Lecture # 3 Image Enhancement

CSC 320 H1S CSC320 Exam Study Guide (Last updated: April 2, 2015) Winter 2015

Maine Day in May. 54 Chapter 2: Painterly Techniques for Non-Painters

Artitude. Sheffield Softworks. Copyright 2014 Sheffield Softworks

Continuous Flash. October 1, Technical Report MSR-TR Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052

Extreme Makeovers: Photoshop Retouching Techniques

Evaluation of image quality of the compression schemes JPEG & JPEG 2000 using a Modular Colour Image Difference Model.

SRI VENKATESWARA COLLEGE OF ENGINEERING. COURSE DELIVERY PLAN - THEORY Page 1 of 6

Digital Image Processing

CSE 564: Visualization. Image Operations. Motivation. Provide the user (scientist, t doctor, ) with some means to: Global operations:

TDI2131 Digital Image Processing

Enhancement Techniques for True Color Images in Spatial Domain

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Images and Filters. EE/CSE 576 Linda Shapiro

Digital Image Processing

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

Course Syllabus. Course Title. Who should attend? Course Description. Photoshop ( Level 2 (

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

Midterm Examination CS 534: Computational Photography

from: Point Operations (Single Operands)

Image Enhancement contd. An example of low pass filters is:

15EI403J- IMAGE PROCESSING LAB MANUAL

Carmen Alonso Montes 23rd-27th November 2015

Solution for Image & Video Processing

COMPUTERIZED HEMATOLOGY COUNTER

Novel Histogram Processing for Colour Image Enhancement

Image and video processing

Study and Analysis of various preprocessing approaches to enhance Offline Handwritten Gujarati Numerals for feature extraction

Image Enhancement And Analysis Of Thermal Images Using Various Techniques Of Image Processing

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing

>>> from numpy import random as r >>> I = r.rand(256,256);

Teaching Scheme. Credits Assigned (hrs/week) Theory Practical Tutorial Theory Oral & Tutorial Total

Click once and the top layer is masked by the bottom layer.

MATLAB 6.5 Image Processing Toolbox Tutorial

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

Stretching Your Photons

Non Linear Image Enhancement

1.Discuss the frequency domain techniques of image enhancement in detail.

Section 2 Image quality, radiometric analysis, preprocessing

ABSTRACT I. INTRODUCTION

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

IMPROVEMENT USING WEIGHTED METHOD FOR HISTOGRAM EQUALIZATION IN PRESERVING THE COLOR QUALITIES OF RGB IMAGE

Transcription:

Image Filtering 1995-216 Josef Pelikán & Alexander Wilkie CGG MFF UK Praha pepca@cgg.mff.cuni.cz http://cgg.mff.cuni.cz/~pepca/ 1 / 32

Image Histograms Frequency table of individual brightness (and sometimes also colour) values Continous case probability density Main use photography n n 255 255 2 / 32

Brightness measures Histogram first overview of exposure Over- or underexposed images Insufficient or too large contrast Good histogram Image has shades in all brightness ranges ~ retains details both in dark and bright parts Is it possible to fix a bad histogram? 3 / 32

Brightness transform Transfer function between brightness before and after t: R R (usually [; 1] [; 1]) Gamma correction Contrast enlargement out n n in 255 255 4 / 32

Histogram Equalisation Artificial brightness transform Seeks to equalise histogram Manipuation of all brightness columns Distributes shades stochastically Local histogram equalisation Analysis only of of pixel surround Can improve readability of the overall image Does not preserve uniformly coloured areas! 5 / 32

Global equalisation example Cumulative histogram (luminance transform) 6 / 32

Luminance transformation 7 / 32

Result after equalisation cumulative histogram 8 / 32

Colour operations Transformation RGB HSV Changes to saturation S Changes to hue H Change of object colours Selective de-colourisation... Reverse transformation H'S'V' R'G'B' 9 / 32

HSV operations 1 / 32

HSV operations 11 / 32

Examples of colour operations (algorithm: Miroslav Hrivík) 12 / 32

Examples of colour operations (photo & algorithm: David Marek) 13 / 32

Mathematical Definition of Images image function 2 y U n f: U R R f: x, y a1, a 2,... an Point location in the plane x Image attributes (colour, transparency) 14 / 32

Convolution Weighted Moving Average Weight function g Close connection with the Fourier transform Spectral domain Filters like low pass etc. f g x = f t g x t dt 1D version 15 / 32

Discrete Convolution Weighted moving average of a series (table) Series (table) of weights g Associated with the Discrete Fourier Transform (DFT) f g [n] = m= f [m] g [n m] 1D version 16 / 32

Convolution Effects Low pass filter (only positive values of g) Blurring Noise reduction High pass filter (positive and negative values, sum ) Edge detection Image sharpening Complex spectral filters Other effects ( emboss, ) 17 / 32

Image blurring original Gauss 1 2 1 2 1 4 2 2 1 / 16 18 / 32

Edge detection ( high-pass ) original Sobel (2 directions) 1 1-1 -2-1 2 1 1 2-1 -2-1 19 / 32

Image Sharpening Laplacian -1-1 4-1 -1 Added to image -1-1 5-1 -1 2 / 32

Emboss effect emboss -1 1 original 21 / 32

Non-uniform blur original Radial blur (1D blur) 22 / 32

Non-linear fitlers ( rank filters ) Windowed filtering (as with convolution) Pixel ranking in the window, according to : median noise reduction, artistic effects, minimum erosion maximum dilatation Various window shapes square circle cross (preserves sharp corners) 23 / 32

Median for Noise Reduction Salt & Pepper Original Median 3 3 24 / 32

Median: Image Repair 25 / 32

Dilation and Erosion Dilation Erosion 26 / 32

Noise suppression Advanced techniques seek to preserve edges Direct frequency reduction does not work Variants of median filtering Anisotropic filtering Smudging on image contours (along the gradient of the image function) Filtering with a rotating mask The pixel neighbourhood is considered Average with minimal variance 27 / 32

Artistic filters Imitation of painter/illustrator techniques Simulated strokes of brushes / crayons etc. Effects of type mosaic, stained glass, NPR (non-photorealistc) effects Edge highlighting Filling object interiors Area accretion (segmentation)... 28 / 32

Example artistic filter original drawing 29 / 32

Examples NPR filters 3 / 32

Examples NPR filters 31 / 32

Example - mosaic 32 / 32

Literature Pratt W. K.: Digital Image Processing: PIKS Inside, 3rd Edition, Wiley-Interscience, 21 Gonzales R. C, Woods R. E.: Digital Image Processing, 3rd Edition, Prentice Hall, 27 33 / 32