Session 1. by Shahid Farid

Similar documents
Lecture # 01. Introduction

Q A bitmap file contains the binary on the left below. 1 is white and 0 is black. Colour in each of the squares. What is the letter that is reve

Fundamentals of Multimedia

CSE 166: Image Processing. Overview. What is an image? Representing an image. What is image processing? History. Today

Digital Image Processing. Lecture 1 (Introduction) Bu-Ali Sina University Computer Engineering Dep. Fall 2011

from: Point Operations (Single Operands)

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

Digital Image Processing Lec.(3) 4 th class

Introduction to Digital Imaging CS/HACU 116, Fall 2001 Digital Image Representation Page 1 of 7

Lecture 9: Digital Images

IMAGE ENHANCEMENT - POINT PROCESSING

ELE 882: Introduction to Digital Image Processing (DIP)

Digital Imaging Rochester Institute of Technology

Mahdi Amiri. March Sharif University of Technology

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Teaching Scheme. Credits Assigned (hrs/week) Theory Practical Tutorial Theory Oral & Tutorial Total

LECTURE 02 IMAGE AND GRAPHICS

Multimedia Systems Image I (Acquisition and Representation) Mahdi Amiri November 2015 Sharif University of Technology

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Digital Image Processing

Chapter 3 Graphics and Image Data Representations

Course Objectives & Structure

PENGENALAN TEKNIK TELEKOMUNIKASI CLO

Mark Sullivan Digital Library of the Caribbean

What is an image? Images and Displays. Representative display technologies. An image is:

Lecture - 3. by Shahid Farid

ECU 3040 Digital Image Processing

1 Li & Drew c Prentice Hall Li & Drew c Prentice Hall 2003

4 Images and Graphics

ECC419 IMAGE PROCESSING

CS 376b Computer Vision

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

DIGITAL IMAGE PROCESSING

Image Perception & 2D Images

The BIOS in many personal computers stores the date and time in BCD. M-Mushtaq Hussain

Image Smoothing. Controlling printed output. Printing. Using color. Paper handling. Maintenance. Troubleshooting. Administration.

Capturing and Editing Digital Images *

1. Describe how a graphic would be stored in memory using a bit-mapped graphics package.

Computer Assisted Image Analysis 1 GW 1, Filip Malmberg Centre for Image Analysis Deptartment of Information Technology Uppsala University

Digital Images. Digital Images. Digital Images fall into two main categories

Introduction. Prof. Lina Karam School of Electrical, Computer, & Energy Engineering Arizona State University

Adobe Photoshop PS2, Part 3

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Computer Graphics: Graphics Output Primitives Primitives Attributes

ME 6406 MACHINE VISION. Georgia Institute of Technology

IMAGE PROCESSING FOR EVERYONE

To process an image so that the result is more suitable than the original image for a specific application.

Outline: Getting the Best Scans

Digital Files File Format Storage Color Temperature

COMPSCI 372 S2 C Computer Graphics

Chapter 9 Image Compression Standards

ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB

Image Enhancement using Histogram Equalization and Spatial Filtering

15EI403J- IMAGE PROCESSING LAB MANUAL

3.1 Graphics/Image age Data Types. 3.2 Popular File Formats

Image processing. Image formation. Brightness images. Pre-digitization image. Subhransu Maji. CMPSCI 670: Computer Vision. September 22, 2016

DSP First Lab 06: Digital Images: A/D and D/A

Byte = More common: 8 bits = 1 byte Abbreviation:

Lecture 8. Color Image Processing

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

Digital Image Processing Questions With Answer

STANDARD ST.67 MAY 2012 CHANGES

Creating Digital Artwork

Chapter 3 Graphics and Image Data Representations

Background. Computer Vision & Digital Image Processing. Improved Bartlane transmitted image. Example Bartlane transmitted image

Digital Image Processing. Lecture # 3 Image Enhancement

General Imaging System

CSCE 763: Digital Image Processing

Autodesk Raster Design for Mapping and Land Development Professionals David Zavislan, P.E.

CS 200 Assignment 3 Pixel Graphics Due Tuesday September 27th 2016, 9:00 am. Readings and Resources

Computer Graphics Si Lu Fall /25/2017

GE 113 REMOTE SENSING. Topic 7. Image Enhancement

CS101 Lecture 12: Digital Images. What You ll Learn Today

Digital Image Fundamentals and Image Enhancement in the Spatial Domain

Image Representation and Processing

Lossless Huffman coding image compression implementation in spatial domain by using advanced enhancement techniques

Multimedia-Systems: Image & Graphics

Sampling and pixels. CS 178, Spring Marc Levoy Computer Science Department Stanford University. Begun 4/23, finished 4/25.

Image. Image processing. Resolution. Intensity histogram. pixel size random uniform pixel distance random uniform

Guidance on Using Scanning Software: Part 5. Epson Scan

What is an image? Bernd Girod: EE368 Digital Image Processing Pixel Operations no. 1. A digital image can be written as a matrix

A Module for Visualisation and Analysis of Digital Images in DICOM File Format

Image and Video Processing

Digital Imaging and Image Editing

ALEXA Log C Curve. Usage in VFX. Harald Brendel

Compression Method for Handwritten Document Images in Devnagri Script

Lecture #2: Digital Images

Digital Image Processing

ART 263 Digital Photography

ITP 140 Mobile App Technologies. Images

SAQA. How to Submit an Online Entry. Art by Mary Kay Fosnacht

Conglomeration for color image segmentation of Otsu method, median filter and Adaptive median filter

Solution for Image & Video Processing

Digital Halftoning. Sasan Gooran. PhD Course May 2013

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

PHOTO 11: INTRODUCTION TO DIGITAL IMAGING

AC : SIMPLIFIED TEACHING AND UNDERSTANDING OF HISTOGRAM EQUALIZATION IN DIGITAL IMAGE PROCESSING

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

Transcription:

Session 1 by Shahid Farid

Course introduction What is image and its attributes? Image types Monochrome images Grayscale images Course introduction Color images Color lookup table Image Histogram Shahid Farid, PUCIT 2

The aim of this course is to Introduce the basic theory of digital processing of images. Expose students to exciting applications of image processing. To develop experience in coding image processing algorithms. Shahid Farid, PUCIT 3

Text book: Digital Image Processing, 3 rd Ed. (DIP/3e) by: Gonzalez and Woods Reference books: Digital Image Processing, Kenneth R. Castleman, Prentice Hall, 1996 Digital Image Processing and Applications, I. Pitas, John Wiley, 2000 Digital Image Processing/3E, William K. Pratt, John Wiley, 2001 Plus some handouts and tools Shahid Farid, PUCIT 4

Introductory digital image processing class Pre-requisites Linear Algebra Signals & Systems Shahid Farid, PUCIT 5

Homeworks: Both written as well as programming assignments Programming Environment MATLAB or C/C++ Lectures 32 of 90 minutes each Midterm Final No grade for attendance Short Quizzes Projects (Research and Development) Shahid Farid, PUCIT 6

Assignments are on individual-submission basis Can discuss with your class fellows, subject to the following conditions: Discussion participants should be acknowledged on the first page of submission Solution should be written up individually, without coping from another solution or referring to someone else s work Help from books, websites should be referenced. Cheating is not an honorable thing to do! Of course, any suspected cases of cheating or plagiarism will be sent to the UMC Shahid Farid, PUCIT 7

There is no clear boundary between Image Processing and Computer Vision However, CV deals with more higher level processing Shahid Farid, PUCIT 8

Describing DIP as IMAGE IN -> IMAGE OUT is simplistic What about computing the average gray-level of a picture? Inference about the structure of the world is mostly the domain of Computer Vision Shahid Farid, PUCIT 9

To facilitate storage and transmission Compression, quality Prepare images for display or printing e.g. half-toning Enhancement and restoration Noise removal, quality, sharpness Extract information from images Image understanding Comparison of images to find changes Shahid Farid, PUCIT 10

Image Enhancement Shahid Farid, PUCIT 11

Hubble Space Telescope suffered from spherical aberration when it was launched. However, its images were digitally corrected. Later, the telescope was repaired optically by astronauts Shahid Farid, PUCIT 12

Another example from HST Shahid Farid, PUCIT 13

Color Image Restoration Shahid Farid, PUCIT 14

Noise Removal Shahid Farid, PUCIT 15

Shahid Farid, PUCIT 16

Shahid Farid, PUCIT 17

Shahid Farid, PUCIT 18

Shahid Farid, PUCIT 19

Shahid Farid, PUCIT 20

Morphing Shahid Farid, PUCIT 21

Digital Image is an electronic snapshots taken of a scene or scanned from documents, such as photographs, manuscripts, printed texts, and artwork. The digital image is sampled and mapped as a grid of dots or picture elements (pixels). Shahid Farid, PUCIT 22

Image can be defined as a 2-D function f(x,y), where x and y are spatial coordinates and the amplitude of f at any pair of coordinates (x,y) is called the intensity of the image at that point When the image is gray scale, intensity values represent the range of shades from black to white. For a color image the intensity values are represented as a combination of R, G, B Shahid Farid, PUCIT 23

Resolution refers to the number of pixels in an image Resolution is sometimes identified by The width and height of the image as well as The total number of pixels in the image For example, an image that is 2048 pixels wide and 1536 pixels high (2048 1536) contains 3,145,728 pixels (or 3.1 Megapixels). You could call it a 2048 1536 or a 3.1 Megapixel image. Shahid Farid, PUCIT 24

Resolution is the number of pixels in a linear inch (i.e. pixels per inch or ppi). The more pixels per inch (ppi), the higher your image resolution will be. Shahid Farid, PUCIT 25

Resolution of an image display device or printing device is different from image resolution. The resolution of such devices is described in dots per inch (dpi). Shahid Farid, PUCIT 26

If your monitor is set to 800 600 and You open up an image that is 640 480, It will only fill up a part of your screen. What if you open up an image that is 2048 1536? Shahid Farid, PUCIT 27

What if you open up an image that is 2048 1536? You will find yourself moving the slider bar around to see all the different parts of the image. (see 2560X1600 image) Shahid Farid, PUCIT 28

You have a 640 480 image and You want to print it at 200 dpi (dots or pixels per inch). What will be the size of the printed image? Shahid Farid, PUCIT 29

What will be the size of the printed image? 640 / 200 = 3.2 and 480 / 200 = 2.4 So, the size of the printed image is 3.2" 2.4 Shahid Farid, PUCIT 30

2 inches 300 PPI / 600 x 600 pixel dimension 72 PPI / 144 x 144 pixel dimension 30 PPI / 60 x 60 pixel dimension Shahid Farid, PUCIT 31

Shahid Farid, PUCIT 32

The number of bits used to define a pixel. The greater the bit depth, the greater the number of tones (grayscale or color) that can be represented. For example, an image with a bit depth of 1 has pixels with two possible values: black and white. An image with a bit depth of 8 has 2 8, or 256, possible values. Shahid Farid, PUCIT 33

Simplest type of image Each pixel consist of only 0/1information Called 1-bit monochrome (since no color) image Suitable for simple graphics & text How much storage is required for a monochrome image of resolution 640 480? Shahid Farid, PUCIT 34

Shahid Farid, PUCIT 35

Each pixel is represented by a single byte. Gray levels between 0 to 255 (black to white). How much storage is required for a grayscale image of resolution 640 480? Shahid Farid, PUCIT 36

Shahid Farid, PUCIT 37

256 gray levels (8bits/pixel) 32 gray levels (5 bits/pixel) 16 gray levels (4 bits/pixel) 8 gray levels (3 bits/pixel) 4 gray levels (2 bits/pixel) 2 gray levels (1 bit/pixel) 38

24- bit color image Each pixel is represented by 3 bytes, RGB Each R, G, B are in the range 0-255 256 x 256 x 256 possible colors If space is a concern, reasonably accurate color image can be obtained by quantizing the color information. What is the size (in kb) of a 24-bit, 640 480 color image? Shahid Farid, PUCIT 39

8- bit color image Carefully chosen 256 colors represent the image stores only the index of the color, the file header will contain the mapping information. The mapping is performed using the color lookup table (LUT). What is the size (in kb) of a 8-bit, 640 480 color image? Shahid Farid, PUCIT 40

Shahid Farid, PUCIT 41

Image histogram is a type of histogram which acts as a graphical representation of the tonal distribution in a digital image. It plots the number of pixels for each tonal value. By looking at the histogram for a specific image a viewer will be able to judge the entire tonal distribution at a glance. Shahid Farid, PUCIT 42

Histogram of Lena s grayscale image Shahid Farid, PUCIT 43

Histogram of Lena s colored image Shahid Farid, PUCIT 44

Text book and recommended reference books http://www.microscopemicroscope.org/imaging/imageresolution.htm http://www.espressographics.com/text/imag esize.html http://fourier.eng.hmc.edu/e161/lectures/im age_display_a.gif Shahid Farid, PUCIT 45

Session - 1 By: Dr. Shahid Farid Assistant Professor, PUCIT E-mail: shahid@pucit.edu.pk