Image Processing, Lecture #8

Slides:



Advertisements
Similar presentations
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Advertisements

Transforming images to images
Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
E.G.M. PetrakisFiltering1 Linear Systems Many image processing (filtering) operations are modeled as a linear system Linear System δ(x,y) h(x,y)
Multimedia communications EG 371Dr Matt Roach Multimedia Communications EG 371 and EE 348 Dr Matt Roach Lecture 6 Image processing (filters)
Lecture 4 Linear Filters and Convolution
HCI 530 : Seminar (HCI) Damian Schofield. HCI 530: Seminar (HCI) Transforms –Two Dimensional –Three Dimensional The Graphics Pipeline.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
CS443: Digital Imaging and Multimedia Filters Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring 2008 Ahmed Elgammal Dept.
Image Enhancement.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
September 25, 2014Computer Vision Lecture 6: Spatial Filtering 1 Computing Object Orientation We compute the orientation of an object as the orientation.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
Image Processing1 Image Filtering Filtering can be use to enhance some features and de- enhance others. Usually used as a pre-processing step.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
Spatial Filtering: Basics
Geometric transformations Affine transformations Forward mapping Interpolations schemes.
Image Processing1 Morphological and Other Area Operations Introduction –Morphology is the science of form and structure –It is about regions or.
COMP 261 Lecture 16 3D Rendering. input: set of polygons viewing direction direction of light source(s) size of window. output: an image Actions rotate.
By Doğaç Başaran & Erdem Yörük
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
: Chapter 6: Morphological Image Processing 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Digital Image Processing CCS331 Relationships of Pixel 1.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Data Extraction using Image Similarity CIS 601 Image Processing Ajay Kumar Yadav.
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Autonomous Robots Vision © Manfred Huber 2014.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
September 19, 2013Computer Vision Lecture 6: Image Filtering 1 Image Filtering Many basic image processing techniques are based on convolution. In a convolution,
Image Registration Advanced DIP Project
CS654: Digital Image Analysis
Comparison of Image Registration Methods David Grimm Joseph Handfield Mahnaz Mohammadi Yushan Zhu March 18, 2004.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
: Chapter 5: Image Filtering 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Visible-Surface Detection Methods. To identify those parts of a scene that are visible from a chosen viewing position. Surfaces which are obscured by.
Miguel Tavares Coimbra
Basic Principles Photogrammetry V: Image Convolution & Moving Window:
Distinctive Image Features from Scale-Invariant Keypoints
Digital Image Processing Lecture 10: Image Restoration
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Mean Shift Segmentation
Line and Character Attributes 2-D Transformation
Fourier Transform: Real-World Images
Fitting Curve Models to Edges
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Image filtering Hybrid Images, Oliva et al.,
Computer Vision Lecture 9: Edge Detection II
Computer Vision Lecture 16: Texture II
Image filtering Images by Pawan Sinha.
Image Processing, Lecture #8
Image filtering Images by Pawan Sinha.
Spatial operations and transformations
Digital Image Processing
Technique 6: General gray-level transformations
Digital Image Processing Week IV
Image filtering Images by Pawan Sinha.
Morphological and Other Area Operations
Image filtering
Image filtering
Technique 6: General gray-level transformations
Magnetic Resonance Imaging
Comparing Images Using Hausdorff Distance
Intensity Transformation
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Spatial operations and transformations
: Chapter 7: Two Dimensional Image Transformation
Presentation transcript:

240-373 Image Processing, Lecture #8 Edge detection Templates such as -1 -1 and -1 1 1 1 -1 1 A B highlight edges in an image. A identifies the horizontal edge and B identifies the vertical edge. Combining both results gives both horizontal and vertical edges. Example: Image After A After B A + B 02/01/62 240-373 Image Processing, Lecture #8

Storing the convolution results Convolution results normally need examination and transformation before storage. In most applications, images are held as one array of bytes (or three arrays of bytes for color images). Each byte hold 0-255 unsigned integer. The results of an operation must be transformed to within the range. Scaling can be done to adjust the result range. Other method is to use a floating point variable to hold each pixel value. This needs more memory, scaling and rounding. 02/01/62 240-373 Image Processing, Lecture #8

Other window operations Technique 4: Median filtering USE: Noise removal while preserving edges in an image. OPERATION: Median filter is a low-pass filter that attempts to remove noisy pixels while keeping the edges intact. The value of the pixels in the window are sorted and the median--the middle value in the sorted list--is chosen. Example: Noise removal with a 3x3 median filter Image Output 02/01/62 240-373 Image Processing, Lecture #8

Median Filtering Example Modal filter: similar to median filter except that the most popular value from the set of nine is chosen. 02/01/62 240-373 Image Processing, Lecture #8

240-373 Image Processing, Lecture #8 Technique 5: k-closest averaging USE: To preserve the actual values of the pixels without letting the noise get through to the final image OPERATION: All pixels in the window are sorted k pixels values closest to the target pixel (center pixel in the window) are averaged. If the target pixel is included, the effect is similar to a low-pass filter k is constant that is smaller than the area of the window To avoid pairs or triples of noisy pixels, an extension of this technique can be as follow: k values nearest to the target, but not including q values closest to and including the target. 02/01/62 240-373 Image Processing, Lecture #8

240-373 Image Processing, Lecture #8 Interest Points Interest points are identified by algorithms that can be applied first to images containing a known object, and then to images where recognition of the object is required Technique 6: Moravec operator USE: To identify a set of points on an image by which the image may be classified or compared OPERATION: Computing variance where Passing a 3x3 window and saving minimum Passing a 3x3 window and setting to zero the center pixel when its value is not maximum in the window Simplified formula 02/01/62 240-373 Image Processing, Lecture #8

240-373 Image Processing, Lecture #8 Example Image Variances After step 1 After step 2 02/01/62 240-373 Image Processing, Lecture #8

240-373 Image Processing, Lecture #8 Correlation Technique 7: Correlation USE: To find where a template matches a window in an image, To determine the existence of a known shape in an image. THEORY: If N x M image is addressed by I(X,Y) and n x m template is addressed by t(i,j) then 1 2 3 1: is constant across the image, so can be ignored 2: is t convolved with I 3: is constant only if average light from image is constant across image (often approximately true) 02/01/62 240-373 Image Processing, Lecture #8

Some comments on correlation technique If overall light intensity across the whole image is fairly constant, it is safe to use convolution instead of correlation. The object may have any orientation. The object may have any size. 02/01/62 240-373 Image Processing, Lecture #8

Two-Dimensional Geometric Transformations Scaling by sx in the x direction and by sy in the y direction (zooming in/zooming out) Translating by tx in the x direction and by ty in the y direction Rotating by a radian clockwise 02/01/62 240-373 Image Processing, Lecture #8

Inverse transformations Scaling by sx in the x direction and by sy in the y direction (zooming in/zooming out) Translating by tx in the x direction and by ty in the y direction Rotating by a radian clockwise 02/01/62 240-373 Image Processing, Lecture #8

Combination of transformations The three transformations can be combined by multiplying all transformation matrices. For example, if an image is to be zoomed-in (2x), rotated clockwise for 45 degree about it origin and then shifted 20 old pixels to the right, evaluate the following expression: giving For new pixel position (8,10) new pixel will be at (26,1) 02/01/62 240-373 Image Processing, Lecture #8

240-373 Image Processing, Lecture #8 Technique 8: Two-dimensional geometric transformations USE: To turn an image around, zoom in or pan across it OPERATION: Determine the matrix which maps every new pixel onto either an old pixel (if in range) or zero otherwise. That is: Starting a pixel (0,0), plotting left to right, calculate atx = cx; aty = cy and make Increment x and atx = atx + ax; aty = aty + ay and repeat Inew allocation. Repeat for each x in the row. For the next row, set starting values to atx = bx*y + cx; aty = by*y + cy 02/01/62 240-373 Image Processing, Lecture #8