Sundermeyer MAR 550 Spring 2013 1 Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Image Processing/Analysis.

Slides:



Advertisements
Similar presentations
1 A L L A H. Command-Window Workspace & Directory Command- History The Matlab Command window - Finding your way around.
Advertisements

Laboratory of Image Processing Pier Luigi Mazzeo
Image Display MATLAB functions for displaying image Bit Planes
MATLAB Image Processing Toolbox. Introduction  Collection of functions (MATLAB files) that supports a wide range of image processing operations  Documentation.
Chapter 14 Landsat 7 image of the retreating Malaspina Glacier, Alaska.
CS 128/ES Lecture 5a1 Working with Rasters.
Raster Data. The Raster Data Model The Raster Data Model is used to model spatial phenomena that vary continuously over a surface and that do not have.
Sep 21, Fall 2005ITCS4010/ Computer Graphics Overview Color Displays Drawing Pipeline.
Geographic Information Systems
CS 128/ES Lecture 5a1 Raster Formats (II). CS 128/ES Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.
Geographic Information Systems. What is a Geographic Information System (GIS)? A GIS is a particular form of Information System applied to geographical.
CS 128/ES Lecture 5a1 Working with Rasters.
Geographic Information Systems : Data Types, Sources and the ArcView Program.
CS 128/ES Lecture 5a1 Raster Formats (II). CS 128/ES Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.
USER VERIFICATION SYSTEM. Scope Web Interface RGB separation Pervasive.
Sep 21, Fall 2006IAT 4101 Computer Graphics Overview Color Displays Drawing Pipeline.
IAT 3551 Computer Graphics Overview Color Displays Drawing Pipeline.
19 th Advanced Summer School in Regional Science An introduction to GIS using ArcGIS.
First Bytes - LabVIEW. Today’s Session Introduction to LabVIEW Colors and computers Lab to create a color picker Lab to manipulate an image Visual ProgrammingImage.
Texas A&M University, Department of Civil Engineering CVEN 689 Applications of GIS in Civil Engineering Professor: Dr. Francisco Olivera Student: Brad.
Chapter 11 Adjusting Colors. Chapter Lessons Correct and adjust color Enhance colors by altering saturation Modify color channels using levels Create.
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
I-1 Steps of Image Generation –Create a model of the objects –Create a model for the illumination of the objects –Create an image (render) the result I.
Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Methods for Non-Stationary Means.
Image and Video Processing in MATLAB Partly based on slides by Dmitri Roduy.
Introduction to MATLAB
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
Gulsah Tumuklu Ozyer MATLAB IMAGE PROCESSING TOOLBOX.
Graphics Systems and OpenGL. Business of Generating Images Images are made up of pixels.
MA/CS 3751 Fall 2002 Lecture 24. MA/CS 3752 ginput ginput is a Matlab function which takes one argument input: number of points to select in the image.
Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Observations vs. Models.
CS112 Scientific Computation Department of Computer Science Wellesley College Numb3rs Number and image types.
The Rendering Pipeline CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Matlab The language of Technical computing Mr. D. Suresh Assistant Professor, Dept. of CSE, PSNA CET, Dindigul.
Presented By: ROLL No IMTIAZ HUSSAIN048 M.EHSAN ULLAH012 MUHAMMAD IDREES027 HAFIZ ABU BAKKAR096(06)
Introduction MATLAB stands for MATrix LABoratory.  Basics  Matrix Manipulations  MATLAB Programming  Graphics  Image types  Image Processing  Useful.
Image Display & Enhancement Lecture 2 Prepared by R. Lathrop 10/99 updated 1/03 Readings: ERDAS Field Guide 5th ed Chap 4; Ch 5: ; App A Math Topics:
CHAPTER 8 Color and Texture Mapping © 2008 Cengage Learning EMEA.
Digital Image Processing Lecture4: Fundamentals. Digital Image Representation An image can be defined as a two- dimensional function, f(x,y), where x.
Digital Image Processing NET 404) ) Introduction and Overview
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
GIS & Health ESPM 9: W 5-8 April 7, 2010 Instructors: Maggi Kelly Kevin Koy Mark O’Connor Geospatial Innovation Facility College of Natural Resources -
A Quick Introduction to GIS
Image Segmentation in Color Space By Anisa Chaudhary.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
June 14, ‘99 COLORS IN MATLAB.
CISC 110 Day 3 Introduction to Computer Graphics.
Digital Image Processing Introduction to MATLAB. Background on MATLAB (Definition) MATLAB is a high-performance language for technical computing. The.
Computer Science 121 Scientific Computing Winter 2014 Chapter 14 Images.
2D Output Primitives Points Lines Circles Ellipses Other curves Filling areas Text Patterns Polymarkers.
Lecture 27: Image Processing
Pseudo / Color Image Processing Fasih ur Rehman. Color Image Processing Two major areas of Color Image Processing –Pseudo Color Image Processing Assigning.
Project Planning Defining the project Software specification Development stages Software testing.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Introduction to MATLAB Ehsan Adeli M. Iran University of Science and Technology, E-Learing Center, Fall 2008 (1387)
Sundermeyer MAR 999 Spring Laboratory in Oceanography: Data and Methods MAR599, Spring 2009 Miles A. Sundermeyer Data Handling in Matlab.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
การใช้งานโปรแกรม MATLAB ดร. อำนาจ ขาวเน. BASIC ELEMENTS OF MATLAB MATLAB Desktop MATLAB Editor Help System MATLAB (MATrix LABoratory)
An Introduction to Programming in Matlab Emily Blumenthal
Computer Application in Engineering Design
MATLAB® Image Processing Toolbox
Images In Matlab.
CS320n –Visual Programming
Digital Image Processing using MATLAB
Laboratory in Oceanography: Data and Methods
CSE107 Matlab Introduction
Fundamentals of Image Processing Digital Image Representation
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Image Processing/Analysis

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox/Product Overview Overview of Image Processing Toolbox A collection of functions that extend the capability of MATLAB numeric computing for image processing operations, including: Spatial image transformations Morphological operations Neighborhood and block operations Linear filtering and filter design Transforms Image analysis and enhancement Image registration Deblurring Region of interest operations

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox/Product Overview Loading and writing images To read an image, use ‘imread’ Example: >> imfinfo('pout2.png') >> I = imread('pout.tif'); >> imshow(I) >> whos I >> >> II = imread(‘StarWars.tif’); >> whos II >> imshow(StarWars(:,:,1:3); >> >> imwrite (II(:,:,1:3), ‘StarWars.png');

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox/Introduction/Image Types in the Toolbox Image TypeInterpretation Binary (aka bilevel) Logical array of 0s and 1s, interpreted as b&w Indexed (aka pseudocolor) Array of class logical, uint8, uint16, single, or double whose pixel values are direct indices into an m-by-3 colormap. Grayscale (aka intensity, gray scale, or gray level) Array of class uint8, uint16, int16, single, or double whose pixel values specify intensity values. Truecolor (aka RGB image ) An m-by-n-by-3 array of class uint8, uint16, single, or double whose pixel values specify intensity values.

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox/Introduction/Image Types in the Toolbox The Separated Color Planes of an RGB Image

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox/Introduction/Image Types in the Toolbox red greenblue

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies by: G. A. Stuart (2007)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) The time evolution of a centrally injected patch of green dye was observed in response to a preset sequence of 8 mixing events

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Computing and subtracting image background >> bkgd = blkproc(newa,[5 5],[50 nanmedian(x(:)));

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Identify ‘dark bits’ >> bkgcutoff = 165; >> darkbits = find(ambkg<bkgcutoff & ~(ambkg==nan));

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Linearly interpolate over masked portions of image >> newdarkbits = griddata(Xgrid(lightbits),Ygrid(lightbits),a(lightbits),... Xgrid(darkbits),Ygrid(darkbits),'linear');

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d)

Sundermeyer MAR 550 Spring Two-Dimensional dye variance Inferred Eddy Diffusivity Time (s) Area of Ellipse (m 2 )  H = 2.3 x m 2 s -1 Observed area Fitted slope Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Calculate growth rate of dye variance to determine effective horizontal diffusivity

Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Image Processing/Analysis Part II

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox/Getting Started/Product Overview Overview of Mapping Toolbox A collection of functions that extend the capability of MATLAB numeric computing for mapping and GIS operations, including: Geospatial data import and access Vector map data and geographic data structures Geo-referenced images and data grids Map projections and coordinates Map display and interaction Geographic calculations for vector and raster data A map viewer and other graphical user interfaces

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox/Getting Started/Your First Maps Loading and plotting simple map data Example: >> worldmap world% create an empty map axis >> load coast % load and plot coastlines >> plotm(lat, long) Example: >> h = worldmap('Europe')% create a new map axes for Europe >> % and add data to the map >> geoshow('landareas.shp', 'FaceColor', [ ]) >> geoshow('worldlakes.shp', 'FaceColor', 'cyan') >> geoshow('worldrivers.shp', 'Color', 'blue') >> geoshow('worldcities.shp', 'Marker', '.', 'MarkerEdgeColor', 'red')

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox/Getting Started/Your First Maps The Map Viewer is an interactive tool for browsing map data Example: >> mapview >> % To import Mapping Toolbox demo data, change directory to: >> cd(fullfile(matlabroot,'toolbox','map','mapdemos')) >> % (can also get here by navigating to 'toolbox/map/mapdemos') >> % Import a vector data layer >> boston_roads = shaperead('boston_roads.shp');...

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox/Understanding Map Data/Understanding Vector Geo-Data Points, Lines, Polygons Vector geospatial data is used to represent linear features such as rivers, coastlines, boundaries, and highways Example: >> lat = [ ]; long = [ ];

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008 Sylvan Nurseries Quanset Nurseries Zylfee Brook gauge Tide gauge (still need datum) Isaac's Brook gauge Unable to gauge Audubon Field Station Fresh Pond (velocity only) Margaret's Brook (velocity only) Current Inlet (approximate location) Inlet does not connect to this channel Water Column sampling Zylfee Brook (velocity only) TBD

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008

Sundermeyer MAR 550 Spring Image Processing/Analysis Mapping Toolbox Useful Tidbits: Mass GIS website: