How to inport the data. Part 1: How to use image data

Size: px
Start display at page:

Download "How to inport the data. Part 1: How to use image data"

Transcription

1 How to inport the data Part 1: How to use image data

2 Example 1 >> kou=imread( kou.jpg','jpg'); Or File inport date kou.jpg kou(:,:,1) : Red kou(:,:,2) : Green kou(:,:,3) : Blue >> whos kou Name Size Bytes Class kou 213x255x uint8 array Grand total is elements using bytes >> image(kou) image(kou(:,:,1)) : Red image(kou(:,:,2)) : Green image(kou(:,:,3)) : Blue

3 Command : imread IMREAD Read image from graphics file. Agif=imread('barfy1.gif','gif'); Ajpg=imread('m_pic2.jpg','jpg'); A = IMREAD(FILENAME,FMT) reads a grayscale or color image from the file specified by the string FILENAME, where the string FMT specifies the format of the file. IMREAD returns the image data in the array A. If the file contains a grayscale image, A is a two-dimensional (Mby-N) array. If the file contains a color image, A is a three-dimensional (M-by-N-by-3) array.

4 Command : imwrite IMWRITE Write image to graphics file. imwrite(kou, kou2.jpg, 'jpeg') ; IMWRITE(A,FILENAME,FMT) writes the image A to FILENAME. FILENAME is a string that specifies the name of the output file, and FMT is a string the specifies the format of the file. kou can be either a grayscale image (M-by-N) or a truecolor image (M-by-N-by-3).

5 Example 2 filename = kou.jpg'; A = imread(filename,'jpeg') ; % size(a) %imshow(a); image(a); image(a(:,:,1)); B1 = double(a(:,:,1)); % image(a(:,:,2)); B2 = double(a(:,:,2)); % image(a(:,:,3)); B3 = double(a(:,:,3)); C= FFT2(B1); % C = fftshift(c); D=log10(abs(C)+1); dmax = max(max(d)); E = uint8(d/dmax * 255);% figure; %imshow(e);%... image(e); % filename1 = kou2.jpg'; imwrite(e, filename1, 'jpeg') ;

6 Sample 3 Agif=imread('barfy1.gif','gif'); figure(1),imshow(agif) figure(2),image(agif) figure(3),colormap(gray);image(agif); figure(4),colormap(hsv);image(agif); figure(5),colormap(hot);image(agif); figure(6),colormap(gray(2^8));image(agif);

7 Sample 4 % averaging clear Agif=imread('barfy1.gif','gif'); Adbl=double(Agif); rca=size(adbl); h=[ ]/4; for i=1:rca(2) Bdbl(:,i)=conv(h,Adbl(:,i)); end colormap(gray);image(bdbl); rcb=size(bdbl); for i=1:rcb(1) Cdbl(i,:)=conv(h,Bdbl(i,:)); end colormap(gray);image(cdbl); rcc=size(cdbl); h=[ ]; for i=1:rcc(2) Edbl(:,i)=conv(h,Cdbl(:,i)); end colormap(gray);image(edbl); %Fdbl=Adbl*100; dmax=max(max(fdbl)); Gdbl=uint8(Fdbl/dmax*255); colormap(gray);image(gdbl);

8 Sample 5 Image Proccessing Toolbox

9 Part 2 : How to use wave data

10 Sample 1 CD-Rom Kita2004 samples2 acoust listenwave.m [y, fs, bits] = wavread('clicks.wav'); sound(y,fs);

11 Sample 2 CD-Rom Kita2004 samples2 acoust File name acoust_synthesis.m % Create 440Hz % t=0:1/44100:1; y1=0.9*sin(2*pi*440*t); wavwrite(y1,44100,16,'testsindat1.wav'); % y2=0.4*sin(2*pi*440*t) + 0.3*sin(2*pi*880*t) *sin(2*pi*1320*t); wavwrite(y2,44100,16,'testsindat2.wav'); % FM ongen y3=0.9*sin(2*pi*220*t + sin(2*pi*10*t)); wavwrite(y2,44100,16,'testsindat3.wav'); %Amplitude modulation A=linspace(0.99,0,length(t)); y4=a.*sin(2*pi*440*t); wavwrite(y4,44100,16,'testsindat4.wav'); % frequency modulation f=linspace(440,880,length(t)); y5=0.9*sin(2*pi*f.*t); wavwrite(y5,44100,16,'testsindat5.wav'); % [y1d, fs1, bits1] = wavread('testsindat1.wav'); sound(y1d,fs1); disp('paused... hit any key'); [y2d, fs2, bits2] = wavread('testsindat2.wav'); sound(y2d,fs2); disp('paused... hit any key'); [y3d, fs3, bits3] = wavread('testsindat3.wav'); sound(y3d,fs3); disp('paused... hit any key'); [y4d, fs4, bits4] = wavread('testsindat4.wav'); sound(y4d,fs4); disp('paused... hit any key'); [y5d, fs5, bits5] = wavread('testsindat5.wav'); sound(y5d,fs5);

12 Sample 3 CD-Rom Kita2004 samples2 acoust stanford_clipping.m [y, fs, bits] = wavread('soundffile.wav'); %Even after severe peak clipping, intelligibility remains high y = y/max(abs(y)); sound(y,fs); disp('paused... hit any key'); N = length(y); cliplevel = 0.02; for i = 1:N, if abs(y(i)) > cliplevel y(i) = sign(y(i))*cliplevel; end end sound(y,fs);

13 Sample 4 CD-Rom Kita2003 samples2 acoust [y, fs, bits] = wavread('guitar.wav'); % Noise masking can reduce intelligibility of individual words by about 50% % when the average intensities of the speech and noise are about equal. % However, linguistic and semantic cues still allow intelligibility of sentences y = y/max(abs(y)); sound(y,fs); disp('paused... hit any key'); noisescale = 0.8; n = rand(size(y)); n = (n-0.5)*2*noisescale; y = (y + n)/2; sound(y,fs); stanford_noisespeech.m

14 Part 3 : How to use the excel data

15 How to inport data from Excel file Method 1: 1. Create excel data file 2. Use inport data in MATLAB File menu

16 How to inport data from Excel file Method 2: 1. Create the function M-file Filename : xel2matdde.m function A = xcel2matdde(row,col) channel = ddeinit('excel','sheet1'); if channel == 0, error('error initiating conversation'); end Asize(2) = col; Asize(1) = row; worksheet=sprintf('r1c1:r%dc%d',asize); A = ddereq(channel,worksheet); ddeterm(channel); 2. Run Excel and open the excel file 3. Call the function M-file in Command window EDU>> X = xcel2matdde(3,2)

17 How to export data to Excel file Method 1: 1. Save data as the ASCII file EDU>>save data3.dat X /ascii 2. Run excel and open the ASCII file

18 How to inport data from Excel file Method 2: 1. Create the function M-file Filename : mat2xceldde.m function void = mat2xceldde(a) channel = ddeinit('excel','sheet1'); if channel == 0, error('error initiating conversation'); end Asize = size(a); worksheet=sprintf('r1c1:r%dc%d',asize); rc = ddepoke(channel,worksheet,a); if rc == 0, error('error poking data'); end ddeterm(channel); 2. Run Excel and open the new excel file 3. Call the function M-file in Command window EDU>> mat2xceldde([1 0 0;0 1 0;0 0 1])

ENG Introduction to Engineering

ENG Introduction to Engineering GoBack ENG 100 - Introduction to Engineering Lecture # 9 Files, Sounds, Images and Movies Koç University ENG 100 - Slide #1 File Handling MATLAB has two general ways of importing/exporting data from the

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Introduction to MATLAB Hanan Hardan 1 Background on MATLAB (Definition) MATLAB is a high-performance language for technical computing. The name MATLAB is an interactive system

More information

Chapter 2 Fundamentals. Chapter 2 Fundamentals The images used here are provided by the authors.

Chapter 2 Fundamentals. Chapter 2 Fundamentals The images used here are provided by the authors. The images used here are provided by the authors. Objectives: Digital Image Representation Image as a Matrix Reading and Displaying Images Writing Images Storage Classes and Data Types Image Coordinate

More information

Introduction to Matlab/Octave

Introduction to Matlab/Octave Introduction to Matlab/Octave February 28, 2014 This document is designed as a quick introduction for those of you who have never used the Matlab/Octave language, as well as those of you who have used

More information

ČVUT v Praze in Prague. Introduction to MATLAB

ČVUT v Praze in Prague. Introduction to MATLAB Introduction to MATLAB 1 Matlab Usage Signal processing, image processing, testing and measurement, financial modelling and analysis, computational biology, Expansions of MATLAB Toolboxes for specific

More information

MATLAB. Image Processing Toolbox. User s Guide. Computation. Visualization. Programming. Version 2

MATLAB. Image Processing Toolbox. User s Guide. Computation. Visualization. Programming. Version 2 MATLAB Image Processing Toolbox Computation Visualization Programming User s Guide Version 2 How to Contact The MathWorks: PHONE FAX MAIL 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc. 24 Prime

More information

Clustering Images. John Burkardt (ARC/ICAM) Virginia Tech... Math/CS 4414:

Clustering Images. John Burkardt (ARC/ICAM) Virginia Tech... Math/CS 4414: John (ARC/ICAM) Virginia Tech... Math/CS 4414: http://people.sc.fsu.edu/ jburkardt/presentations/ clustering images.pdf... ARC: Advanced Research Computing ICAM: Interdisciplinary Center for Applied Mathematics

More information

Optimization Problems and Wrap-Up. CS 221 Lecture 14 Tue 6 December 2011

Optimization Problems and Wrap-Up. CS 221 Lecture 14 Tue 6 December 2011 Optimization Problems and Wrap-Up CS 221 Lecture 14 Tue 6 December 2011 Agenda 1. Announcements 2. Solving Optimization Problems in Excel and MATLAB (Text Chapter 10) 3. Other nifty functions in (standard)

More information

Digital Image Processing. Today Outline. Matlab Desktop. Matlab Basics

Digital Image Processing. Today Outline. Matlab Desktop. Matlab Basics Today Outline Matlab Basics Intensity transform and Histogram Equalization Exercise one Basic Image Processing Digital Image Processing Teacher Assistance: Yael Pritch course email : impr@cshujiacil personal

More information

The following is a table that shows the storage requirements of each data type and format:

The following is a table that shows the storage requirements of each data type and format: Name: Sayed Mehdi Sajjadi Mohammadabadi CS5320 A1 1. I worked with imshow in MATLAB. It can be used with many parameters. It can handle many file types automatically. So, I don t need to be worried about

More information

APPM 2360 Lab #2: Facial Recognition

APPM 2360 Lab #2: Facial Recognition APPM 2360 Lab #2: Facial Recognition Instructions Labs may be done in groups of 3 or less. You may use any program; but the TAs will only answer coding questions in MATLAB. One report must be turned in

More information

More on Images and Matlab

More on Images and Matlab More on Images and Matlab Prof. Eric Miller elmiller@ece.tufts.edu Fall 2007 EN 74-ECE Image Processing Lecture 3-1 Matlab Data Types Different means of representing numbers depending on what you want

More information

Introduction to MATLAB. CS534 Fall 2016

Introduction to MATLAB. CS534 Fall 2016 Introduction to MATLAB CS534 Fall 2016 What you'll be learning today MATLAB basics (debugging, IDE) Operators Matrix indexing Image I/O Image display, plotting A lot of demos... Matrices What is a matrix?

More information

Digital Recording and Playback

Digital Recording and Playback Digital Recording and Playback Digital recording is discrete a sound is stored as a set of discrete values that correspond to the amplitude of the analog wave at particular times Source: http://www.cycling74.com/docs/max5/tutorials/msp-tut/mspdigitalaudio.html

More information

Introduction to MATLAB

Introduction to MATLAB Chapter 1 Introduction to MATLAB 1.1 Software Philosophy Matrix-based numeric computation MATrix LABoratory built-in support for standard matrix and vector operations High-level programming language Programming

More information

Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM

Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM 1 Instructions Labs may be done in groups of 2 or 3 (i.e., not alone). You may use any programming language you wish but MATLAB is highly suggested.

More information

MISB ST STANDARD. 27 February Motion Imagery Interpretability and Quality Metadata. 1 Scope. 2 References. 2.1 Normative References

MISB ST STANDARD. 27 February Motion Imagery Interpretability and Quality Metadata. 1 Scope. 2 References. 2.1 Normative References MISB ST 1108.2 STANDARD Motion Imagery Interpretability and Quality Metadata 27 February 2014 1 Scope This document defines metadata keys necessary to express motion imagery interpretability and quality

More information

EE168 Handout #6 Winter Useful MATLAB Tips

EE168 Handout #6 Winter Useful MATLAB Tips Useful MATLAB Tips (1) File etiquette remember to fclose(f) f=fopen( filename ); a = fread( ); or a=fwrite( ); fclose(f); How big is a? size(a) will give rows/columns or all dimensions if a has more than

More information

Introduction and MATLAB Basics

Introduction and MATLAB Basics Introduction and MATLAB Basics Lecture Computer Room MATLAB MATLAB: Matrix Laboratory, designed for matrix manipulation Pro: Con: Syntax similar to C/C++/Java Automated memory management Dynamic data types

More information

MATLAB for Image Processing

MATLAB for Image Processing MATLAB for Image Processing PPT adapted from Tuo Wang, tuowang@cs.wisc.edu Computer Vision Lecture Notes 03 1 Introduction to MATLAB Basics & Examples Computer Vision Lecture Notes 03 2 What is MATLAB?

More information

xv Programming for image analysis fundamental steps

xv  Programming for image analysis fundamental steps Programming for image analysis xv http://www.trilon.com/xv/ xv is an interactive image manipulation program for the X Window System grab Programs for: image ANALYSIS image processing tools for writing

More information

Spring 2010 Instructor: Michele Merler.

Spring 2010 Instructor: Michele Merler. Spring 2010 Instructor: Michele Merler http://www1.cs.columbia.edu/~mmerler/comsw3101-2.html Images are matrices (for MATLAB) Grayscale images are [nxm] matrices Color images are [nxmx3] matrices R G B

More information

Lecture #3. MATLAB image processing (cont.) Histograms Mathematics of image processing Geometric transforms Image Warping.

Lecture #3. MATLAB image processing (cont.) Histograms Mathematics of image processing Geometric transforms Image Warping. Lecture #3 MATLAB image processing (cont.) vectorization Histograms Mathematics of image processing Geometric transforms Image Warping Pixel Indexing in MATLAB For loops in Matlab are inefficient, whereas

More information

CS1114 Assignment 5, Part 1

CS1114 Assignment 5, Part 1 CS4 Assignment 5, Part out: Friday, March 27, 2009. due: Friday, April 3, 2009, 5PM. This assignment covers three topics in two parts: interpolation and image transformations (Part ), and feature-based

More information

Matlab Basics Lecture 3. Juha Kuortti November 6, 2017

Matlab Basics Lecture 3. Juha Kuortti November 6, 2017 Matlab Basics Lecture 3 Juha Kuortti November 6, 2017 1 Creating and accessing files save,load Variables are erased from memory after quitting Matlab (>>quit or >> exit). The command >>save saves all workspace

More information

Matlab? Chapter 3-4 Matlab and IPT Basics. Working Environment. Matlab Demo. Array. Data Type. MATLAB Desktop:

Matlab? Chapter 3-4 Matlab and IPT Basics. Working Environment. Matlab Demo. Array. Data Type. MATLAB Desktop: Matlab? Lecture Slides ME 4060 Machine Vision and Vision-based Control Chapter 3-4 Matlab and IPT Basics By Dr. Debao Zhou 1 MATric LABoratory data analysis, prototype and visualization Matrix operation

More information

A Gentle Introduction to Matlab

A Gentle Introduction to Matlab A Gentle Introduction to Matlab Alexey Koloydenko February 8, 2017 1 What is Matlab? MATLAB is a powerful environment for scientific computing, modelling, and software development. MATLAB is a commercial

More information

Image Processing Toolbox

Image Processing Toolbox Image Processing Toolbox For Use with MATLAB Computation Visualization Programming User s Guide Version 3 1 Getting Started This section contains two examples to get you started doing image processing

More information

Homework Assignment 2 - SOLUTIONS Due Monday, September 21, 2015

Homework Assignment 2 - SOLUTIONS Due Monday, September 21, 2015 Homework Assignment 2 - SOLUTIONS Due Monday, September 21, 215 Notes: Please email me your solutions for these problems (in order) as a single Word or PDF document. If you do a problem on paper by hand,

More information

GRAPHICS AND VISUALISATION WITH MATLAB Part 2

GRAPHICS AND VISUALISATION WITH MATLAB Part 2 GRAPHICS AND VISUALISATION WITH MATLAB Part 2 UNIVERSITY OF SHEFFIELD CiCS DEPARTMENT Deniz Savas & Mike Griffiths March 2012 Topics Handle Graphics Animations Images in Matlab Handle Graphics All Matlab

More information

Xiang Li. Temple University. September 27, 2016

Xiang Li. Temple University. September 27, 2016 Introduction to Matlab Xiang Li Temple University September 27, 2016 Outline u u u u Loops Functions Data Import Data export While and For loops u u u Matlab has loops, similar to what you have seen in

More information

Lab # 2 - ACS I Part I - DATA COMPRESSION in IMAGE PROCESSING using SVD

Lab # 2 - ACS I Part I - DATA COMPRESSION in IMAGE PROCESSING using SVD Lab # 2 - ACS I Part I - DATA COMPRESSION in IMAGE PROCESSING using SVD Goals. The goal of the first part of this lab is to demonstrate how the SVD can be used to remove redundancies in data; in this example

More information

Introduction to image processing in Matlab

Introduction to image processing in Matlab file://d:\courses\digital Image Processing\lect\Introduction to Image Processing-MATL... Page 1 of 18 Introduction to image processing in Matlab by Kristian Sandberg, Department of Applied Mathematics,

More information

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay 1 Robert Matthew Buckley Nova Southeastern University Dr. Laszlo MCIS625 On Line Module 2 Graphics File Format Essay 2 JPEG COMPRESSION METHOD Joint Photographic Experts Group (JPEG) is the most commonly

More information

Image Processing CS 6640 : An Introduction to MATLAB Basics Bo Wang and Avantika Vardhan

Image Processing CS 6640 : An Introduction to MATLAB Basics Bo Wang and Avantika Vardhan Image Processing CS 6640 : An Introduction to MATLAB Basics Bo Wang and Avantika Vardhan August 29, 2014 1 Getting Started with MATLAB 1.1 Resources 1) CADE Lab: Matlab is installed on all the CADE lab

More information

Image Compression With Haar Discrete Wavelet Transform

Image Compression With Haar Discrete Wavelet Transform Image Compression With Haar Discrete Wavelet Transform Cory Cox ME 535: Computational Techniques in Mech. Eng. Figure 1 : An example of the 2D discrete wavelet transform that is used in JPEG2000. Source:

More information

Exercise #1. MATLAB Environment + Image Processing Toolbox - Introduction

Exercise #1. MATLAB Environment + Image Processing Toolbox - Introduction dr inż. Jacek Jarnicki, dr inż. Marek Woda Institute of Computer Engineering, Control and Robotics Wroclaw University of Technology {jacek.jarnicki, marek.woda}@pwr.wroc.pl Exercise #1 MATLAB Environment

More information

Depatment of Computer Science Rutgers University CS443 Digital Imaging and Multimedia Assignment 4 Due Apr 15 th, 2008

Depatment of Computer Science Rutgers University CS443 Digital Imaging and Multimedia Assignment 4 Due Apr 15 th, 2008 CS443 Spring 2008 - page 1/5 Depatment of Computer Science Rutgers University CS443 Digital Imaging and Multimedia Assignment 4 Due Apr 15 th, 2008 This assignment is supposed to be a tutorial assignment

More information

Getting Started with DASYLab and MCC DAQ Hardware

Getting Started with DASYLab and MCC DAQ Hardware Getting Started with DASYLab and MCC DAQ Hardware This application note describes how to install and use DASYLab Version 10 with MCC data acquisition hardware. There are various exercises which detail

More information

int16 map is often stored with an indexed image and is automatically loaded with image when using imread

int16 map is often stored with an indexed image and is automatically loaded with image when using imread Dr. Qadri Hamarsheh Outline of the Lecture Image Types Converting between data classes and image types Converting images using IPT Function Matlab image Arithmetic Functions Array indexing Image Types

More information

THE BARE ESSENTIALS OF MATLAB

THE BARE ESSENTIALS OF MATLAB WHAT IS MATLAB? Matlab was originally developed to be a matrix laboratory, and is used as a powerful software package for interactive analysis and visualization via numerical computations. It is oriented

More information

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music COS 116 The Computational Universe Laboratory 4: Digital Sound and Music In this lab you will learn about digital representations of sound and music, especially focusing on the role played by frequency

More information

1. Introduction to the OpenCV library

1. Introduction to the OpenCV library Image Processing - Laboratory 1: Introduction to the OpenCV library 1 1. Introduction to the OpenCV library 1.1. Introduction The purpose of this laboratory is to acquaint the students with the framework

More information

Instructions for Muffler Analysis

Instructions for Muffler Analysis Instructions for Muffler Analysis Part 1: Create the BEM mesh using ANSYS Specify Element Type Preprocessor > Element Type > Add/Edit/Delete Add Shell Elastic 4 Node 181 Close Specify Geometry Preprocessor

More information

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music COS 116 The Computational Universe Laboratory 4: Digital Sound and Music In this lab you will learn about digital representations of sound and music, especially focusing on the role played by frequency

More information

Using files. Computer Programming for Engineers (2014 Spring)

Using files. Computer Programming for Engineers (2014 Spring) Computer Programming for Engineers (2014 Spring) Using files Hyoungshick Kim Department of Computer Science and Engineering College of Information and Communication Engineering Sungkyunkwan University

More information

CSE/Math 485 Matlab Tutorial and Demo

CSE/Math 485 Matlab Tutorial and Demo CSE/Math 485 Matlab Tutorial and Demo Some Tutorial Information on MATLAB Matrices are the main data element. They can be introduced in the following four ways. 1. As an explicit list of elements. 2. Generated

More information

SD 575 Image Processing

SD 575 Image Processing SD 575 Image Processing Fall 2014 Lab 5: Image Compression and Segmentation Due Thursday November 27 at 10:30am (in class/email) Note: All lab reports will be submitted as hard or soft copies to Robert

More information

MATLAB Introduction to MATLAB Programming

MATLAB Introduction to MATLAB Programming MATLAB Introduction to MATLAB Programming MATLAB Scripts So far we have typed all the commands in the Command Window which were executed when we hit Enter. Although every MATLAB command can be executed

More information

CS 556: Computer Vision. Lecture 2

CS 556: Computer Vision. Lecture 2 CS 556: Computer Vision Lecture 2 Prof. Sinisa Todorovic sinisa@eecs.oregonstate.edu 1 Basic MATLAB Commands imread size whos imshow imwrite im2double rgb2gray, im2uint8, im2bw img1 = img(1:end-4,:), img1

More information

FUTEK USB Software Version User s Manual

FUTEK USB Software Version User s Manual FUTEK USB Software Version 2.0.0.0 User s Manual 10 Thomas, Irvine, CA 92618, USA Toll Free: (800) 23-FUTEK Telephone: (949) 465-0900 Fax: (949) 465-0905 futek@futek.com www.futek.com 2 Table of Contents

More information

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Ranga Rodrigo October 9, 29 Outline Contents Preliminaries 2 Dilation and Erosion 3 2. Dilation.............................................. 3 2.2 Erosion..............................................

More information

Binary representation and data

Binary representation and data Binary representation and data Loriano Storchi loriano@storchi.org http:://www.storchi.org/ Binary representation of numbers In a positional numbering system given the base this directly defines the number

More information

Digital Image Processing. Image Enhancement in the Frequency Domain

Digital Image Processing. Image Enhancement in the Frequency Domain Digital Image Processing Image Enhancement in the Frequency Domain Topics Frequency Domain Enhancements Fourier Transform Convolution High Pass Filtering in Frequency Domain Low Pass Filtering in Frequency

More information

Redundant Data Elimination for Image Compression and Internet Transmission using MATLAB

Redundant Data Elimination for Image Compression and Internet Transmission using MATLAB Redundant Data Elimination for Image Compression and Internet Transmission using MATLAB R. Challoo, I.P. Thota, and L. Challoo Texas A&M University-Kingsville Kingsville, Texas 78363-8202, U.S.A. ABSTRACT

More information

Intro To MATLAB. CS Fall 2013 Zach Welch

Intro To MATLAB. CS Fall 2013 Zach Welch Intro To MATLAB CS 534 - Fall 2013 Zach Welch Overview Basics MATLAB data structures Operations Useful functions Image Processing and other useful things for 534 Demo Q&A Accessing MATLAB MATLAB is available

More information

WinEasyTORK Manual. Version 1.0. Index. 1.0 WinEasyTORK Configuration Real Time Channels Setup Make a Test...

WinEasyTORK Manual. Version 1.0. Index. 1.0 WinEasyTORK Configuration Real Time Channels Setup Make a Test... WinEasyTORK Manual Version 1.0 Index WinEasyTORK LICENSE AGREEMENT... 3 1.0 WinEasyTORK Configuration... 4 2.0 Real Time Channels Setup... 7 3.0 Make a Test... 8 4.0 Report Configuration... 9 5.0 Communication

More information

MATLAB for Image Processing. April 2018 Rod Dockter

MATLAB for Image Processing. April 2018 Rod Dockter MATLAB for Image Processing April 2018 Rod Dockter Outline Introduction to MATLAB Basics & Examples Image Processing with MATLAB Basics & Examples What is MATLAB? MATLAB = Matrix Laboratory MATLAB is a

More information

CS 100 Python commands, computing concepts, and algorithmic approaches for final Fall 2015

CS 100 Python commands, computing concepts, and algorithmic approaches for final Fall 2015 CS 100 Python commands, computing concepts, and algorithmic approaches for final Fall 2015 These pages will NOT BE INCLUDED IN THE MIDTERM. print - Displays a value in the command area - Examples: - print

More information

Techniques and software for data analysis PHY 312

Techniques and software for data analysis PHY 312 Techniques and software for data analysis PHY 31 There are many programs available for analysis and presentation of data. I recommend using Gen, which can be downloaded for free from www.gen.com. It can

More information

Preservation. Session 4: Techniques & Audio. Arienne M. Dwyer University of Kansas. Yoshi Ono University of Alberta

Preservation. Session 4: Techniques & Audio. Arienne M. Dwyer University of Kansas. Yoshi Ono University of Alberta Session 4: Techniques & Audio University of California at Santa Barbara, June 24-27, Arienne M. Dwyer University of Kansas Yoshi Ono University of Alberta 1 Session 4 s focus I. Homework review II. Transcriber

More information

Basic Simulation Lab with MATLAB

Basic Simulation Lab with MATLAB Chapter 3: Generation of Signals and Sequences 1. t = 0 : 0.001 : 1; Generate a vector of 1001 samples for t with a value between 0 & 1 with an increment of 0.001 2. y = 0.5 * t; Generate a linear ramp

More information

To extract the files, use the following command: tar -xzf longtermsnr.tar.gz

To extract the files, use the following command: tar -xzf longtermsnr.tar.gz C++/MATLAB code to estimate the IBM and long term SNRs Written by Arun Narayanan, 2012 The Ohio State University, Perception and Neurodynamics Lab (PNL) Important Notice: These programs are not for public

More information

Computational Foundations of Cognitive Science. Inverse. Inverse. Inverse Determinant

Computational Foundations of Cognitive Science. Inverse. Inverse. Inverse Determinant Computational Foundations of Cognitive Science Lecture 14: s and in Matlab; Plotting and Graphics Frank Keller School of Informatics University of Edinburgh keller@inf.ed.ac.uk February 23, 21 1 2 3 Reading:

More information

University of Alberta

University of Alberta A Brief Introduction to MATLAB University of Alberta M.G. Lipsett 2008 MATLAB is an interactive program for numerical computation and data visualization, used extensively by engineers for analysis of systems.

More information

General Technical Information

General Technical Information General Technical Information In this file technical information is given on how to use the wave forms files present on the CDROM. File format together with file naming in use in the EUROM1 speech database

More information

ECE 5273 HW 1 Solution

ECE 5273 HW 1 Solution ECE 5273 HW 1 Solution Spring 2018 Dr. Havlicek Note: This document contains solutions in both Matlab and traditional C. Matlab Solution: 1. Images: Original Lena Image Original Peppers Image 50 50 100

More information

INTRODUCTION TO MATLAB

INTRODUCTION TO MATLAB 1 of 18 BEFORE YOU BEGIN PREREQUISITE LABS None EXPECTED KNOWLEDGE Algebra and fundamentals of linear algebra. EQUIPMENT None MATERIALS None OBJECTIVES INTRODUCTION TO MATLAB After completing this lab

More information

Filter Hose. User Guide v 1.4.2

Filter Hose. User Guide v 1.4.2 Filter Hose User Guide v 1.4.2 Contents FEATURE 2 NOTES 2 COMPATIBILITY AND KNOWN ISSUES 4 NAVIGATION 5 UNDERSTANDING FILTER HOSE USER INTERFACE 5 THE FIVE STEP CONTROL PANEL 6 MOUSE NAVIGATION ON EACH

More information

Matlab Tutorial. Yi Gong

Matlab Tutorial. Yi Gong Matlab Tutorial Yi Gong 2011-1-7 Contact Info Keep an eye on latest announcement on course website Office Hours @ HFH 3120B M 10am-12pm, W 12pm-2pm, F 3pm-5pm Discussion Fri 2pm-2:50pm @PHELPS 1401 Email:

More information

MATLAB for biologists Lecture 6

MATLAB for biologists Lecture 6 MATLAB for biologists Lecture 6 Kevin Smith Light Microscopy Centre ETH Zurich kevin.smith@lmc.biol.ethz.ch April 4, 2012 1 1 Cell Arrays So far we have only worked with numeric arrays in MATLAB. Cell

More information

Arrays and Images. Francesco Vespignani DiSCoF Università degli Studi di Trento. November 19, 2009

Arrays and Images. Francesco Vespignani DiSCoF Università degli Studi di Trento. November 19, 2009 Arrays and Images Francesco Vespignani DiSCoF Università degli Studi di Trento. francesco.vespignani@gmail.com November 19, 2009 Today Arrays Practice on Matrix Basic Files Management Graphic formats Practice

More information

Getting Started With Images, Video, and Matlab. CSE 6367 Computer Vision Vassilis Athitsos University of Texas at Arlington

Getting Started With Images, Video, and Matlab. CSE 6367 Computer Vision Vassilis Athitsos University of Texas at Arlington Getting Started With Images, Video, and Matlab CSE 6367 Computer Vision Vassilis Athitsos University of Texas at Arlington Grayscale image: What Is An Image? A 2D array of intensity values. rows x columns.

More information

Principles of Audio Coding

Principles of Audio Coding Principles of Audio Coding Topics today Introduction VOCODERS Psychoacoustics Equal-Loudness Curve Frequency Masking Temporal Masking (CSIT 410) 2 Introduction Speech compression algorithm focuses on exploiting

More information

ECE 202 LAB 3 ADVANCED MATLAB

ECE 202 LAB 3 ADVANCED MATLAB Version 1.2 1 of 13 BEFORE YOU BEGIN PREREQUISITE LABS ECE 201 Labs EXPECTED KNOWLEDGE ECE 202 LAB 3 ADVANCED MATLAB Understanding of the Laplace transform and transfer functions EQUIPMENT Intel PC with

More information

Exercise: Simulating spatial processing in the visual pathway with convolution

Exercise: Simulating spatial processing in the visual pathway with convolution Exercise: Simulating spatial processing in the visual pathway with convolution This problem uses convolution to simulate the spatial filtering performed by neurons in the early stages of the visual pathway,

More information

D1.5a Create Access Master Files

D1.5a Create Access Master Files D1.5a Create Access Master Files Step 1. Open the file in Audacity a) Double- click on the Audacity program icon. Wait for Audacity to fully load. Click ok to dismiss Welcome to Audacity screen if it pops

More information

The LENA Advanced Data Extractor (ADEX) User Guide Version 1.1.2

The LENA Advanced Data Extractor (ADEX) User Guide Version 1.1.2 The LENA Advanced Data Extractor (ADEX) User Guide Version 1.1.2 ADEXUG20110602 Copyright 2011 LENA Foundation The LENA Advanced Data Extractor User Guide ii The LENA Advanced Data Extractor (ADEX) User

More information

Instruction 1 to the second course project

Instruction 1 to the second course project Lab 7 of COMP 319 Instruction 1 to the second course project Lab tutor : Dennis Yang LIU Email : csygliu@comp.polyu.edu.hk pol Lab 7 : Oct. 30, 2014 1 Summary of Lab 6 General concepts of plotting Plot

More information

Hands-on Lab. Lego Programming BricxCC Timers

Hands-on Lab. Lego Programming BricxCC Timers Hands-on Lab Lego Programming BricxCC Timers Timing is important in controller design; data and actions often must be respectively acquired and commanded at prescribed intervals. NxC provides statements

More information

Filter Hose. User Guide v 2.0

Filter Hose. User Guide v 2.0 Filter Hose User Guide v 2.0 Contents FEATURE 2 COMPATIBILITY AND KNOWN ISSUES 3 APPLICATION NOTES 3 NAVIGATION 5 UNDERSTANDING FILTER HOSE USER INTERFACE 5 THE FIVE STEP CONTROL PANEL 6 USER DEFINED FILTER

More information

In either case, remember to delete each array that you allocate.

In either case, remember to delete each array that you allocate. CS 103 Path-so-logical 1 Introduction In this programming assignment you will write a program to read a given maze (provided as an ASCII text file) and find the shortest path from start to finish. 2 Techniques

More information

Aquadopp Profiler 1 MHz

Aquadopp Profiler 1 MHz Small and compact, with up to 25 m current profiling range; option for PUV wave measurements The Aquadopp Profiler is a highly versatile Acoustic Doppler Current Profiler (ADCP) available in four profiling

More information

Sample 3D velocity at up to 64 Hz for small-scale research in coastal areas

Sample 3D velocity at up to 64 Hz for small-scale research in coastal areas Sample 3D velocity at up to 64 Hz for small-scale research in coastal areas The Vector is a high-accuracy single-point current meter that is capable of acquiring 3D velocity in a very small volume at rates

More information

AN INTRODUCTION TO MATLAB

AN INTRODUCTION TO MATLAB AN INTRODUCTION TO MATLAB 1 Introduction MATLAB is a powerful mathematical tool used for a number of engineering applications such as communication engineering, digital signal processing, control engineering,

More information

SIVIC GUI Overview. SIVIC GUI Layout Overview

SIVIC GUI Overview. SIVIC GUI Layout Overview SIVIC GUI Overview SIVIC GUI Layout Overview At the top of the SIVIC GUI is a row of buttons called the Toolbar. It is a quick interface for loading datasets, controlling how the mouse manipulates the

More information

CS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University

CS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University 9/5/6 CS Introduction to Computing II Wayne Snyder Department Boston University Today: Arrays (D and D) Methods Program structure Fields vs local variables Next time: Program structure continued: Classes

More information

CHAPTER 4 SEMANTIC REGION-BASED IMAGE RETRIEVAL (SRBIR)

CHAPTER 4 SEMANTIC REGION-BASED IMAGE RETRIEVAL (SRBIR) 63 CHAPTER 4 SEMANTIC REGION-BASED IMAGE RETRIEVAL (SRBIR) 4.1 INTRODUCTION The Semantic Region Based Image Retrieval (SRBIR) system automatically segments the dominant foreground region and retrieves

More information

Extraction and Representation of Features, Spring Lecture 4: Speech and Audio: Basics and Resources. Zheng-Hua Tan

Extraction and Representation of Features, Spring Lecture 4: Speech and Audio: Basics and Resources. Zheng-Hua Tan Extraction and Representation of Features, Spring 2011 Lecture 4: Speech and Audio: Basics and Resources Zheng-Hua Tan Multimedia Information and Signal Processing Department of Electronic Systems Aalborg

More information

SREAL File Converter. Overview. Content

SREAL File Converter. Overview. Content Application Note 2004-007A SREAL File Converter Overview This application note describes how to operate the SREAL (BDS 1 ) File Converter. This document also describes the format of the BDS files produced

More information

Spring 2010 Instructor: Michele Merler.

Spring 2010 Instructor: Michele Merler. Spring 2010 Instructor: Michele Merler http://www1.cs.columbia.edu/~mmerler/comsw3101-2.html Type from command line: matlab -nodisplay r command Tells MATLAB not to initialize the visual interface NOTE:

More information

Homework #2: Introduction to Images Due 4 th Week of Spring 2018 at the start of lab CSE 7, Spring 2018

Homework #2: Introduction to Images Due 4 th Week of Spring 2018 at the start of lab CSE 7, Spring 2018 Homework #2: Introduction to Images Due 4 th Week of Spring 2018 at the start of lab CSE 7, Spring 2018 Before beginning this homework, create a new Notepad++ file in your cs7sxx home directory on ieng6

More information

If you re using a Mac, follow these commands to prepare your computer to run these demos (and any other analysis you conduct with the Audio BNC

If you re using a Mac, follow these commands to prepare your computer to run these demos (and any other analysis you conduct with the Audio BNC If you re using a Mac, follow these commands to prepare your computer to run these demos (and any other analysis you conduct with the Audio BNC sample). All examples use your Workshop directory (e.g. /Users/peggy/workshop)

More information

08 Sound. Multimedia Systems. Nature of Sound, Store Audio, Sound Editing, MIDI

08 Sound. Multimedia Systems. Nature of Sound, Store Audio, Sound Editing, MIDI Multimedia Systems 08 Sound Nature of Sound, Store Audio, Sound Editing, MIDI Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures

More information

Image Segmentation Image Thresholds Edge-detection Edge-detection, the 1 st derivative Edge-detection, the 2 nd derivative Horizontal Edges Vertical

Image Segmentation Image Thresholds Edge-detection Edge-detection, the 1 st derivative Edge-detection, the 2 nd derivative Horizontal Edges Vertical Image Segmentation Image Thresholds Edge-detection Edge-detection, the 1 st derivative Edge-detection, the 2 nd derivative Horizontal Edges Vertical Edges Diagonal Edges Hough Transform 6.1 Image segmentation

More information

Figure 1: Organisation for 128KB Direct Mapped Cache with 16-word Block Size and Word Addressable

Figure 1: Organisation for 128KB Direct Mapped Cache with 16-word Block Size and Word Addressable Tutorial 12: Cache Problem 1: Direct Mapped Cache Consider a 128KB of data in a direct-mapped cache with 16 word blocks. Determine the size of the tag, index and offset fields if a 32-bit architecture

More information

Example 1: Color-to-Grayscale Image Processing

Example 1: Color-to-Grayscale Image Processing GPU Teaching Kit Accelerated Computing Lecture 16: CUDA Parallelism Model Examples Example 1: Color-to-Grayscale Image Processing RGB Color Image Representation Each pixel in an image is an RGB value The

More information

The DCT domain and JPEG

The DCT domain and JPEG The DCT domain and JPEG CSM25 Secure Information Hiding Dr Hans Georg Schaathun University of Surrey Spring 2009 Week 3 Dr Hans Georg Schaathun The DCT domain and JPEG Spring 2009 Week 3 1 / 47 Learning

More information

Audacity tutorial. 1. Look for the Audacity icon on your computer desktop. 2. Open the program. You get the basic screen.

Audacity tutorial. 1. Look for the Audacity icon on your computer desktop. 2. Open the program. You get the basic screen. Audacity tutorial What does Audacity do? It helps you record and edit audio files. You can record a speech through a microphone into your computer, into the Audacity program, then fix up the bits that

More information

Single-point current meter designed for very long-term deployments

Single-point current meter designed for very long-term deployments Single-point current meter designed for very long-term deployments With all the features and capabilities of the standard Aquadopp, the deepwater current meter has been used and proven by oceanographers

More information