Magnetic Resonance Imaging

Slides:



Advertisements
Similar presentations
3-D Computer Vision CSc83020 / Ioannis Stamos  Revisit filtering (Gaussian and Median)  Introduction to edge detection 3-D Computater Vision CSc
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Chapter 3 Image Enhancement in the Spatial Domain.
CS 4487/9587 Algorithms for Image Analysis
July 27, 2002 Image Processing for K.R. Precision1 Image Processing Training Lecture 1 by Suthep Madarasmi, Ph.D. Assistant Professor Department of Computer.
Computer Vision Lecture 16: Texture
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
Lecture 4 Linear Filters and Convolution
1 Image filtering Hybrid Images, Oliva et al.,
CS443: Digital Imaging and Multimedia Filters Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring 2008 Ahmed Elgammal Dept.
1 Image filtering Images by Pawan SinhaPawan Sinha.
1 Image filtering
1 Images and Transformations Images by Pawan SinhaPawan Sinha.
1 Image filtering Hybrid Images, Oliva et al.,
Computer Vision Lecture 3: Digital Images
September 25, 2014Computer Vision Lecture 6: Spatial Filtering 1 Computing Object Orientation We compute the orientation of an object as the orientation.
Most slides from Steve Seitz
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
September 10, 2012Introduction to Artificial Intelligence Lecture 2: Perception & Action 1 Boundary-following Robot Rules 1  2  3  4  5.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
December 4, 2014Computer Vision Lecture 22: Depth 1 Stereo Vision Comparing the similar triangles PMC l and p l LC l, we get: Similarly, for PNC r and.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
3. Image Sampling & Quantisation 3.1 Basic Concepts To create a digital image, we need to convert continuous sensed data into digital form. This involves.
Digital imaging By : Alanoud Al Saleh. History: It started in 1960 by the National Aeronautics and Space Administration (NASA). The technology of digital.
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
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,
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
April 14, 2016Introduction to Artificial Intelligence Lecture 20: Image Processing 1 Example I: Predicting the Weather Let us study an interesting neural.
Image Enhancement in the Spatial Domain.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Miguel Tavares Coimbra
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Image Processing Digital image Fundamentals. Introduction to the course Grading – Project: 30% – Midterm Exam: 30% – Final Exam : 40% – Total: 100% –
Image Pre-Processing in the Spatial and Frequent Domain
Slope and Curvature Density Functions
Fourier Transform: Real-World Images
IMAGE PROCESSING AKSHAY P S3 EC ROLL NO. 9.
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 3: Digital Images
Computer Vision Lecture 9: Edge Detection II
Computer Vision Lecture 16: Texture II
Image Enhancement in the Spatial Domain
Image filtering Images by Pawan Sinha.
Image Processing, Lecture #8
HCI / CprE / ComS 575: Computational Perception
Image filtering Images by Pawan Sinha.
Image Processing Today’s readings For Monday
Image filtering Images by Pawan Sinha.
Image Processing, Lecture #8
Digital Image Processing
Digital Image Processing Week IV
Most slides from Steve Seitz
Image filtering Images by Pawan Sinha.
Image filtering
Image filtering
Introduction to Mathematical tools in used in DIP
Intensity Transformation
Most slides from Steve Seitz
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Magnetic Resonance Imaging November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Digitizing Visual Scenes In this course, we will mostly restrict our concept of images to grayscale. Grayscale values usually have a resolution of 8 bits (256 different values), in medical applications sometimes 12 bits (4096 values), or in binary images only 1 bit (2 values). We simply choose the available gray level whose intensity is closest to the gray value color we want to convert. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Digitizing Visual Scenes With regard to spatial resolution, we will map the intensity in our image onto a two-dimensional finite array: y’ x’ [0, 0] [0, 1] [0, 2] [0, 3] [1, 0] [1, 1] [1, 2] [1, 3] [2, 0] [2, 1] [2, 2] [2, 3] November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Digitizing Visual Scenes So the result of our digitization is a two-dimensional array of discrete intensity values. Notice that in such a digitized image F[i, j] the first coordinate i indicates the row of a pixel, starting with 0, the second coordinate j indicates the column of a pixel, starting with 0. In an m×n pixel array, the relationship between image (with origin in ints center) and pixel coordinates is given by the equations November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Image Size and Resolution November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Intensity Resolution November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Intensity Transformation Sometimes we need to transform the intensities of all image pixels to prepare the image for better visibility of information or for algorithmic processing. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Gamma Transformation Gamma transformation: November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Gamma Transformation November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Linear Histogram Scaling November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Linear Histogram Scaling For a desired intensity range [a, b] we can use the following linear transformation: Note that outliers (individual pixels of very low or high intensity) should be disregarded when computing Imin and Imax. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Image Filtering Many basic image processing techniques are based on convolution. In a convolution, a convolution filter W is applied to every pixel of an image I to create a filtered image I*. The filter W itself is a 2D matrix of real values. To simplify the mathematics, we could consider W to have a center [0, 0] and extend from –m to m vertically and –n to n horizontally. This means that W is of size (2m + 1)×(2n + 1). November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution Example: Averaging filter: i 1/9 j November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution Grayscale Image: Averaging Filter: 1 6 3 2 9 11 10 5 7 8 4 1/9 November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution Original Image: Filtered Image: 1 6 3 2 9 11 10 5 7 8 4 1/9 5 value = 11/9 + 61/9 + 31/9 + 21/9 + 111/9 + 31/9 + 51/9 + 101/9 + 61/9 = 47/9 = 5.222 November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution Original Image: Filtered Image: 1 6 3 2 9 11 10 5 7 8 4 1/9 5 7 value = 61/9 + 31/9 + 21/9 + 111/9 + 31/9 + 101/9 + 101/9 + 61/9 + 91/9 = 60/9 = 6.667 November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution Original Image: Filtered Image: 1 6 3 2 9 11 10 5 7 8 4 5 7 5 5 6 5 4 5 6 Now you can see the averaging (smoothing) effect of the 33 filter that we applied. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution It needs to be noted that for convolution the filter needs to be rotated by 180 before starting the computations (otherwise it’s a correlation). An intuitive explanation is that we would like convolution to be like a “local multiplication of patterns.” For example, if our image contains a few 1s and otherwise 0s, we would expect the convolution result to contain a copy of the filter pattern centered at each 1. Let us look at an image with one 1-pixel: November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution Image: Filter: Result: 1 9 8 7 6 5 4 3 2 1 1 2 3 4 5 6 7 8 9 Oops! The copy of the filter is rotated by 180 ! November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Convolution If we rotate the filter by 180 beforehand, we get the desired result. This leads to the following definition of convolution for image I, filter W, and result I*: This formula needs to be applied to all coordinates [i, j] in I in order to create the complete image I*. Convolution is commutative, i.e., W and I are exchangeable. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Image Filtering More common: Gaussian Filters Continuous version: implement decreasing influence by more distant pixels 1 4 7 16 26 41 Discrete version: 1/273 November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Image Filtering Effect of Gaussian smoothing: original 33 99 1515 November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Different Types of Filters Smoothing can reduce noise in the image. This can be useful, for example, if you want to find regions of similar color or texture in an image. However, there are different types of noise. For so-called “salt-and-pepper” noise, for example, a median filter can be more effective. Note that it is not a convolution filter, but it works similarly. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Median Filter Use, for example, a 33 filter and move it across the image like we did before. For each position, compute the median of the brightness values of the nine pixels in question. To compute the median, sort the nine values in ascending order. The value in the center of the list (here, the fifth value) is the median. Use the median as the new value for the center pixel. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Median Filter Advantage of the median filter: Capable of eliminating outliers such as the extreme brightness values in salt-and-pepper noise. Disadvantage: The median filter may change the contours of objects in the image. November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I

Introduction to Artificial Intelligence Lecture 21: Computer Vision I Median Filter 33 median 77 median original image November 27, 2018 Introduction to Artificial Intelligence Lecture 21: Computer Vision I