Digital Image Processing Lec.(3) 4 Th Class
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Color Models
Color Models Jian Huang CS456 Main Color Spaces • CIE XYZ, xyY • RGB, CMYK • HSV (Munsell, HSL, IHS) • Lab, UVW, YUV, YCrCb, Luv, Differences in Color Spaces • What is the use? For display, editing, computation, compression, …? • Several key (very often conflicting) features may be sought after: – Additive (RGB) or subtractive (CMYK) – Separation of luminance and chromaticity – Equal distance between colors are equally perceivable CIE Standard • CIE: International Commission on Illumination (Comission Internationale de l’Eclairage). • Human perception based standard (1931), established with color matching experiment • Standard observer: a composite of a group of 15 to 20 people CIE Experiment CIE Experiment Result • Three pure light source: R = 700 nm, G = 546 nm, B = 436 nm. CIE Color Space • 3 hypothetical light sources, X, Y, and Z, which yield positive matching curves • Y: roughly corresponds to luminous efficiency characteristic of human eye CIE Color Space CIE xyY Space • Irregular 3D volume shape is difficult to understand • Chromaticity diagram (the same color of the varying intensity, Y, should all end up at the same point) Color Gamut • The range of color representation of a display device RGB (monitors) • The de facto standard The RGB Cube • RGB color space is perceptually non-linear • RGB space is a subset of the colors human can perceive • Con: what is ‘bloody red’ in RGB? CMY(K): printing • Cyan, Magenta, Yellow (Black) – CMY(K) • A subtractive color model dye color absorbs reflects cyan red blue and green magenta green blue and red yellow blue red and green black all none RGB and CMY • Converting between RGB and CMY RGB and CMY HSV • This color model is based on polar coordinates, not Cartesian coordinates. -
Indexed Color
Indexed Color A browser may support only a certain number of specific colors, creating a palette from which to choose Figure 3.11 The Netscape color palette 1 QUIZ How many bits are needed to represent this palette? Show your work. 2 How to digitize a picture • Sample it → Represent it as a collection of individual dots called pixels • Quantize it → Represent each pixel as one of 224 possible colors (TrueColor) Resolution = The # of pixels used to represent a picture 3 Digitized Images and Graphics Whole picture Figure 3.12 A digitized picture composed of many individual pixels 4 Digitized Images and Graphics Magnified portion of the picture See the pixels? Hands-on: paste the high-res image from the previous slide in Paint, then choose ZOOM = 800 Figure 3.12 A digitized picture composed of many individual pixels 5 QUIZ: Images A low-res image has 200 rows and 300 columns of pixels. • What is the resolution? • If the pixels are represented in True-Color, what is the size of the file? • Same question in High-Color 6 Two types of image formats • Raster Graphics = Storage on a pixel-by-pixel basis • Vector Graphics = Storage in vector (i.e. mathematical) form 7 Raster Graphics GIF format • Each image is made up of only 256 colors (indexed color – similar to palette!) • But they can be a different 256 for each image! • Supports animation! Example • Optimal for line art PNG format (“ping” = Portable Network Graphics) Like GIF but achieves greater compression with wider range of color depth No animations 8 Bitmap format Contains the pixel color -
Fi-4750C Image Scanner Operator's Guide Fi-4750C Image Scanner Operator's Guide Revisions, Disclaimers
C150-E182-01EN fi-4750C Image Scanner Operator's Guide fi-4750C Image Scanner Operator's Guide Revisions, Disclaimers Edition Date published Revised contents 01 September, 2000 First edition Specification No. C150-E182-01EN FCC declaration: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: • Reorient or relocate the receiving antenna. • Increase the separation between the equipment and receiver. • Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. • Consult the dealer or an experienced radio/TV technician for help. FCC warning: Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. NOTICE • The use of a non-shielded interface cable with the referenced device is prohibited. The length of the parallel interface cable must be 3 meters (10 feet) or less. The length of the serial interface cable must be 15 meters (50 feet) or less. -
Compression for Great Video and Audio Master Tips and Common Sense
Compression for Great Video and Audio Master Tips and Common Sense 01_K81213_PRELIMS.indd i 10/24/2009 1:26:18 PM 01_K81213_PRELIMS.indd ii 10/24/2009 1:26:19 PM Compression for Great Video and Audio Master Tips and Common Sense Ben Waggoner AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Focal Press is an imprint of Elsevier 01_K81213_PRELIMS.indd iii 10/24/2009 1:26:19 PM Focal Press is an imprint of Elsevier 30 Corporate Drive, Suite 400, Burlington, MA 01803, USA Linacre House, Jordan Hill, Oxford OX2 8DP, UK © 2010 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions . This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this fi eld are constantly changing. As new research and experience broaden our understanding, changes in research methods, professional practices, or medical treatment may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information, methods, compounds, or experiments described herein. -
Binary Image Compression Algorithms for FPGA Implementation Fahad Lateef, Najeem Lawal, Muhammad Imran
International Journal of Scientific & Engineering Research, Volume 7, Issue 3, March-2016 331 ISSN 2229-5518 Binary Image Compression Algorithms for FPGA Implementation Fahad Lateef, Najeem Lawal, Muhammad Imran Abstract — In this paper, we presents results concerning binary image compression algorithms for FPGA implementation. Digital images are found in many places and in many application areas and they display a great deal of variety including remote sensing, computer sciences, telecommunication systems, machine vision systems, medical sciences, astronomy, internet browsing and so on. The major obstacle for many of these applications is the extensive amount of data required representing images and also the transmission cost for these digital images. Several image compression algorithms have been developed that perform compression in different ways depending on the purpose of the application. Some compression algorithms are lossless (having same information as original image), and some are lossy (loss information when compressed). Some of the image compression algorithms are designed for particular kinds of images and will thus not be as satisfactory for other kinds of images. In this project, a study and investigation has been conducted regarding how different image compression algorithms work on different set of images (especially binary images). Comparisons were made and they were rated on the bases of compression time, compression ratio and compression rate. The FPGA workflow of the best chosen compression standard has also been presented. These results should assist in choosing the proper compression technique using binary images. Index Terms—Binary Image Compression, CCITT, FPGA, JBIG2, Lempel-Ziv-Welch, PackBits, TIFF, Zip-Deflate. —————————— —————————— 1 INTRODUCTION OMPUTER usage for a variety of tasks has increased im- the most used image compression algorithms on a set of bina- C mensely during the last two decades. -
Chapter 3 Image Data Representations
Chapter 3 Image Data Representations 1 IT342 Fundamentals of Multimedia, Chapter 3 Outline • Image data types: • Binary image (1-bit image) • Gray-level image (8-bit image) • Color image (8-bit and 24-bit images) • Image file formats: • GIF, JPEG, PNG, TIFF, EXIF 2 IT342 Fundamentals of Multimedia, Chapter 3 Graphics and Image Data Types • The number of file formats used in multimedia continues to proliferate. For example, Table 3.1 shows a list of some file formats used in the popular product Macromedia Director. Table 3.1: Macromedia Director File Formats File Import File Export Native Image Palette Sound Video Anim. Image Video .BMP, .DIB, .PAL .AIFF .AVI .DIR .BMP .AVI .DIR .GIF, .JPG, .ACT .AU .MOV .FLA .MOV .DXR .PICT, .PNG, .MP3 .FLC .EXE .PNT, .PSD, .WAV .FLI .TGA, .TIFF, .GIF .WMF .PPT 3 IT342 Fundamentals of Multimedia, Chapter 3 1-bit Image - binary image • Each pixel is stored as a single bit (0 or 1), so also referred to as binary image. • Such an image is also called a 1-bit monochrome image since it contains no color. It is satisfactory for pictures containing only simple graphics and text. • A 640X480 monochrome image requires 38.4 kilobytes of storage (= 640x480 / (8x1000)). 4 IT342 Fundamentals of Multimedia, Chapter 3 8-bit Gray-level Images • Each pixel has a gray-value between 0 and 255. Each pixel is represented by a single byte; e.g., a dark pixel might have a value of 10, and a bright one might be 230. • Bitmap: The two-dimensional array of pixel values that represents the graphics/image data. -
MAC Basics, Terminology, File Formats, Color Models
MAC Basics, Terminology, File Formats, Color Models Mac Short Cuts: command + c = Copy command + v = Paste command + i = Get Info (le version, date, manufacturer, etc.) option + drag = Copy folders and items on the same “drive” command + option + esc = Force quit (forces application to quit) also Finder > Apple > Force Quit space bar = in Finder Window gives you a quick look at les (without opening the le) Mac Operating System: Additional information on Mac OSX http://www.apple.com/ndouthow/mac/#tutorial=anatomy (video introduction to OS) Terminology: Bit- The smallest unit in computing. It can have a value of 1 or 0. Byte - A (still small) unit of information made up of 8 bits. Kilobyte (KB) - A unit of approximately 1000 bytes (1024 to be exact). Most download sites use kilobytes when they give le sizes. Megabyte (MB) - A unit of approximately one million bytes (1,024 KB). Gigabyte (GB) - Approximately 1 billion bytes (1024 MB). Most hard drive sizes are listed in gigabytes. Context: • 3 1/2" floppy drive holds 1.44 Megabytes (1,474 KB). [NOW OBSOLETE] • CD Rom holds up to 700 Megabytes (around 450 3.5 floppies). • 20 Gig hard drive will hold the same amount of info as 31 CD ROMs or 14,222 of the 3.5 floppy disks. • a typical page of text is around 4KB. File Formats: Graphics le formats dier in the way they represent image data (as pixels or vectors), in compression techniques, and which Photoshop features they support. With a few exceptions (for instance Large Document Format (PSB), Photoshop Raw, and TIFF), most file formats (withing Photoshop) cannot support documents larger than 2 GB. -
Implementation of RGB and Grayscale Images in Plant Leaves Disease Detection – Comparative Study
ISSN (Print) : 0974-6846 Indian Journal of Science and Technology, Vol 9(6), DOI: 10.17485/ijst/2016/v9i6/77739, February 2016 ISSN (Online) : 0974-5645 Implementation of RGB and Grayscale Images in Plant Leaves Disease Detection – Comparative Study K. Padmavathi1* and K. Thangadurai2 1Research and Development Centre, Bharathiar University, Coimbatore - 641046, Tamil Nadu, India; [email protected] 2PG and Research Department of Computer Science, Government Arts College (Autonomous), Karur - 639007, Tamil Nadu, India; [email protected] Abstract Background/Objectives: Digital image processing is used various fields for analyzing differentMethods/Statistical applications such as Analysis: medical sciences, biological sciences. Various image types have been used to detect plant diseases. This work is analyzed and compared two types of images such as Grayscale, RGBResults/Finding: images and the comparative result is given. We examined and analyzed the Grayscale and RGB images using image techniques such as pre processing, segmentation, clustering for detecting leaves diseases, In detecting the infected leaves, color becomes an level.important Conclusion: feature to identify the disease intensity. We have considered Grayscale and RGB images and used median filter for image enhancement and segmentation for extraction of the diseased portion which are used to identify the disease RGB image has given better clarity and noise free image which is suitable for infected leaf detection than GrayscaleKeywords: image. Comparison, Grayscale Images, Image Processing, Plant Leaves Disease Detection, RGB Images, Segmentation 1. Introduction 2. Grayscale Image: Grayscale image is a monochrome image or one-color image. It contains brightness Images are the most important data for analysation of information only and no color information. -
Creating Pseudocolored Images in Photoshop
If you would like, instead, to color these images in Photoshop, and Creating Pseudocolored Images in Downloaded from to make changes to the pseudocolor (and to the image itself), you can Photoshop do so by following these steps: Jerry Sedgewick 1. Make the grayscale image Indexed Color. Under Image on University of Minnesota the menu, choose Mocfe then Indexed Color. Indexed colored images [email protected] contain 256 grayscale or color values, as many as contained in an https://www.cambridge.org/core The method for creating pseudocolor in Photoshop can be done 8-bit image. in few steps, but the image will not be colored in the conventional way. This assumes that the image Is grayscale. If the image is in color, The conventional means for producing pseudocolor comes by using then change the image to grayscale first. For variously colored images, a look up table (LUT). This LUT is an overlay for making a range of such as those collected on a brightfield microscope, simply change the colors according to choices provided by the software. The colors are image to RGB: under Image on the menu, choose Mode then RGB matched to levels of brightness and darkness in the image (grayscale Color. In this scenario, the green channel is chosen as the grayscale pixel values), typically from a short to long wavelengths. In that sce- image, this most matches what we see by eye. nario, violet colors are matched to the black and near-black pixels and If the image contains shades of one color only (such as fluores- red to those dose to absolute white. -
Chapter 2 Image Processing I. Image Fundamentals
Chapter 2 Image Processing Preliminary – 24 Oct 2013 A picture is a fact. – Ludwig Wittgenstein The soul never thinks without a picture. – Aristotle We are visual organisms who depend heavily on our ability to see the world around us. Our brains have evolved to be superb image processing engines. From two simultaneous two- dimensional images, one from each eye, we automatically extract three dimensional spatial information. We can do complex pattern analysis effortlessly such as counting the number of cars on the street in front of a house or identifying the quarters in a handfull of change. In modern science, data is often in the form of pictures or images. From these, the researcher must extract quantitative information. The tasks which we do almost effortlessly can be very challenging for software. However, once the software is able to accomplish a challenge, the software can repeat it many thousands of times when a human might lose interest after only a few. There are several image processing packages available for Python. We will use the Python Image Library (PIL) and numpy’s multidimensional image processing package (ndimage). I. Image Fundamentals An image is a two dimensional array where every pixel corresponds to a single (x, y) or (column, row) point in the picture. A pixel may take several forms. Some images have only two possible values for each pixel, on or off. Such an image is binary or black and white. Some images may have a range of gray values ranging from all black to all white and denoted by an integer. -
Color in PDF/A-1
PDF/A Competence Center TechNote 0002: Color in PDF/A-1 The PDF/A-1 requirements related to color handling may be confusing to users and developers who are not familiar with color management concepts and ICC profiles. This TechNote describes the affected objects in PDF, details the require- ments of PDF/A-1 with respect to color handling, and provides recommenda- tions for color strategies in common situations. Contrary to popular belief, specifying an RGB value for, say, black does not accu- rately specify any color, but merely instructs a particular device to render the darkest possible color – which will be different on different devices. Similarly, 50% red in RGB may look like a clearly specified color, but it fails to define the red base color to use. Again, the visual results will be different on multiple out- put devices. These problems can be solved by using device-independent color specifications. Since PDF/A-1 is targeted at long-time preservation of the document’s visual appearance, device-independent color specification methods are required. PDF/A-1 makes use of several PDF concepts for specifying color without any de- pendency on actual output devices. 2008-03-14 page 1 PDF/A Competence Center 1 PDF Color Concepts 1.1 Color Spaces in PDF PDF supports various color spaces which can be grouped as follows: • Device color spaces refer to a specific output technology, and cannot be used to specify color values such that colors are reproducible in a predictable way across a range of output devices: DeviceGray, DeviceRGB, DeviceCMYK. -
Graphics File Formats Reference - Webopedia.Com Page 1 of 5
Graphics File Formats Reference - Webopedia.com Page 1 of 5 Enter a term... Term of the Day Recent Terms Did You Know? Quick Reference All Categories Home > Quick Reference > Graphics File Formats Graphics File Formats Related Terms graphics file formats » Tweet 0 Data Formats: File Formats and T Extensions » By: Vangie Beal server (Spo Posted: 05-13-2005 , Last Updated: 06-24-2010 Data Formats and Their File Exte A Quick Reference S » Data Formats and Their File Exte T » Data Formats and Their File Exte A » format » Data Formats and Their File Exte G » Data Formats and Their File Exte R » Data Formats and Their File Exte I » Data Formats and Their File Exte P » Data Formats and Their File Exte V » Data Formats and Their File Exte J » Data Formats and Their File Exte C » Graphics (n.) Refers to any computer device or program that makes a computer capable of displaying and manipulating pictures. T also refers to the images themselves. http://www.webopedia.com/quick_ref/graphics_formats.asp 20/09/2011 Graphics File Formats Reference - Webopedia.com Page 2 of 5 File Format A format for encoding information in a file. Each different type of file has a different file format. The file format specifies fir whether the file is a binary or ASCII file, and second, how the information is organized. Common Graphic & Image File Formats Some of the most used and common graphics formats used today ate TIFF, JPEG, and GIF. The Tagged Image File For (TIFF) is widely used in business, offices, and commercial printing environments.