Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories 1995-2013 1 of 29 Slides BMS 524 - “Introduction to Confocal Microscopy.

Slides:



Advertisements
Similar presentations
CHS GRAPHICS GDP UNIT 01 FILE FORMATS Understanding File Formats.
Advertisements

L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
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.
Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides BMS “Introduction to Confocal Microscopy.
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.
Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides BMS “Introduction to Confocal Microscopy.
Introduction to Computer Graphics
Image Compression CSC CSC Computing with Images2 How do we use fewer bytes to encode the same or similar information? Reduce redundancy Take.
File Formats The most common image file formats, the most important for cameras, printing, scanning, and internet use, are JPG, TIF, PNG, and GIF.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
File Types, Sizes & Dots Per Inch (dpi) Best practices applied to Photoshop file formats when creating media-specific documents. Bit Depth is the number.
Web Design, 4 th Edition 5 Typography and Images.
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Russell Taylor Week 3. Image File Formats - TIF, JPG, PNG, GIF - which to use? The three most common and important image file formats for for printing,
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Graphics Ms. Brewer Spring Bellwork Edmodo – log on! Quiz? Take it if you need to! Policies and Procedures Powerpoint in Shared Folder! Get to Know.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
Graphics.
GRAPHICS/IMAGES INFSCI Source: Learning Web Design by Jennifer Niederst RobbinsJennifer Niederst Robbins Creating Images:  Scanning  Be aware.
Multimedia Specification Design and Production 2012 / Semester 1 / L4 Lecturer: Dr. Nikos Gazepidis
File Formats About graphic file formats And image compression.
Lecture 4 - Introduction to Computer Graphics
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 Formats: An Explanation Guilford County SciVis V
Information Processes and Technology Multimedia: Graphics.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
Graphics workshop Library and Information Services University of St Andrews.
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Web Graphics By Chris Harding. Contents  Software  Vector Graphics and Pixel Based  Transparent Images  Compression  GIF vs. JPEG  Animated GIF.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Chapter 2 File Format Objectives (1 of 2) Identify the difference between vector based graphics and bitmap-based graphics Clarify bitmap and vector graphic.
Digital Imaging 101 Ann Ware. Digital Image Categories BITMAP  A vector is created by using a series of mathematically defined lines and curves rather.
Unit 1: Task 1 By Abbie Llewellyn. Vector Graphic Software (Corel Draw) Computer graphics can be classified into two different categories: raster graphics.
Digital Imaging 101 Ann Ware
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
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.
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
21 st Century Technology. Painting Uses Pixels Quality of image Changes Drawing Uses Vectors or Lines Quality of Image Does NOT Change.
Lesson 2: Introduction to Digital Imaging Digital Photography MITSAA IAP 2003 Rob Zehner.
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.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Digital Image Formats: An Explanation Guilford County SciVis V
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
Understanding Images. Pixels pixels Every image is made up of very small squares called pixels, and each pixel represents a color or shade. Pixels within.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Bitmap vs. Vector How computers work with photographs and drawings.
2.01 Understand Digital Raster Graphics
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
2.01 Understand Digital Raster Graphics
Digital Imaging 101 Ann Ware.
Digital Illustration Chapter 6 File format.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Web Graphics By Chris Harding.
2.01 Understand Digital Raster Graphics
Image Formats.
File Formats.
JPG vs GIF vs PNG What is the difference?
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Image File Size and File Compression
Digital Images.
Digital Image Formats: An Explanation
Introduction to Computer Graphics
BMS “Introduction to Confocal Microscopy and Image Analysis”
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Lecture 4 - Introduction to Computer Graphics
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides BMS “Introduction to Confocal Microscopy and Image Analysis” Lecture 4: Image file formats Department of Basic Medical Sciences, School of Veterinary Medicine Weldon School of Biomedical Engineering Purdue University J. Paul Robinson, Ph.D. SVM Professor of Cytomics Professor of Biomedical Engineering Director, Purdue University Cytometry Laboratories, Purdue University This lecture was last updated in January, 2016 You may download this PowerPoint lecture at Find other PUCL Educational Materials at These slides are intended for use in a lecture series. Copies of the slides are distributed and students encouraged to take their notes on these graphics. All material copyright J.Paul Robinson unless otherwise stated. No reproduction of this material is permitted without the written permission of J. Paul Robinson. Except that our materials may be used in not- for-profit educational institutions ith appropriate acknowledgement. It is illegal to upload this lecture to Course Hero or any other site.

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Data files are a representation of an original image, which is itself a representation of reality. The chain of digital image processing includes both creation of digital data from an image, and recreation of an image from the digital data. Data file formats are created in order to make specific operations more convenient. The most convenient format may differ with the particular application. What are data file formats?

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Image process - from subject to output Analogue digital

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides How it works in real life

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides For most purposes, a one-to-one mapping of pixels to data values is most useful, but the internal representation of the data values may be different for different file formats. Files can be either compressed, or not, and compression can be either lossy or not. For scientific analysis lossy compression is unacceptable; it may be useful for overview presentations. Image manipulation can take place before image acquisition, during image acquisition, on the digital data, or during recreation of an output image. What is image manipulation?

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides 8 bits provide 256 possible gray levels

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides How does this translate from an image into an image map?

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides How does this translate from an image into an image map? 512 An image need only be parsimonius, i.e., it only needs to show what is necessary to provide the expected image.

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides It depends on what you are collecting the image for as to the resolution required

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides How does this translate from an image into an image map? min max 0=black, 255=white

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Pixel values are in a list file

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Pixels

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Image size The higher the resolution of the image, the more data points there are Very high resolution files need to be reduced in size to store the data We need to employ compression algorithms to reduce the file size But the goal is to maintain the quality of the image Lossless compression is ideal for biological images

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Run Length Encoding – count the number of identical values, replace the values with a count followed by the value A kind of compression algorithm which replaces sequences ("runs") of consecutive repeated characters Compression

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides How big is an image? Size is dependent on several factors – The X-y size in pixels The number of bits (colors) For example, a 640 x 480 x 24 bit image = 7,372,800 = 921,600 bytes The same image “double the size” (4 times pixels) 1280 x 960 = x 24 bits = 29,491,200 = 3,686,400 bytes An image at full MacThunderbolt screen at x 1440 = 3,686,400 x 24 = 88,473,600 bytes

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides 0% Compression50% Compression 75% Compression80% Compression 76k 42k 28k26k

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides The 26 k file The 76 k file

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides The 26 k file The 76 k file 4 x magnification

Copyright J. Paul Robinson, Steve Kelley Purdue University of 29 Slides Brightness and contrast variation are controlled by a system input-output curve. Spatial kernel filtering and median filtering use information local to a particular area of an image to modify that area. Digital image analysis is “Data Analysis”. What is image analysis?

Copyright J. Paul Robinson, Steve Kelley Purdue University of 29 Slides Original Image

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Contrast enhanced image

Both images Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Conversion of image manipulation into new image

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Smoothing

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Smoothing Filter 111

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Smoothing original3 x 3 Smooth 9 x 9 Smooth

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Sharpening original3 x 3 Sharpen 9 x 9 Sharpen

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Gaussian Filter Gaussian filters are filters where a filter is a filter whose impulse response is Gaussian – it is designed to give no overshoot to a step function input while minimizing the rise and fall time

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Sobel Filter Sobel is a discrete differentiation operator, computing an approximation of the gradient of the image intensity function. It basically operates in the vertical and horizontal planes and thus produces edges (abrupt changes in gradient)

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Application of a median filter A median filter is often desirable to be able to perform some kind of noise reduction and it preserves edges while removing the noise

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Comparing Images file size: 21,358 file size: 73,011 (Thumbsplus)

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides It depends on what the purpose is of your image as to the resolution needed File size 12,470 file size: 21,358 file size: 73,011 An image need only be parsimonius, i.e., it only needs to show what is necessary to provide the expected image.

What are you loosing? Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Same image as previous page, expanded times

Some image formats (Lossy) Approximately 1382 different image formats RAW – this differs from product to product so there is no standard PNG (Portable Network Graphics) uses ZIP compression which is lossless, and slightly more effective than LZW (slightly smaller files) (designed for web). More recent format, royalty free, note patent issues over the LZW format (GIF). GIF files can be saved with a maximum of 256 colors. (not good for photographic images) JPEG (JPG)— Joint Photographic Experts Group PSD, PDD - Photoshop's native format. PSD preserves layers, transparency, adjustment layers, masks, clipping paths, layer styles, blending modes, vector text & shapes BMP is an uncompressed proprietary format invented by Microsoft. Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Lossless Formats ILBM – (lossless RLE compression of Amiga IFF images)ILBMAmigaIFF JBIG2 – (lossless or lossy compression of B&W images) JBIG2 JPEG-LS – (lossless/near-lossless compression standard) JPEG-LS JPEG 2000 – (includes lossless compression method) JPEG 2000 JPEG XR – formerly WMPhoto and HD Photo, includes a lossless compression method JPEG XR PGF – Progressive Graphics File (lossless or lossy compression) PGF TIFF – Tagged Image File Format ( LZW compression, lossless data-compression) TIFF Gifsicle (GPL) – Optimize gif files GifsicleGPL Jpegoptim (GPL) – Optimize jpeg files JpegoptimGPL Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Lossy Compression Most filters will result in lossy compression This means once you compress the image, you can never return the image back to its original self One needs to be careful with biological data to ensure that you preserve the raw files Lossless: GIF, TIF, JPEG 2000 (GIF is usually limited to an 8-bit palette, or 256 colors and a single transparency color) Lossy: jpg

Vector Image file formats Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides EPS (Adobe Encapsulated Postscript) AI (Adobe Illustrator) PDF (Portable Document format SVG – W3C standard vector image format (Scalable Vector Graphics) (Inscape and Corel Draw) DXF – Drawing eXchange Format (CAD format from Autodesk)

A vector image (Corel Xara Design) Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides In a vectored image, every component is editable – whereas in most other images, unless it is composed of multiple layers, then editing that image is quite difficult. Most cell images formats will not be vector images.

Copyright J. Paul Robinson, Steve Kelley Purdue University Cytometry Laboratories of 29 Slides Summary Structure of data files Image manipulation Kernels Filters Lossy and Lossless compression