Free Essay

Gray Scale Conversion Techniques

In:

Submitted By kulaysep
Words 1176
Pages 5
Effective Gray Scale Techniques By: Wilfredo C. Ileto Many people believe that color images will always be more effective than grayscale. I don’t agree with that perception. Grayscale can be just as visually powerful as color images when they are properly rendered. As a matter of fact, many of the great masterpieces in photographic history, such as those by Ansel Adams and Cartier Bresson, are grayscale images. While the trend has been moving towards full color reproduction, printing of grayscale or monotone images will always remain part of the printing process. Therefore, it is of great importance that we understand the process of converting color to grayscale and acquire the techniques to effectively implement it. Because grayscale images do not have the visual effects of color, it is important to apply certain techniques in order that the images project the desired visual impact we require Whenever I conduct a seminar on Image Enhancement and Color Correction, I always start with a discussion on Grayscale Techniques. Since original materials are now generally supplied in digital RGB format, I ask the participants how they would prepare their grayscale images from these RGB files. Without exception, their answer would be to simply change the mode from RGB to grayscale using Photoshop. I would then load an RGB image (illustration 1) into Photoshop, apply Change Mode to convert it to grayscale and produce an image (illustration 2) where the details have all disappeared into a single tonal value. After the initial reactions of astonishment have subsided, I begin to explain what happened to the image.

Illustration 1

Illustration 2

When Photoshop converts a color image to grayscale, it bases the values of the gray tones on the luminosity or brightness strength of the various color elements in the original image. The problem with this system is that different colors with the same luminosity will tend to have the same tonal value in the grayscale mode. In the sample described above, the elements of the color image were composed of colors with the same luminosity. Converting the image to gray scale resulted in elements with similar tonal value. Thus the image simply disappeared. Another problem is that the dominant primary color will always have the most effect on the grayscale values in any particular area. If this dominant color lacks detail and contrast, the result will be a grayscale image which is likewise flat and

lacking in detail. This is most noticeable in the images of people, particularly Asians with yellow dominant in their flesh tones. The problem with the yellow in flesh tones is that it is strong in value and but lacking in detail. Merely converting a color image to grayscale using “Change Mode” in Photoshop can produce flesh tones that are dark and flat.

RGB Image

Change Mode to Grayscale

In order to address the problems discussed, it is clear that we need to control the strength that each of the colors contributes to the tonal values in the grayscale image. Using the RGB Channels for Grayscale Conversion The quickest method for effectively producing a grayscale image is to simply view the RGB image in its different color channels and select the channel which shows the best grayscale image. Please note that we should work with the file in its RGB mode because in a CMYK image some of the tonal values in the CMY channels have been transferred to the black channel. This is especially noticeable in images with strong black values in the shadow and near shadow areas. The procedure is as follows: 1. Apply auto level if needed. 2. Open the Channel Palette to preview of the grayscale image in each of the RGB channels. 3. Select the channel with the best grayscale image. 4. Convert from RGB to grayscale using the Change Mode command.

Red Channel

Green Channel

Blue Channel

Conversion from Red Channel

Using the Channel Mixer for Grayscale Conversion A longer but more precise procedure involves the use of the Channel Mixer tool of Photoshop.(illustration 10) The Channel Mixer allows us to apply different levels of strength from each of the color channels. We can mix the amount that each channel contributes to the tonal value of the grayscale image to achieve the desired effect.

1. Apply auto level if needed. 2. Open the Channel Palette to preview of the grayscale image in each of the RGB channels. 3. Determine the channel with the best grayscale image. 4. Open the channel mixer. 5. The dialogue box defaults to the red channel which corresponds to the cyan printer in CMYK mode. 6. In the Output Channel box, select the color channel which showed the best image in step 3. 7. Click on the monochrome check box. The image will now appear in grayscale. 8. Adjust the RGB sliders in the Source Channel to produce the desired effect. To maintain the original tonal range, the total value for the 3 channels combined should not deviate to far from 100%. 9. Convert the image to grayscale mode using the Change Mode command. 10. Using the info palette, check the highlight and shadow values. For best results the halftone values should range from 5% to 95%.

RGB Image

Change Mode

Using Channel Mixer

It is interesting to note that the above described techniques are similar to the use of color filters by professional photographers during the era of black and white photography. In those days, the proper use of color filters often made the difference between producing an ordinary snap shot and a photographic masterpiece. Adjusting the Brightness of the Image At this point, I would like to emphasize that the brightness of the image should be adjusted by increasing or decreasing the values at the middle tone areas. This will preserve the overall contrast of the image. Use the curve tool and adjust the density curve at the 50% area to achieve the desired brightness.

Sharpening the Image An effective tool to increase the impact of grayscale images is the Unsharp Mask. Grayscale images can be sharpened to a much higher level than color images. Sharpening a grayscale image brings out details which were reduced in the conversion from color to grayscale. 1. Select the Unsharp Mask under the filter > sharpen menu. 2. Set the radius value between 1.0 to 2.0. Values less than 1.0 will result in negligible effect. Values more than 2.0 sharpens a wider band of pixels and may produce white spaces between sharpened areas. 3. Set the threshold value between 2 to 10. The threshold value indicates the numerical difference that must exist between adjacent pixels before Photoshop sharpens these pixels. A low value sharpens more pixels; while a higher value excludes more pixels from the sharpening process. 4. Using the slider, set the amount from 100% to 200% until the desired effect is achieved. Please note that the values above are general recommendations. Final values to be applied will depend on the image being processed and the intended effect of the sharpening process.

Similar Documents

Free Essay

Image Dithering

...browser is not supported by the other. In that case, the browser will attempt to replace the desired color by approximating two colors that it can generate. The same may or may not be accepted by the designer of graphics and may appear grainy because it is composed of varied pixel intensities instead of one intensity. Dithering has applications in color image output and for artistic purposes as well. Secondly, dithering is used in web design for reducing images from high color counts to low color counts. It is also used in reducing file size and bandwidth without harming the quality of the image file. Moreover, the technique is used in reducing the 48 or 64bpp RAW-format digital photos for editing ("Image Dithering: Eleven Algorithms and Source Code", 2012) Basic Concept of Dithering The main activity in dithering is error diffusion. For example, in reducing a gray scale photograph to black and white to...

Words: 970 - Pages: 4

Premium Essay

Brain Hemorrhage Case Study

...type of stroke, which occurs due to artery bursting in the brain, causing bleeding in the surrounded tissues. Diagnosing brain hemorrhage, which is mainly through the examination of a CT scan enables the accurate prediction of disease and the extraction of reliable and robust measurement for patients in order to describe the morphological changes in the brain as the recovery progresses. The aim of this project is to help radiologist as well as medical students in diagnosis of brain hemorrhage in more refined manner by feeding CT images & identify the type of brain hemorrhage using watershed algorithm along with artificial neural network. Keywords - Computed tomography (CT), Artificial Neural Networks (ANN), Back Propagation Network (BPN), Gray Level Co-occurrence Matrix (GLCM). I. INTRODUCTION This Brain hemorrhage is a type of stroke, which occurs due to artery bursting in the brain, causing bleeding in the surrounded tissues. The symptoms of brain hemorrhage are a sudden severe headache, Weakness in an arm or leg, nausea or vomiting, changes in vision, difficulty in speaking or understanding speech, difficulty in...

Words: 1573 - Pages: 7

Premium Essay

Literature Review On Diabetic Retinopathy

...The RGB fundus image, gray scale image and CLAHE applied images are shown in 2.1. (a) - 2.1.(c). Figure 2.1:(a)Color fundus image, (b) Gray scale image, (c) Enhanced image using CLAHE 2.2 All the images are commonly resized to [256 x 256] size. The image is divided into small regions. Median filter identifies the noisy pixels within the regions and replace the noisy pixels with the median of the neighbouring pixels within the regions. The RGB component of the color input image was separated and pre- processed. Then pre-processed RGB components were concatenated to obtain the filtered image. Figure 2.2 shows the original fundus image and the pre-processed image. Figure 2.2: (a)Original fundus image (b)Pre- Processing image 2.3. To segment red lesions, the intensity information of both green and red channels of the...

Words: 2529 - Pages: 11

Free Essay

Liquid Crystal Display

...PHY 101: Mechanics Topic: -LIQUID CRUSTAL DISPLAY DOA: 28/08/2010 DOR: 28/09/2010 DOS: 10/11/2010 Submitted to: Submitted By: Ms. Neeti Walia Deptt. of Physics Roll. No. A13 Sec: E4001 Reg. No: 11007103 ACKNOWLEDGEMENT I take this opportunity to present my votes of thanks to all those guidepost who really acted as lightening pillars to enlighten our way throughout this project that has led to successful and satisfactory completion of This study. We are highly thankful to Miss NEETI WALIA for her active support, valuable time and advice, whole-hearted guidance, sincere cooperation and pains-taking involvement during the study and in completing the assignment of preparing the said project within the time stipulated. Lastly, We are thankful to all those, particularly the various friends , who have been instrumental in creating proper, healthy and conductive environment and including new and fresh innovative ideas for us during the project, their help, it would have been extremely difficult for us to prepare the project in a time bound framework. TABLE OF CONTENTS:-  INTRODUCTION  WHAT IS LCD  THEORY OF LCD  TYPES OF LCD  PASSIVE-MATRIX ADDRESSED LCD  ACTIVE-MATRIX ADDRESED LCD  ADVANTAGE N DISADVANTAGE  COLOUR DISPLAY  APPLICATIONS OF LCD  BIBLIOGRAPHY LIQUID CRYSTAL DISPLAY INTRODUCTION:- LCDs are super-thin displays that are used...

Words: 2251 - Pages: 10

Free Essay

Digital Media Fundamentals Revision

...1  Digitization:  Image:  Image representation:  ­­­ visual perception:       The distinction between Human eye and photo camera 成像 imagation formation:      Photo camera:     * Lens has fixed local lenth.  * Adjust the focal length by varying the distance between the lens and the imaging plane.    Human eye:  * Distance between the lens and retina is fixed.  * Focal length for proper focus obatained by varing the shape of the lense.        Question:  All the center squares hv exactly the same intensity. However, they appear to the eye to  become progressively darker as the background becomes lighter. Why? Other example?    Answer:  The human visual system tends to undershoot or overshoot around the boundary of regions of  different intensities.    e.g. Although the intensity of the stripes is constant, we actually perceive a brightness pattern  that is strongly scalloped, especially near the boundaries. Therefore, perceived intensity is  different from the actually intensity.    e.g: a piece of paper that seems to be white when lying on a desk, but can appear totally  black when used to shield the eyes while looking directly at a bright sky.   2  ­­­ Matrix and Pixel:  ●      Matrix is the result of ​ sampling​ quantization​  and ​ ,                   which is a matrix of real numbers.      ●      Each element of the matrix array is called an image element, picture element,  pixel, or pel.    Image representation:  ● An im...

Words: 5974 - Pages: 24

Free Essay

News Video Indexing

...Abstract—Data compression coupled with the availability of high bandwidth networks and storage capacity have created the overwhelming production of multimedia content, this paper briefly describes techniques for content-based analysis, retrieval and filtering of News Videos and focuses on basic methods for extracting features and information that will enable indexing and search of any news video based on its content and semantics. The major themes covered by the study include shot segmentation, key frame extraction, feature extraction, clustering, indexing and video retrieval-by similarity, probabilistic, transformational, refinement and relevance feedback. A new caption text extraction algorithm that takes full advantage of the temporal information in a video sequence is developed. Keywords—Shot Boundaries Detection, Inserted Caption Detection, Machine Learning, Face Annotation, Edge/Field Detection. I. INTRODUCTION E ffective techniques for video indexing/searching are required for large visual information systems (such as video databases and video servers). In addition to traditional methods that allow users to search video based on keywords, video query by example and feature-based video search provide powerful tools to complement existing keyword-based search techniques Due to the rich information contained in caption text, video-caption based methods are increasingly used for efficient video content indexing and retrieval in recent years. Caption text...

Words: 3352 - Pages: 14

Free Essay

Biodiesel Production from Jatropha

...Scientific Research and Essays Vol. 5(14), pp. 1796-1808, 18 July, 2010 Available online at http://www.academicjournals.org/SRE ISSN 1992-2248 ©2010 Academic Journals Review Biodiesel production from Jatropha curcas: A review Wilson Parawira Department of Applied Biology, Kigali Institute of Science and Technology (KIST), Avenue de I' Armee, B. P. 3900 Kigali, Rwanda, E-mail: aparawira@yahoo.co.uk. Tel: +250785561670. Accepted 2 July, 2010 Biodiesel has attracted considerable attention during the past decade as a renewable, biodegradable and non-toxic fuel alternative to fossil fuels. Biodiesel can be obtained from vegetable oils (both edible and non-edible) and from animal fat. Jatropha curcas Linnaeus, a multipurpose plant, contains high amount of oil in its seeds which can be converted to biodiesel. J. curcas is probably the most highly promoted oilseed crop at present in the world. The availability and sustainability of sufficient supplies of less expensive feedstock in the form of vegetable oils, particularly J. curcas and efficient processing technology to biodiesel will be crucial determinants of delivering a competitive biodiesel. Oil contents, physicochemical properties, fatty acid composition of J. curcas reported in literature are provided in this review. The fuel properties of Jatropha biodiesel are comparable to those of fossil diesel and confirm to the American and European standards. The objective of this review is to give an update on the J. curcas...

Words: 6846 - Pages: 28

Free Essay

Lcd Principles and Applications

...Index: |S. no. |Topic |Page no. | |1 |Abstract |5 | |2 |Introduction |6 | |3 |Methodology |7 | |4 |Liquid crystals |8 | |5 |Working Principle and operation |9 | |6 |Types of LCDs |12 | |7 |Advantages of LCDs |13 | |8 |Disadvantages of LCDs |14 | |9 |Applications of LCDs |16 | |10 |Discussions |19 | |11 |Conclusions |20 | |12 |References |21 | Abstract: Today we see items containing an LCD (liquid crystal display) everywhere. They are all around us -- in laptop computers, digital clocks and watches, microwave ovens, CD...

Words: 3870 - Pages: 16

Free Essay

Dsp Textbook

...Digital Image Processing Second Edition Rafael C. Gonzalez University of Tennessee Richard E. Woods MedData Interactive Prentice Hall Upper Saddle River, New Jersey 07458 Library of Congress Cataloging-in-Pubblication Data Gonzalez, Rafael C. Digital Image Processing / Richard E. Woods p. cm. Includes bibliographical references ISBN 0-201-18075-8 1. Digital Imaging. 2. Digital Techniques. I. Title. TA1632.G66 621.3—dc21 2001 2001035846 CIP Vice-President and Editorial Director, ECS: Marcia J. Horton Publisher: Tom Robbins Associate Editor: Alice Dworkin Editorial Assistant: Jody McDonnell Vice President and Director of Production and Manufacturing, ESM: David W. Riccardi Executive Managing Editor: Vince O’Brien Managing Editor: David A. George Production Editor: Rose Kernan Composition: Prepare, Inc. Director of Creative Services: Paul Belfanti Creative Director: Carole Anson Art Director and Cover Designer: Heather Scott Art Editor: Greg Dulles Manufacturing Manager: Trudy Pisciotti Manufacturing Buyer: Lisa McDowell Senior Marketing Manager: Jennie Burger © 2002 by Prentice-Hall, Inc. Upper Saddle River, New Jersey 07458 All rights reserved. No part of this book may be reproduced, in any form or by any means, without permission in writing from the publisher. The author and publisher of this book have used their best efforts in preparing this book. These efforts include the development, research, and testing of the theories and programs to determine their effectiveness...

Words: 66542 - Pages: 267

Free Essay

Digital Image Processing

...Digital Image Processing: PIKS Inside, Third Edition. William K. Pratt Copyright © 2001 John Wiley & Sons, Inc. ISBNs: 0-471-37407-5 (Hardback); 0-471-22132-5 (Electronic) DIGITAL IMAGE PROCESSING DIGITAL IMAGE PROCESSING PIKS Inside Third Edition WILLIAM K. PRATT PixelSoft, Inc. Los Altos, California A Wiley-Interscience Publication JOHN WILEY & SONS, INC. New York • Chichester • Weinheim • Brisbane • Singapore • Toronto Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where John Wiley & Sons, Inc., is aware of a claim, the product names appear in initial capital or all capital letters. Readers, however, should contact the appropriate companies for more complete information regarding trademarks and registration. Copyright  2001 by John Wiley and Sons, Inc., New York. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic or mechanical, including uploading, downloading, printing, decompiling, recording or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the Publisher. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, (212) 850-6011, fax (212) 850-6008, E-Mail: PERMREQ @ WILEY.COM. This publication is designed...

Words: 173795 - Pages: 696

Premium Essay

Project Management

...years. INTRODUCTION Brief History According to Wikipedia Project management processes took shape round about the 1950’s wherein organizations began to analytically apply the process to complex engineering projects. It was developed from several fields of applications namely, civil engineering, construction, and heavy defense activity. The two forefathers of this discipline were Henry Gantt (1861-1919) who was the founder of the Gantt Chart, used as a project management tool and Henri Fayol,(who created the five management functions that today is referred to as the body of knowledge and is the foundation of project management and the programs. Project management can be defined as the application of knowledge, skills, tools and techniques to projects activities to meet project requirement. It is broken down into Professional and Social Responsibility, Knowledge areas and process groups. This area includes Integration, Scope, Time, Cost, Quality, Human Resources, Communication,...

Words: 1487 - Pages: 6

Free Essay

Fuzzy and Cla Based Edge Detection Method

...Edge detection using Fuzzy Logic and Automata Theory Title Page By Takkar Mohit Supervisor A Thesis Submitted to In Partial Fulfillment of the Requirements for the Degree of Master of Engineering in Electronics & Communication December 2014 . Table of Contents Title Page i CERTIFICATE ii COMPLIANCE CERTIFICATE iii THESIS APPROVAL CERTIFICATE iv DECLARATION OF ORIGINALITY v Acknowledgment vi Table of Contents vii List of Figures x Abstract xiii Chapter 1 Introduction 1 1.1 Edge Detection: Analysis 3 1.1.1 Fuzzy Logic in Image Processing 4 1.1.2 Fuzzy Logic for Edge Detection 5 1.1.3 Cellular Learning Automata 6 Chapter 2 Literature Review 7 2.1 Edge Detection: Methodology 7 2.1.1 First Order Derivative Edge Detection 7 2.1.1.1 Prewitts Operator 7 2.1.1.2 [pic] Sobel Operator 8 2.1.1.3 Roberts Cross Operator 11 2.1.1.4 Threshold Selection 11 2.1.2 Second Order Derivative Edge Detection 11 2.1.2.1 Marr-Hildreth Edge Detector 11 2.1.2.2 Canny Edge Detector 12 2.1.3 Soft Computing Approaches to Edge Detection 13 2.1.3.1 Fuzzy Based Approach 14 2.1.3.2 Genetic Algorithm Approach 14 2.1.4 Cellular Learning Automata 15 Chapter 3 Fuzzy Image Processing 18 3.1 Need for Fuzzy Image Processing 19 3.2 Introduction to Fuzzy sets and Crisp sets 20 3.2.1 Classical sets (Crisp sets) 20 3.2.2 Fuzzy sets 21 3.3 Fuzzification 22 3.4 Membership Value Assignment 22 3.5...

Words: 9151 - Pages: 37

Premium Essay

Gait Analysis

...dynamics of human walking action for the purpose of person identification and classification by gait appearance. The outer contour of the binarized silhouette of a walking person is chosen as the basic image feature. This project is also based on face recognition software to obtain recognition in a short period of time interval after the image is searched.. Since there has been significant improvement in the sector of retrieval systems and recognition based on biometric systems the project gains a lot of weightage in terms of research carried out. 1 Introduction 1. INTRODUCTION 1.1 IMAGE PROCESSING: Image Processing is a technique to enhance raw images received from cameras or sensors placed on satellites, space probes, aircrafts, surveillance systems or pictures taken in normal day-to-day life for various applications. Various techniques have been developed in Image Processing during the last four to five decades. Image Processing systems are becoming popular...

Words: 8133 - Pages: 33

Free Essay

Hostel Management

...------------------------------------------------- Data compression From Wikipedia, the free encyclopedia   (Redirected from Video compression) "Source coding" redirects here. For the term in computer programming, see Source code. In digital signal processing, data compression, source coding,[1] or bit-rate reduction involves encoding information using fewer bits than the original representation.[2]Compression can be either lossy or lossless. Lossless compression reduces bits by identifying and eliminating statistical redundancy. No information is lost in lossless compression. Lossy compression reduces bits by identifying unnecessary information and removing it.[3] The process of reducing the size of a data file is referred to as data compression. In the context of data transmission, it is called source coding (encoding done at the source of the data before it is stored or transmitted) in opposition to channel coding.[4] Compression is useful because it helps reduce resource usage, such as data storage space or transmission capacity. Because compressed data must be decompressed to use, this extra processing imposes computational or other costs through decompression; this situation is far from being a free lunch. Data compression is subject to a space–time complexity trade-off. For instance, a compression scheme for video may require expensive hardware for the video to be decompressed fast enough to be viewed as it is being decompressed, and the option to decompress the video...

Words: 12347 - Pages: 50

Free Essay

Robotics

...CEG 4392 Computer Systems Design Project SENSOR-BASED ROBOT CONTROL Robotics has matured as a system integration engineering field defined by M. Bradley as “the intelligent connection of the perception to action”. Programmable robot manipulators provide the “action” component. A variety of sensors and sensing techniques are available to provide the “perception”. t ROBOTIC SENSING Since the “action” capability is physically interacting with the environment, two types of sensors have to be used in any robotic system: “proprioceptors” for the measurement of the robot’s (internal) parameters; “exteroceptors” for the measurement of its environmental (external, from the robot point of view) parameters. Data from multiple sensors may be further fused into a common representational format (world model). Finally, at the perception level, the world model is analyzed to infer the system and environment state, and to assess the consequences of the robotic system’s actions. 1. Proprioceptors From a mechanical point of view a robot appears as an articulated structure consisting of a series of links interconnected by joints. Each joint is driven by an actuator which can change the relative position of the two links connected by that joint. Proprioceptors are sensors measuring both kinematic and dynamic parameters of the robot. Based on these measurements the control system activates the actuators to exert torques so that the articulated mechanical structure performs the desired...

Words: 2269 - Pages: 10