Computational Tools for Image Processing Lecture 1, Jan 22nd, 2007 Part 2 (8:10-9:20pm) by Lexing Xie EE4830 Digital Image Processing

Slides:



Advertisements
Similar presentations
Tutorial on Matlab and OpenCV Rui Ma TA of CMPT 414 May 14, 2013 Office hours: Fridays 11:00-12:00, CSIL TA Office 1 (ASB 9838)
Advertisements

Introduction to MATLAB The language of Technical Computing.
Working with Image Files Aaron Fuegi SCV Visualization Workshop – Fall 2008.
Introduction to MATLAB and image processing. MATLAB and images The help in MATLAB is very good, use it! An image in MATLAB is treated as a matrix Every.
School of Computing Science Simon Fraser University
MATLAB for Image Processing April 10 th, Outline Introduction to MATLAB –Basics & Examples Image Processing with MATLAB –Basics & Examples.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Graphics CS 121 Concepts of Computing II. What is a graphic? n A rectangular image. n Stored in a file of its own, or … … embedded in another data file.
Working with Image Files Aaron Fuegi IS&T Scientific Visualization Tutorial – Spring 2010.
Digital Still Images ETT June Multimedia Assets Still Images Audio Video.
2.01 Understand Digital Raster Graphics
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Introduction to Computer Graphics
IT 342 : Fundamentals of Multimedia Introduction & Multimedia Authoring.
Graphic File Formats. Objectives Understand the difference between two major categories of computer graphic images Investigate the differences between.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Dr Jimmy Lam CAD for Fashion and Textiles
Graphic Images 101. Painted on a grid Drawn mathematically.
Graphics.
School of Computer Science & Information Technology G6DPMM - Lecture 4 Graphics & Still Image Representation.
GRAPHICS/IMAGES INFSCI Source: Learning Web Design by Jennifer Niederst RobbinsJennifer Niederst Robbins Creating Images:  Scanning  Be aware.
Tools and Prerequisites for Image Processing Lecture 1, Jan 28 th, 2008 Part 2 by Lexing Xie EE4830 Digital Image Processing
MATLAB Lecture One Monday 4 July Matlab Melvyn Sim Department of Decision Sciences NUS Business School
Multimedia Specification Design and Production 2012 / Semester 1 / L4 Lecturer: Dr. Nikos Gazepidis
Introduction to M ATLAB EE 100 – EE Dept. - JUST.
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
Getting the Basics Graphics for the Web McIntyre, Period 2 Kellogg, Period 5.
Presentation Design: Graphics. More About Color “Bit depth” of colors -- This is based on the smallest unit of information that a computer understands.
Digital Image: Representation & Processing (2/2) Lecture-3
Introduction to MATLAB
Gulsah Tumuklu Ozyer MATLAB IMAGE PROCESSING TOOLBOX.
Information Processes and Technology Multimedia: Graphics.
Guide to Computer Forensics and Investigations, Second Edition Chapter 11 Recovering Image Files.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
CS112 Scientific Computation Department of Computer Science Wellesley College Numb3rs Number and image types.
© Anthony J. Nowakowski, Ph.D. GRAPHICAL MEDIA EDC 601 Instructional Technologies © Anthony J. Nowakowski, Ph.D. “Graphics help to display and to clarify.
Optimizing Web Graphics Session #6 INP150. Image Types Types  Bitmap / Raster---dots  Bitmap images are made of individual pixels arranged in patterns.
Adobe/Macromedia Fireworks JAOIT 8. Fireworks – what is it? Adobe Fireworks (formerly Macromedia Fireworks) is a bitmap and vector graphics editor. It.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
$1 Million $500,000 $250,000 $125,000 $64,000 $32,000 $16,000 $8,000 $4,000 $2,000 $1,000 $500 $300 $200 $
Raster Graphics 2.01 Investigate graphic image design.
Chapter 8B Graphics and Multimedia. 8B-2 Graphic File Formats Bitmapped images –Most common image type –Also called raster images –Image is drawn using.
Performed by: Dor Kasif, Or Flisher Instructor: Rolf Hilgendorf Jpeg decompression algorithm implementation using HLS PDR presentation Winter Duration:
Chapter 8 Recovering Graphics Files
Outline Introduction to MATLAB Image Processing with MATLAB
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Lecture 27: Image Processing
Introduction to MATLAB Ehsan Adeli M. Iran University of Science and Technology, E-Learing Center, Fall 2008 (1387)
Jaime Villarreal EDTC Dr. Janice W. Butler.
Computer Graphics Lesson 2 July 12, 2005 Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed.
An Introduction to Programming in Matlab Emily Blumenthal
8th Lecture – Intro to Bitmap or Raster Images
Common Bitmap Image File Types
Computer Application in Engineering Design
MATLAB® Image Processing Toolbox
Graphics and image data representation
Introduction to Graphics
Software for scientific calculations
MatLab Programming By Kishan Kathiriya.
Introduction to Matlab ( Google Search )
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
CMPE 101 Introduction to Information Technologies Chapter 5: Application Software: Tools for Productivity Copyright © 2012 Pearson Education, Inc. Publishing.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Outline Image formats and basic operations Image representation
Graphics Basic Concepts.
MED 2001 Advanced Media Production
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

Computational Tools for Image Processing Lecture 1, Jan 22nd, 2007 Part 2 (8:10-9:20pm) by Lexing Xie EE4830 Digital Image Processing

-2- Outline Image processing tools in C, Java, … and everything else Matlab Getting started Image I/O and display Matrix manipulation Image processing demos The daily practice of image manipulation Data types and file formats Resources, pointers and getting help Limitations of image processing …

-3- Image Processing Toolboxes In C/C++ IPL … OpenCV ImageMagick Insight Toolkit ITK (medical image) List of tools at mathtools.net In Java Java Media APIs: JAI, JMF, Java image I/O … Other Python Imaging Library (PIL) numpy, scipyhttp://

-4- Matlab is … : a numerical computing environment and programming language. Created by The MathWorks, MATLAB allows easy matrix manipulation, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs in other languages. Main Features: basic data structure is matrix optimized in speed and syntax for matrix computation Accessing Matlab on campus Student Version Matlab + Simulink $99 Image Processing Toolbox $59 Other relevant toolboxes $29~59 (signal processing, statistics, optimization, …) CUNIX and EE lab (12 th floor) has Matlab installed with CU site- license

-5- Why MATLAB? Shorter code, faster computation Focus on ideas, not implementation C: #include double x, f[500]; for( x=1.; x < 1000; x=x+2) f[(x-1)/2]=2*sin(pow(x,3.))/3+4.56; MATLAB: f=2*sin((1:2:1000).^3)/3+4.56; But: scripting language, interpreted, can be slow

-6- MATLAB: Working With Matrices Everything is treated as a matrix Elementary matrix manipulation zeros(), ones(), size(), eig(), inv() Operators and special characters a(:,1:2:256)=b’.*c String imstr=[‘this is lena’]; imglena=imread([imstr(9:end),’.png’]); ischar(), num2str(), …

-7- MATLAB (contd.) M-files: functions scripts Language constructs Comment: % if.. else… for… while… end Help: help function_name, helpwin, helpdesk lookfor, demo

-8- Image Processing Toolbox File I/O and display imread(), imwrite() imshow(), image(), imagesc(), movie() Demo: how different are these two images?

-9- Image Processing Toolbox (contd) Linear operations fft2(), dct2(), conv2(), filter2() Non-linear operations median(), dilate(), erode(), histeq() Statistics and analysis imhist(),,mean2(), corr2(), std2() Colormap and type conversions colormap(), brighten(), rgbplot() rgb2ycbcr(), hsv2rgb(), im2uint8()… Demo: image histogram and enhancement.

-10- Outline Image processing tools in C, Java, … and everything else Matlab Getting started Image I/O and display Matrix manipulation Image processing demos Other points of interest: Data types and file formats Resources, pointers and getting help

-11- Image Data Types Basic unit in disk: byte (8 bits) Images are stored as unsigned integers (0- 255) Depends on the color space and the precision / bit depth 1bit, 4bit, 8bit, 24bit, 32bit (+alpha channel), indexed colors (gif, 2-8 bits) In MATLAB: uint8  double  uint8

-12- File Formats Why different file formats? Convenient to use Compact representation How many formats do we have? e.g. 30+ in a consumer image software (ACDSee) There are much more out there: raster, vector, metafile, … and growing Basic structure: Header + Data

-13- Format Comparison FormatRAWBMPGIFPNGJPG Lossy?NNNNY Compressed?NNYYY 192K193K52.2K106K16K 192K193K5K (4bit) 23K20K Fine printsRaw data Header ~1K Look-up table + data Quality factor 80 Two 256x256 color images Why do the two images have different sizes as GIF/PNG/JPG files ?

-14- Classification Types that MATLAB supports: BMP, JPEG, PNG, GIF, TIFF, XWD, HDF, PCX, … Other open-source libraries from “google” Image (bitmap) lossless compression no compression no loss raw, bmp, pgm, ppm, gif, tiff … png, jpeg, gif, tiff, jpeg2000… lossy compression jpeg, tiff, jpeg2000 …

-15- Resources and pointers Google, Wikipedia, Mathworld … Getting Help in Matlab Matlab help, Image Processing Demos DIP matlab tutorial online Usenet groups Commercial and free “image” processing software kits: GIMP, Adobe Photoshop, Macromedia Fireworks Adobe Illustrator, Corel Draw Picassa, ACDSee, Windows Paint, XV

-16- Summary Image processing programming tools MATLAB basics Using image processing toolbox Data type and file formats Resources and pointers

-17-