Computational Biology, Part 23 Biological Imaging III G. Steven Vanni Robert F. Murphy Copyright  1998, 2000. All rights reserved.

Slides:



Advertisements
Similar presentations
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 5 Thresholding/Segmentation.
Advertisements

5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 5 Thresholding/Segmentation.
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Edges and Contours– Chapter 7
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
Multimedia communications EG 371Dr Matt Roach Multimedia Communications EG 371 and EE 348 Dr Matt Roach Lecture 6 Image processing (filters)
Introduction to Morphological Operators
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
Digital Image Processing
7. Neighbourhood operations A single pixel considered in isolation conveys information on the intensity and colour at a single location in an image, but.
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.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Convolution.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
infinity-project.org Engineering education for today’s classroom 2 Outline How Can We Use Digital Images? A Digital Image is a Matrix Manipulating Images.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
Parallel Algorithms Patrick Cozzi University of Pennsylvania CIS Spring 2012.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Image Processing Part II. 2 Classes of Digital Filters global filters transform each pixel uniformly according to the function regardless of its location.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Computational Biology, Part 22 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
CS654: Digital Image Analysis Lecture 5: Pixels Relationships.
Lecture # 19 Image Processing II. 2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of.
CS 376b Introduction to Computer Vision 02 / 12 / 2008 Instructor: Michael Eckmann.
Digital Image Processing Part 3 Spatial Domain Processing.
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
TOPIC 12 IMAGE SEGMENTATION & MORPHOLOGY. Image segmentation is approached from three different perspectives :. Region detection: each pixel is assigned.
Images and Filters CSEP 576 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Morphological Image Processing
Add and subtract matrices. Multiply by a matrix scalar.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
School of Engineering and Computer Science Victoria University of Wellington Copyright: Peter Andreae & david streader, VUW Images and 2D Graphics COMP.
Filters– Chapter 6. Filter Difference between a Filter and a Point Operation is that a Filter utilizes a neighborhood of pixels from the input image to.
2.3 MODELING REAL WORLD DATA WITH MATRICES By the end of the section students will be able to add, subtract, and multiply matrices of various sizes. Students.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
Date of download: 7/2/2016 Copyright © 2016 SPIE. All rights reserved. Illustration of quantities in Eq. : Ath is the ratio of the striped area under the.
Image Enhancement in the Spatial Domain.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Basic Principles Photogrammetry V: Image Convolution & Moving Window:
Linear Algebra review (optional)
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof
ECE 692 – Advanced Topics in Computer Vision
Arithmetic operations & assignment statement
Matrix Operations Monday, August 06, 2018.
Knowing your math operation terms
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Multiplying Matrices.
Dr. Chang Shu COMP 4900C Winter 2008
Lecture 10 Image sharpening.
9th Lecture - Image Filters
The Project LennaGray.raw LennaEdge.raw
Computing in COBOL: The Arithmetic Verbs and Intrinsic Functions
Digital Image Processing Week IV
Multiplying Matrices.
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
The Image The pixels in the image The mask The resulting image 255 X
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
What is the dimension of the matrix below?
Multiplying Matrices.
Multiplying Matrices.
Image Enhancement in Spatial Domain: Neighbourhood Processing
Multiplying Matrices.
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Computational Biology, Part 23 Biological Imaging III G. Steven Vanni Robert F. Murphy Copyright  1998, All rights reserved.

Basic Image Processing Operations Arithmetic Operations Arithmetic Operations Kernel Operations Kernel Operations Image Math Image Math

Arithmetic Operations Two cases: Two cases:  Perform a single operand operation (e.g., logarithm, square root) on each pixel of an image  Perform a dual operand operation (e.g., add, multiply) on each pixel of an image using a constant as the second operand In both cases, the result is usually stored in the same pixel location (“storing in place”) In both cases, the result is usually stored in the same pixel location (“storing in place”)

Arithmetic Operations

Kernel Operations Basic idea: Use a matrix (usually square and of odd dimension, e.g., 3x3) in combination with an image to generate a new image Basic idea: Use a matrix (usually square and of odd dimension, e.g., 3x3) in combination with an image to generate a new image Algorithm: Algorithm:  For each pixel in the image (the current pixel)  Align the matrix to center it on that pixel  For each position in the matrix, multiply the corresponding pixel value in the image by the value in the matrix and sum the results  Store the result in the current pixel

Kernel Operations A matrix used in this fashion is called a kernel A matrix used in this fashion is called a kernel Note that the operation is different from matrix multiplication of the kernel by the image because Note that the operation is different from matrix multiplication of the kernel by the image because  the dimensions don’t match, and  all elements of the matrix are combined to give one result

Common Kernel Operations used in Image Processing Smoothing Smoothing Sharpening Sharpening Edge Finding Edge Finding

Examples of Kernel Operations using NIH Image Open an example file (from Mellon: BioServer: File Service: Courses: 03310: Demos: NIH Image files) Open an example file (from Mellon: BioServer: File Service: Courses: 03310: Demos: NIH Image files)

Original image Original image

Examples of Kernel Operations using NIH Image Smooth Smooth

Results of one Smooth Results of one Smooth

Results of a second Smooth Results of a second Smooth

Examples of Kernel Operations using NIH Image Close smoothed image, reopen original image, then Sharpen Close smoothed image, reopen original image, then Sharpen

Original image Original image

Image after one Sharpen Image after one Sharpen

Image after a second Sharpen Image after a second Sharpen

Examples of Kernel Operations using NIH Image Close sharpened image, reopen original image, then Find Edges Close sharpened image, reopen original image, then Find Edges

Image after Find Edges Image after Find Edges

Example kernels Smoothing Smoothing

Example kernels Sharpen Sharpen

Example kernels Edge detection (Sobel) Edge detection (Sobel)

Image Math Basic idea: Combine two images using an dual operand operator to generate a new image Basic idea: Combine two images using an dual operand operator to generate a new image Algorithm: Algorithm:  For each pixel in the first image, operate on it using the corresponding pixel in the second image and store the result in the corresponding pixel in a new (output) image

Image Math Any operator can be used Any operator can be used Most common operators: Most common operators:  division: generate ratio image  logical AND: mask one image with another (usually binary) image

Examples of Image Math using NIH Image Open original image and sharpen once (save as Abdomen.sharpen1), reopen original image Open original image and sharpen once (save as Abdomen.sharpen1), reopen original image

Ratio of sharp to original image (shows regions affected by sharpen) Ratio of sharp to original image (shows regions affected by sharpen)

Image Math vs. Arithmetic Operations Note difference between Image Math which does an operation on two images and Arithmetic which does an operation on a single image and a constant Note difference between Image Math which does an operation on two images and Arithmetic which does an operation on a single image and a constant

Summary: Basic Image Processing Operations Arithmetic Operations Arithmetic Operations  Inputs: Image, Constant (optional)  Common use: Subtract background Kernel Operations Kernel Operations  Inputs: Image, Kernel  Common use: Smoothing Image Math Image Math  Inputs: Two images  Common use: Generate ratio image