Digital images. Digital Image Processing Fundamentals. Digital images. Varieties of digital images. Dr. Edmund Lam. ELEC4245: Digital Image Processing

Similar documents
Course Overview. Dr. Edmund Lam. Department of Electrical and Electronic Engineering The University of Hong Kong

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

ECC419 IMAGE PROCESSING

Announcements. Image Processing. What s an image? Images as functions. Image processing. What s a digital image?

Digital Image Processing

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

CS 548: Computer Vision REVIEW: Digital Image Basics. Spring 2016 Dr. Michael J. Reale

SUPER RESOLUTION INTRODUCTION

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

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Lecture # 01. Introduction

Digital Image Processing and Machine Vision Fundamentals

ELE 882: Introduction to Digital Image Processing (DIP)

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

A Novel Approach for MRI Image De-noising and Resolution Enhancement

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

II. Basic Concepts in Display Systems

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

The principles of CCTV design in VideoCAD

International Journal of Advancedd Research in Biology, Ecology, Science and Technology (IJARBEST)

Image Forgery. Forgery Detection Using Wavelets

Image Extraction using Image Mining Technique

ELEC Dr Reji Mathew Electrical Engineering UNSW

Introduction to DSP ECE-S352 Fall Quarter 2000 Matlab Project 1

APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE

Keywords: Data Compression, Image Processing, Image Enhancement, Image Restoration, Image Rcognition.

>>> from numpy import random as r >>> I = r.rand(256,256);

Performance Evaluation of Edge Detection Techniques for Square Pixel and Hexagon Pixel images

Effective Pixel Interpolation for Image Super Resolution

>>> from numpy import random as r >>> I = r.rand(256,256);

Multispectral Fusion for Synthetic Aperture Radar (SAR) Image Based Framelet Transform

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

IMAGE PROCESSING PAPER PRESENTATION ON IMAGE PROCESSING

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

Imaging with hyperspectral sensors: the right design for your application

Computing for Engineers in Python

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

Image and Multidimensional Signal Processing

Image Processing for feature extraction

Acquisition and representation of images

Filters. Materials from Prof. Klaus Mueller

Practical Image and Video Processing Using MATLAB

Acquisition and representation of images

1.Discuss the frequency domain techniques of image enhancement in detail.

Convolutional Networks Overview

Image Processing (EA C443)

Image Sampling. Moire patterns. - Source: F. Durand

Image Scaling. This image is too big to fit on the screen. How can we reduce it? How to generate a halfsized

Chapter 12 Image Processing

Midterm is on Thursday!

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

Image Processing. COMP 3072 / GV12 Gabriel Brostow. TA: Josias P. Elisee (with help from Dr Wole Oyekoya) Image Processing.

Image Filtering. Median Filtering

Introduction. Ioannis Rekleitis

Dynamically Reparameterized Light Fields & Fourier Slice Photography. Oliver Barth, 2009 Max Planck Institute Saarbrücken

Digital Photogrammetry. Presented by: Dr. Hamid Ebadi

Images and Filters. EE/CSE 576 Linda Shapiro

Image and Video Processing

Image Pyramids. Sanja Fidler CSC420: Intro to Image Understanding 1 / 35

Anna University, Chennai B.E./B.TECH DEGREE EXAMINATION, MAY/JUNE 2013 Seventh Semester

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

Pixilation and Resolution name:

Deblurring. Basics, Problem definition and variants

International Journal of Advanced Research in Computer Science and Software Engineering

CSCE 763: Digital Image Processing

sensors & systems Imagine future imaging... Leti, technology research institute Contact:

Chapter 2: Digital Image Fundamentals. Digital image processing is based on. Mathematical and probabilistic models Human intuition and analysis

Assistant Lecturer Sama S. Samaan

Introduction to Computer Vision

Introduction to More Advanced Steganography. John Ortiz. Crucial Security Inc. San Antonio

Detection and Verification of Missing Components in SMD using AOI Techniques

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

Iris Recognition-based Security System with Canny Filter

Spatial Analyst is an extension in ArcGIS specially designed for working with raster data.

Correction of Clipped Pixels in Color Images

CS 376b Computer Vision

Lecture 2. Electromagnetic radiation principles. Units, image resolutions.

Content Based Image Retrieval Using Color Histogram

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

Digital image processing. Árpád BARSI BME Dept. Photogrammetry and Geoinformatics

Digital Image Processing Introduction

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

Design and Testing of DWT based Image Fusion System using MATLAB Simulink

Image Enhancement using Histogram Equalization and Spatial Filtering

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

MULTISPECTRAL IMAGE PROCESSING I

TDI2131 Digital Image Processing

Square Pixels to Hexagonal Pixel Structure Representation Technique. Mullana, Ambala, Haryana, India. Mullana, Ambala, Haryana, India

Novel Hemispheric Image Formation: Concepts & Applications

REMOTE SENSING. Topic 10 Fundamentals of Digital Multispectral Remote Sensing MULTISPECTRAL SCANNERS MULTISPECTRAL SCANNERS

Digital Image Processing

Course Objectives & Structure

This content has been downloaded from IOPscience. Please scroll down to see the full text.

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye

Digital Image Processing. Lecture # 3 Image Enhancement

Remote Sensing. The following figure is grey scale display of SPOT Panchromatic without stretching.

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye

A Novel Method for Enhancing Satellite & Land Survey Images Using Color Filter Array Interpolation Technique (CFA)

DESIGN AND VERIFICATION OF NEWTON RAPSON REGRESSION (NRR) BASED IMAGE INTERPOLATION METHODS

Digital Image Processing

Transcription:

Digital images Digital Image Processing Fundamentals Dr Edmund Lam Department of Electrical and Electronic Engineering The University of Hong Kong (a) Natural image (b) Document image ELEC4245: Digital Image Processing (Second Semester, 2017 18) http://wwweeehkuhk/ elec4245 (c) Synthetic image (d) Satellite image E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 1 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 2 / 19 Digital images Varieties of digital images What and how to process depends on many factors: Image type (grayscale vs color) Image size Mechanism for image formation (eg, infra-red, visible light, magnetic signal, etc) Image content Viewer (human vs machine; professional vs amateur) Applications (e) MRI (magnetic strength) (f) Schlieren photography (air density) 1 1 photo credit: wwwmakezinecom E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 3 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 4 / 19

Varieties of processing Applications of image processing Traditional topics: Enhancement Restoration Compression Color More recent topics: Super-resolution Digital watermarking Vision Segmentation Pattern recognition Computational imaging and photography Augmented reality Consumer electronics: digital camera, printer, scanner, Medical and biological uses: microscopy, radiology, surgery, Industrial uses: inspection, metrology, defect detection, Smart world: Intelligent transportation system, smart home, Military uses: target identification, surveillance, Scientific uses: hyperspectral imaging, remote sensing, astronomy, We won t have time for all of them But we ll select from both categories E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 5 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 6 / 19 EEE signal processing image processing Image processing is also deeply rooted in engineering How we acquire an image is an engineering process Images are signals The processing of an image is also an engineering process Image representation That is what we will do for the entire semester: process signals E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 7 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 8 / 19

Image representation Image representation In many cases, we treat images as a two-dimensional signal: g(x, y) or g[x, y] Image is usually rectangular (so it is essentially a matrix) Each value represents a pixel: picture element (In 3D, a pixel becomes a voxel: volume element ) An image of size M N means M pixels horizontally, N pixels vertically Commonly, x = horizontal and y = vertical g(0, N 1) g(1, N 1) g(m 1, N 1) g(0, N 2) g(1, N 2) g(m 1, N 2) g(x, y) = g(0, 0) g(1, 0) g(m 1, 0) BUT there are other conventions, such as Start counting with 1 instead of 0 First index is row (vertical), second index is column (horizontal): the normal way to denote a matrix E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 9 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 10 / 19 Obtaining a digital image g(x, y) has discrete and finite indices and discrete and finite values How do we obtain it from a general 2D function? eg, using a digital sensor to capture continuous light distributions To do so, we need sampling and quantization An image usually has a certain size, beyond which it does not exist (not defined) ie g(x, y) 0 only for X min < x < X max and Y min < y < Y max This is also called the finite support of the image Sampling is usually regular, eg x apart in the horizontal and y apart in the vertical directions The digital image therefore has X max X min x Y max Y min y pixels Image as matrix Image as a matrix of numbers: intuitive or revolutionary? Your mind does not process images as a matrix of numbers There is a growing interest in the image processing community to seek alternative representations of images that are closer to how our mind considers, eg, with objects and shapes On the other hand, some argues that certain applications demand a higher dimensional matrix this is known as tensor Multispectral images: each spatial location has a vector of intensities corresponding to different wavelengths Video: each spatial location has intensity values that change with time E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 11 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 12 / 19

Resolution Pixels and resolution are related Pixel count is (commonly, but not so accurately) called the resolution of the image Pixel has no size = a digital picture has no (physical) size If we need to print out a digital picture on a certain physical object (eg 4 6 photo paper), we can calculate the effective size of the pixel It may not be square We can color the entire effective size of the pixel to be of the same color (or do something smarter) Often, more pixels mean better image quality or resolution But not always Resolution Signal processing says: We can artificially add more pixels without improving the image quality, by interpolation This is often the case for digital zoom (a) 36 50 (b) 360 500 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 13 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 14 / 19 Simple operations Simple operations Image translation: g (x, y) = g(x 1, y 1) Boundary problem: eg, what is g (0, 0)? Translation by a fraction of a pixel? (Sub-pixel shift) Image rotation: g (x, y) = g(y, x) How to do image stretching, shearing, distortion, etc? 1 Coordinate transformation: figuring out how a pixel in the new image is related to (a group of) pixels in the original image 2 Fill in missing values, if needed Rotation by arbitrary angle? Boundary problem? E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 15 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 16 / 19

Resolution Imaging system representation So how do we characterize resolution? Intuitively, related to sharpness More a property of how the images are formed (the camera) than a property of the digital images themselves (the number of pixels) Quantifiable The way images are formed is called imaging Often, we treat the imaging system as linear, time-invariant (LTI) Convolution is extended to two dimensions 1D: output = input channel 2D: image = object filter/blur Fourier transform is also extended to two dimensions 1D: F {output} = F {input} F {channel} 2D: F {image} = F {object} F {filter/blur} It is assumed that you understand these well from Signals and Linear Systems We will have some review, but only very briefly E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 17 / 19 E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 18 / 19 Summary Consider the difference between an object and an image Object Three-dimensional Continuous in time Continuous in space Continuous in spectrum Image g(x, y) Two-dimensional A single snapshot in time Discrete in space Several color components Recurrent questions: Is g(x, y) a faithful representation of the object? What did we lose? Is it possible to retain and reconstruct more information about the object? E Lam (The University of Hong Kong) ELEC4245 Jan Apr, 2018 19 / 19