Video We will consider how electronic pictures (monochrome) are made up. Consider some important characteristics of electronic images. See how image are.

Slides:



Advertisements
Similar presentations
Pixels and Digital Images Yrd. Doc. Dr. Ahmet Sayar Kocaeli Universitesi Bilgisayar Muhendisligi Ileri Bilgisayar Grafikleri.
Advertisements

1 ECE 495 – Integrated System Design I Introduction to Image Processing ECE 495, Spring 2013.
JPEG Compresses real images Standard set by the Joint Photographic Experts Group in 1991.
Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Image Processing. Image processing Once we have an image in a digital form we can process it in the computer. We apply a “filter” and recalculate the.
Image Data Representations and Standards
Digital Imaging and Image Analysis
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Picture Manipulation The manipulation of (already created) pictures. May be applied to vector graphics or bitmaps. We will consider bitmaps and introduce.
School of Computing Science Simon Fraser University
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Long Multiplication What is long multiplication?
Vector vs. Bitmap SciVis V
V Obtained from a summer workshop in Guildford County July, 2014
1 CCTV SYSTEMS RESOLUTIONS USED IN CCTV. 2 CCTV SYSTEMS CCTV resolution is measured in vertical and horizontal pixel dimensions and typically limited.
What is digital resolution all about? Jellybean portrait shows us how units of color placed together make an image.
Digital Image Characteristic
The Digital Image.
Digital Images Chapter 8 Exploring the Digital Domain.
Digital Images The digital representation of visual information.
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Higher Computing Data Representation.
© GCSE Computing Candidates should be able to:  explain the representation of an image as a series of pixels represented in binary  explain the need.
Multimedia Data Video Compression The MPEG-1 Standard
By: Ghada Al Naimi. I'm trying to know the dimensions of a video game ( cinema screens, television screens, computer screens ) and to find how are they.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
 Frequency Distribution is a statistical technique to explore the underlying patterns of raw data.  Preparing frequency distribution tables, we can.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
1 COMS 161 Introduction to Computing Title: Digital Images Date: November 12, 2004 Lecture Number: 32.
3. Image Sampling & Quantisation 3.1 Basic Concepts To create a digital image, we need to convert continuous sensed data into digital form. This involves.
Lecture 3 The Digital Image – Part I - Single Channel Data 12 September
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
COMPUTER GRAPHICS. Once you scan an image or take a picture with your digital camera, it becomes digitized. Made up of hundreds of thousands of pixels.
Digital Video Digital video is basically a sequence of digital images  Processing of digital video has much in common with digital image processing First.
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
Representation of Data in Computer Systems
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Guilford County SciVis V104.03
By Prof. Stelmark. Digital Imaging In digital imaging, the latent image is stored as digital data and must be processed by the computer for viewing on.
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Chapter 4 Systems of Linear Equations; Matrices
Linear Algebra Review.
Computer Graphics Lecture 3 Computer Graphics Hardware
What is digital resolution all about?
Matrices Rules & Operations.
Binary Notation and Intro to Computer Graphics
Vector vs. Bitmap.
Matrix Operations.
Matrix Operations.
Image quantization By Student Manar naji. quantization The values obtained by sampling a continuous function usually comprise of an infinite set or.
COURSE: AUDIO VIDEO ENGINNERING TV Transmitter and Receiver
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Representing Images 2.6 – Data Representation.
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
MATRICES MATRIX OPERATIONS.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
COMS 161 Introduction to Computing
What is digital resolution all about?
Digital Image Processing
Multimedia System Image
Chapter 4 Systems of Linear Equations; Matrices
Matrix Multiplication Sec. 4.2
Chapter 4 Systems of Linear Equations; Matrices
Presentation transcript:

Video We will consider how electronic pictures (monochrome) are made up. Consider some important characteristics of electronic images. See how image are represented in a computer. Appreciate compromises and limitations. Finally you will be able to edit individual picture elements and change the brightness, contrast and of an image, as say Photoshop may do.

The television picture Consider monochrome first. The image that we see on our monitors is composed of a series of horizontal lines. So it is sampled in the vertical direction.

The television picture Original image (1) is represented by a series of lines (2) (1) (2)

How many lines (samples)/Spatial resolution. Spatial resolution is finest detail in the vertical and horizontal direction we can resolve (see). If the television picture is to have good spatial resolution we must have a minimum number of lines (vertical samples).

How many lines (samples)/Spatial resolution. That is, the lines must be spaced such that there are two for every change in the finest detail (sampling theory). So reducing the number of lines (samples) will limit resolution and cause aliasing.

How many lines (samples)/Spatial resolution. For television there are 625 lines in the European television picture, not all of these lines are used to transmit the picture. They are used and reserved for other purposes. In the American NTSC standard there are nominally 525 lines per frame, but only approximately 480 lines make up the actual picture.

Aspect ratios The maximum angle that our eyes can see (without moving them) is greater in the horizontal direction. Therefore square televisions are out. Television screens are larger horizontally than vertically. The ratio of the wide to the height is called the aspect ratio. Two common television aspect ratios are: –4:3 –16:9

The digital picture and pixels. In the computer we cannot represent television’s horizontal line. We need to store it as a sequence of numbers in the computer. So we sample the brightness values at many points along the television line and convert the brightness value to a numerical value. So a sample point now exists in both the horizontal and vertical directions. Called a pixel (Picture element).

How many horizontal samples? There is no real reason to make the horizontal resolution much better (or worse) than the vertical resolution. (Although the eye’s response it not exactly equal).

How many horizontal samples? There are effectively therefore 480 samples in the vertical direction. If we: – keep the spatial resolution in the horizontal and vertical directions equal. –Have square pixels. –Maintain a 4:3 (Width : Height) aspect ratio. How many samples do we need in the horizontal direction?

How many samples? Answer: –4/3 x 480 = 640 The NTSC television based 640 x 480 resolution has become a standard for computers. Other higher (we view computer monitors more closely than television) computer standard resolutions exist : –800 x 600 –1024 x 768 All 4:3 aspect ratio.

Sampling in vertical and horizontal directions Image is sampled to produce 640 x 480 samples (typically) at the intersection of the horizontal and vertical lines. 480 rows (lines) Each line is sampled 640 times

Total number of samples, physical significance We can consider a block of 640 horizontal samples (in a 640 x 480 image) as a television line or a row of a 2 dimensional matrix. The full picture is made up of 480 such lines stacked on top of each other. Any given position in each horizontal block (line) forms a column (vertical line) with that same position in those blocks above and beneath any given line. We can consider our digital picture as a horizontal matrix, therefore called a bitmap.

The digital picture/ Pixel values. We allow 256 values (typically) for each pixel value (8 bit). Each sample from our television line must be quantised. That is we must find the nearest value in the range to represent it.

Brightness variation and sampling/quantisation. Possible sample point will lie between two levels, But nearer to 239 Distance along the line Brightness Bright Max 255 Dark Min A single line, showing brightness variations. Sample point

Total number of samples, physical significance 480 rows (lines) 640 columns x 640 matrix Each pixel point is represented by a corresponding value in a matrix. Bitmap By changing the value in the matrix the corresponding pixel will be changed.

Matrices and pictures But the matrix doesn’t have to be so large. We can make up an image by putting values into a 3 x 3 matrix. The values at each point in the matrix represent the brightness of a pixel. The position (in terms of rows and columns) in the matrix will correspond directly to the position on the screen.

Matrices and pictures Make a 3 x 3 matrix with ones in all the rows and columns. –Im=ones(3,3) Set up Matlab to respond to “normal range of intensities (0-255) for i=1:256 grey(i, 1:3)=(i-1)/255 end colormap(grey)

Matrices and pictures Make all values maximum (and view) Im=Im*255 image(Im) Change values and see the effect Im(1, 2)=127 image(Im)

Brightness and contrast The value of each point in this two dimensional matrix represents the brightness of a pixel. In other words brightness is the absolute value of a pixel. Contrast is the difference between the brightest pixel and the darkest pixel in an image.

Changing Brightness and contrast The above implies that we must add or subtract to change the brightness of a pixel, and multiply or divide the change the contrast of an image. We can try it on our simple image, but it will work with larger images.

Changing Brightness Our image is full brightness in most parts so lets decrease the brightness and view it. Im=Im-127 image(Im) We can increase it again Im=Im+127 image(Im) If we increase/decrease values below 0 or above 255 we lose information in the image, try it.

Changing Contrast Lets make a low contrast image and have a look. Imlc= ones(3,3)*124 Imlc(2,2)= 100 image(Imlc) Now use multiplication to increase the contrast, note that the difference between the values now increase. Imhc=Imlc*2 image(Imhc)

Changing Contrast and brightness If we now reduce the brightness to restore the higher levels to their previous values, the contrast change is demonstrated more clearly. Imhc=Imhc-124 image(Imhc)