Spatial filtering 3x3 kernel Definition Transformation or set of

Slides:



Advertisements
Similar presentations
Image Processing. Overview ImagesPixel Filters Neighborhood Filters Dithering.
Advertisements

Spatial Filtering (Chapter 3)
Image Processing Lecture 4
Image Pre-Processing Image pre-processing (předzpracování obrazu) –transformations of the input image leading to noise reduction, image improvement or.
CS 4487/9587 Algorithms for Image Analysis
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
Lecture 4 Linear Filters and Convolution
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
Lecture 1: Images and image filtering
1 Lecture 12 Neighbourhood Operations (2) TK3813 DR MASRI AYOB.
Median Image Filter David Newman Nick Govier. Overview Purpose of Filter Implementation Demo Questions ??
Linear filtering.
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr. Marcel Breeuwer Noise and Filtering.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Introduction to Image Processing Grass Sky Tree ? ? Review.
Presentation Image Filters
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
School of Computer Science Queen’s University Belfast Practical TULIP lecture next Tues 12th Feb. Wed 13th Feb 11-1 am. Thurs 14th Feb am. Practical.
Linear filtering. Motivation: Noise reduction Given a camera and a still scene, how can you reduce noise? Take lots of images and average them! What’s.
Lecture 5 Mask/Filter Transformation 1.The concept of mask/filters 2.Mathematical model of filtering Correlation, convolution 3.Smoother filters 4.Filter.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Digital Image Processing Part 3 Spatial Domain Processing.
Linear filtering. Motivation: Image denoising How can we reduce noise in a photograph?
Digital Filters. What are they?  Local operation (neighborhood operation in GIS terminology) by mask, window, or kernel (different words for the same.
Filtering (II) Dr. Chang Shu COMP 4900C Winter 2008.
CSE 185 Introduction to Computer Vision Image Filtering: Spatial Domain.
Grauman Today: Image Filters Smooth/Sharpen Images... Find edges... Find waldo…
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Noah Snavely Hybrid Images, Oliva et al.,
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran
Digital Image Processing Lecture 10: Image Restoration
Linear Filters and Edges Chapters 7 and 8
ECE 692 – Advanced Topics in Computer Vision
Practical TULIP lecture next Tues 12th Feb. Wed 13th Feb 11-1 am.
CSSE463: Image Recognition Day 5
Math 3360: Mathematical Imaging
The Chinese University of Hong Kong
Digital Image Processing
- photometric aspects of image formation gray level images
Image Processing - in short
A Gentle Introduction to Bilateral Filtering and its Applications
Image filtering Hybrid Images, Oliva et al.,
Image filtering Images by Pawan Sinha.
Linear filtering.
Basic Image Processing
Digital Image Processing Week IV
Most slides from Steve Seitz
Non-local Means Filtering
CSSE463: Image Recognition Day 5
Image filtering
Linear Operations Using Masks
CSSE463: Image Recognition Day 5
CSSE463: Image Recognition Day 5
Lecture 2: Image filtering
Intensity Transformation
Most slides from Steve Seitz
Digital Filters.
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Spatial filtering 3x3 kernel Definition Transformation or set of transformations where a new image is obtained by neighbourhood operations The intensity of a pixel in the new image depends on the intensity values of “neighbour pixels

5x5 kernel 1x5 kernel Miscelleanous kernel 2x2 shift

Mean filter Mean filter is a linear filter (i.e. the order of several linear filters in sequence doesn't matter) The new pixel intensity is the intensity mean over the neighbouring pixels Average noise (Gaussian/Poisson noise) that appears for weak labelling, short exposure time, confocal,… Not good for salt & pepper noise (very weak labelling, high detector gain, …) -> Median filter Low pass filter (smooth small objects & edges) Kernel size influence Number of successive applications

Gaussian filter/Gaussian smooth Gaussian curve Smooth Poisson noise Linear filter Sigma value can be varied: number of pixels to vary the degree of blur More mathematically correct than the Mean filter as it is a better approximation of the point spread function of the microscope

Median filter The new pixel intensity is replaced by the median of pixel intensity over the neighbouring pixels 5 86 88 108 112 137 211 233 235 5 112 86 112 = median 135 = mean 235 88 211 137 233 108

Outlier Median Mean 5 9 6 6 9 5 9 9 5 9 7 8 7 9 8 9 8 6 7 9 9 9 9 7 200 9 6 9 6 5 8 6 9 6 7 9 7 9 9 8 6 7 7 9 5 6 7 6 6 0 5 6 6 6 7 0 5 8 7 7 7 9 7 8 9 8 8 7 9 7 6 8 8 8 7 9 6 6 8 8 9 8 7 6 6 7 7 8 6 7 6 0 7 6 6 6 6 0 2 3 3 3 2 4 4 3 3 3 3 3 4 4 4 4 31 31 31 4 5 3 3 31 31 31 4 4 3 3 31 32 31 3 3 3 3 3 3 3 2 2 4 3 3 2 2 2 2 “Salt and pepper” noise removed by median filter, not by mean filter

Median filter Good to remove “salt and pepper” noise Eliminates noise NOT linear !!! Edge-preserving

In ImageJ/Fiji Process>Smooth Process>Sharpen Process>Filters Blurs the active image or selection. This filter replaces each pixel with the average of its 3 × 3 neighborhood. Process>Sharpen Increases contrast and accentuates detail in the image or selection, but may also accentuate noise. This filter uses the following weighting factors to replace each pixel with a weighted average of the 3 × 3 neighborhood: -1,-1,-1/-1,-12,-1/-1,-1,-1 Process>Filters Gaussian blur Mean Median Process>Noise Despeckle (a 3x3 median filter. Median filters are good at removing salt and pepper noise.) Remove outliers (Useful for correcting, e.g., hot pixels or dead pixels of a CCD camera.)

Examples Open Samples > Blobs Image for Hands-On>Filters>EM Image for Hands-On>Filters>Outlier