Laboratory in Oceanography: Data and Methods

Slides:



Advertisements
Similar presentations
The Cybercartographic Atlas of Antarctica Contribution from Wuhan University, China Dongcheng, E., Nengcheng, C.
Advertisements

Laboratory of Image Processing Pier Luigi Mazzeo
Sep 21, Fall 2005ITCS4010/ Computer Graphics Overview Color Displays Drawing Pipeline.
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 : Data Types, Sources and the ArcView Program.
Sep 21, Fall 2006IAT 4101 Computer Graphics Overview Color Displays Drawing Pipeline.
IAT 3551 Computer Graphics Overview Color Displays Drawing Pipeline.
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 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Image Processing/Analysis.
Image and Video Processing in MATLAB Partly based on slides by Dmitri Roduy.
Digital Image Fundamentals II 1.Image modeling and representations 2.Pixels and Pixel relations 3.Arithmetic operations of images 4.Image geometry operation.
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.
The Rendering Pipeline CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
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:
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.
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 -
CS COMPUTER GRAPHICS LABORATORY. LIST OF EXPERIMENTS 1.Implementation of Bresenhams Algorithm – Line, Circle, Ellipse. 2.Implementation of Line,
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.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Coin Recognition Using MATLAB - Emad Zaben - Bakir Hasanein - Mohammed Omar.
Introducing Macromedia Flash 8
Computer Application in Engineering Design
(Project) by:- ROHAN HIMANSHU ANUP 70282
Reading and Writing Image Files
MATLAB® Image Processing Toolbox
John Federici NJIT Physics Department
Computer Graphics Overview
Introduction to Illustrator
Geographic Information Systems “GIS”
Binary Notation and Intro to Computer Graphics
Computer Graphics Raster Devices Transformations
GEOGRAPHICAL INFORMATION SYSTEM
MATLAB Distributed, and Other Toolboxes
Binary Representation in Audio and Images
INTRODUCTION TO GEOGRAPHICAL INFORMATION SYSTEM
Images In Matlab.
Two-Dimensional Plots
Images Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
CS320n –Visual Programming
T490 (IP): Tutorial 2 Chapter 2: Digital Image Fundamentals
Digital Image Processing using MATLAB
Fall 2012 Longin Jan Latecki
CSE107 Matlab Introduction
Chapter 2 Data Representation.
Images Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
Laboratory in Oceanography: Data and Methods
CSE 307 Basics of Image Processing
Digital Image Processing
Laboratory in Oceanography: Data and Methods
Digital Image Processing
Magnetic Resonance Imaging
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Multimedia System Image
The General Linear Model (GLM)
© 2010 Cengage Learning Engineering. All Rights Reserved.
Fundamentals of Image Processing Digital Image Representation
Introduction to Mathematical tools in used in DIP
MATLAB stands for MATrix LABoratory.
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Non-numeric Data Representation
Polarized Fluorescence Resonance Energy Transfer Microscopy
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Laboratory in Oceanography: Data and Methods Image Processing/Analysis MAR599, Spring 2009 Miles A. Sundermeyer

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

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');

Image Processing/Analysis Image Processing Toolbox/Introduction/Image Types in the Toolbox Image Type Interpretation 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.

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

Image Processing/Analysis Image Processing Toolbox/Introduction/Image Types in the Toolbox red green blue

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies by: G. A. Stuart (2007) Next, I CONSIDERED MULTIPLE EDDY STIRRING, by placing multiple grid mixers in the same tank. The same experimental parameters were USED AS IN THE SINGLE EXPERIMENTS. THE ONLY difference was that multiple MIXERS WERE ACTUATED at a prescribed SEQUENCE THE SCHEMATIC shows the approximate POSITIONS

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 HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Computing and subtracting image background >> bkgd = blkproc(newa,[5 5],[50 50],@(x) nanmedian(x(:))); HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Identify ‘dark bits’ >> bkgcutoff = 165; >> darkbits = find(ambkg<bkgcutoff & ~(ambkg==nan)); HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

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'); HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) HERE IS ANOTHER MOVIE, in this case it is the base run of a MULTIPLE EDDY experiment THIS IS a SIMILAR PLANVIEW image of the entire tank. SINGLE MIXER, SIDE MIRROR, ROTATING COUNTER CLOCK WISE, DYE INJECTED ‘THIS’ Video of an ENTIRE MULTIEDDY EXPERIMENT is a series of DIGITAL STILLS and is SPED UP SUBSTANTIALLY… 40 MINUTES are shown in 40 SECONDS THE PICTURES were not UNIFORMLY SPACED (maybe a little jumpy). AGAIN, you see a PLANVIEW image of the tank, SIDE MIRROR IMPORTANT HERE is to notice when each mixer is ACTUATED and the resultant EDDY that is formed

Image Processing/Analysis Image Processing Toolbox Example: Lab Studies (cont’d) Calculate growth rate of dye variance to determine effective horizontal diffusivity Two-Dimensional dye variance kH = 2.3 x 10-5 m2 s-1 Inferred Eddy Diffusivity Area of Ellipse (m2) IMAGE PROCESSING WAS USED TO measured the rate of DYE spreading The TOP FIGURE SHOWS…. THE 2D VARIANCE can be calculated The OBSERVED DIFFUSIVITY can be estimated by GROWTH RATE OF THE Variance Observed area Fitted slope Time (s)

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

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) >> h = worldmap('Europe') % create a new map axes for Europe >> % and add data to the map >> geoshow('landareas.shp', 'FaceColor', [0.15 0.5 0.15]) >> geoshow('worldlakes.shp', 'FaceColor', 'cyan') >> geoshow('worldrivers.shp', 'Color', 'blue') >> geoshow('worldcities.shp', 'Marker', '.', 'MarkerEdgeColor', 'red')

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'); ...

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 = [45.6 -23.47 78]; long = [13 -97.45 165];

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 Unable to gauge Audubon Field Station Fresh Pond (velocity only) Margaret's Brook Current Inlet (approximate location) Inlet does not connect to this channel Water Column sampling (velocity only) TBD

Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008 Next, I CONSIDERED MULTIPLE EDDY STIRRING, by placing multiple grid mixers in the same tank. The same experimental parameters were USED AS IN THE SINGLE EXPERIMENTS. THE ONLY difference was that multiple MIXERS WERE ACTUATED at a prescribed SEQUENCE THE SCHEMATIC shows the approximate POSITIONS

Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008 Next, I CONSIDERED MULTIPLE EDDY STIRRING, by placing multiple grid mixers in the same tank. The same experimental parameters were USED AS IN THE SINGLE EXPERIMENTS. THE ONLY difference was that multiple MIXERS WERE ACTUATED at a prescribed SEQUENCE THE SCHEMATIC shows the approximate POSITIONS

Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008 Next, I CONSIDERED MULTIPLE EDDY STIRRING, by placing multiple grid mixers in the same tank. The same experimental parameters were USED AS IN THE SINGLE EXPERIMENTS. THE ONLY difference was that multiple MIXERS WERE ACTUATED at a prescribed SEQUENCE THE SCHEMATIC shows the approximate POSITIONS

Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008 Next, I CONSIDERED MULTIPLE EDDY STIRRING, by placing multiple grid mixers in the same tank. The same experimental parameters were USED AS IN THE SINGLE EXPERIMENTS. THE ONLY difference was that multiple MIXERS WERE ACTUATED at a prescribed SEQUENCE THE SCHEMATIC shows the approximate POSITIONS

Image Processing/Analysis Mapping Toolbox Example: Allens Pond Nutrient Loading / Tidal Flushing Study Case Studies in Estuarine Dynamics (MAR620), Spring 2008 Next, I CONSIDERED MULTIPLE EDDY STIRRING, by placing multiple grid mixers in the same tank. The same experimental parameters were USED AS IN THE SINGLE EXPERIMENTS. THE ONLY difference was that multiple MIXERS WERE ACTUATED at a prescribed SEQUENCE THE SCHEMATIC shows the approximate POSITIONS

Image Processing/Analysis Mapping Toolbox Useful Tidbits: Mass GIS website: http://www.mass.gov/mgis/massgis.htm