Fourth Year – Software Engineering

Slides:



Advertisements
Similar presentations
Digital Images What to do with all those pictures.
Advertisements

Nice Calm Scene. (You’ll need it.). Skills Getting files off of the camera or scanner Getting files off of the camera or scanner Archiving Archiving Choosing.
ISYS 3074 Graphics File Formats File formats have developed with applications. At least 50 currently in use. Examples include: GIF, JPEG, TIFF, BMP, DIB,
Eleven colors and rasters. Color objects Meta represents colors with color objects You can create a color by saying: [color r g b] r: amount of red (0-255)
Images and MATLAB Source of images: Science&subcategory=Digital Image Processing&isbn=
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Graphic Images 101. Painted on a grid Drawn mathematically.
Color Names All standards-compliant browsers should handle these color names These color names can be used with the CSS properties of color and background-color.
BFTAW BDPA Workshop Introduction to GIMP Chris
BFTAW BDPA Workshop Introduction to GIMP Chris
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.
Measurements in Fluid Mechanics 058:180:001 (ME:5180:0001) Time & Location: 2:30P - 3:20P MWF 218 MLH Office Hours: 4:00P – 5:00P MWF 223B-5 HL Instructor:
SOFTWARE TYPES Word processing Page layout Paint Draw.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
1 Imaging Techniques for Flow and Motion Measurement Lecture 2 Lichuan Gui University of Mississippi 2011 Digital Image & Image Processing.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Bitmap Graphics. Bitmap Basics Bitmap Graphic Bitmap Graphic Paint Software Paint Software.
Multimedia File FormatsGraphics JPG, GIF, TIF, PSD, WMF, BMP, PNG, RAW.
Introduction to Scanning. © 2005 Macromedia, Inc. 2 Overview of Scanning Four key steps  Plan  Capture  Edit  Save.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
SC ICT Certification Level 1 12 Graphics By Ross Parker.
Mirjana Devetakovic, M.Sc. CAAD - Images Beograd, 2011.
VTE File Creation By: Ricardo Veguilla Vazjier Rosario WALSAIP July 2008.
CMPS1371 Introduction to Computing for Engineers IMAGES.
21 st Century Technology. Painting Uses Pixels Quality of image Changes Drawing Uses Vectors or Lines Quality of Image Does NOT Change.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
SRAM LOGO resize instructions To facilitate the use of SRAM logo for different size, i have designed the logo in *.png format (which is a format employed.
Lecture 27: Image Processing
Image Editing Vocabulary Words Pioneer Library System Norman Public Library Nancy Rimassa, Trainer Thanks to Wikipedia ( help.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
Red Green Blue (RGB) Colour conversions Y and RGB Link In the images, the lighter the colour intensity (Red, Green, Blue), the more the contribution.
Hank Childs, University of Oregon April “29 th”, 2015 CIS 330: _ _ _ _ ______ _ _____ / / / /___ (_) __ ____ _____ ____/ / / ____/ _/_/ ____/__ __ / /
8th Lecture – Intro to Bitmap or Raster Images
What is a digital image ? 1.
Common Bitmap Image File Types
Representation of image data
Computer Application in Engineering Design
Sampling, Quantization, Color Models & Indexed Color
How to Convert Pictures into Numbers
Chapter 3 Graphics and Image Data Representations
Introduction To Photo Editing SHIELA MAE A. AQUINO SRNHS.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Graphics and Animation
Saving Images from Fireworks
Images and Backgrounds
Adding Images.
Colors.
Outline Image formats and basic operations Image representation
6th Lecture – Rectangles and Regions, and intro to Bitmap Images
Computer Graphics Using “Adobe Photoshop”
GIMP BY MR. YOUSUF VALI 11/20/201811/20/2018.
EP375 Computational Physics
Effects and Improvements
ИНФОРМАТИКА И РАЧУНАРСТВО Наставна тема: РАЧУНАРСКА ГРАФИКА
GIMP BY MR. YOUSUF VALI 12/31/201812/31/2018.
Introduction to Digital Image Analysis Part I: Digital Images
Елементи и формати в системата Е К С Т Р И
COMS 161 Introduction to Computing
Adding Images.
Adding Images.
Multimedia Graphics.
Hank Childs, University of Oregon
Basic Concepts of Digital Imaging
Non-numeric Data Representation
Exam Objectives: Identify Design Elements When Preparing Images
Adding Images.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Adding Images.
Presentation transcript:

Fourth Year – Software Engineering Image Processing Fourth Year – Software Engineering Introduction

Reading, writing and displaying images myImg = imread(’foo.ext’) reads file foo.ext into array myImg, image format is determined by the file extension (jpg, tiff, tif, gif, bmp, png, ...) imwrite(anImg, ’foo.ext’) writes the image anImg to the file foo.ext, where the image format is chosen according to the extension ext. Valid extensions are: tif, tiff, jpg, `` jpeg, gif, png imshow(myImg) displays the image myImg as gray- scale, binary or color image depending on the data type of myImg figure(n) opens a new window with number n, the next

Color planes The green and red color plane of image rgbimage.jpg are swapped: f = imread(’rgbimage.jpg’); red = f(:,:,1); g(:,:,1) = f(:,:,2); g(:,:,2) = red; g(:,:,3) = f(:,:,3); imshow(g);

Image Processing Read Image Display image Convert RGB to grayscale imread(‘path’) ex: img=imread('D:\images\sherko.jpg'); Display image imshow(img); Convert RGB to grayscale rgb2gray(img); figure; grayscaleimage=rgb2gray(img); Divide figure into grid subplot(row,column,location);

Image Processing ex: subplot(2,2,1);imshow(img);title('OrignalImage'); subplot(1,2,2);imshow(grayscaleimage);title('GrayScaleImage'); color spaces RGB subplot(2,2,1);imshow(img);title('OrignalImage'); subplot(2,2,2);imshow(img(:,:,1));title('RChannelValues'); subplot(2,2,3);imshow(img(:,:,2));title('GChannelValues'); subplot(2,2,4);imshow(img(:,:,3));title('BChannelValues');

Image Processing Resize Image imresize(img, scale) ex: resizeimage=imresize(img,0.5); imshow(img); figure; imshow(resizeimage); Imresize(img,[numrow numcolumn]); [m n ~]=size(img); %color image resizeimage=imresize(img,[m/2 n/2]);

Image Processing Crop Image Write Image imcrop(img,[xmin ymin width height]); ex: croppedimage=imcrop(img,[50 70 100 150]); Write Image imwrite(image,filename,fmt) imwrite(croppedimage,strcat('D:\images\Mypicture','.bmp'));