ImageJ, A Useful Tool for Image Processing and Analysis Joel B. Sheffield

Similar documents
IMAGE ENHANCEMENT - POINT PROCESSING

The BIOS in many personal computers stores the date and time in BCD. M-Mushtaq Hussain

Images for PowerPoint Scanning, adjusting, & saving digital images

Photoshop 01. Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf

User Reference Manual

HISTOGRAMS. These notes are a basic introduction to using histograms to guide image capture and image processing.

Computer Graphics Fundamentals

Color and More. Color basics

Image Capture TOTALLAB

MIF ZEISS LSM510 CONFOCAL USER PROTOCOL

Image Processing. 2. Point Processes. Computer Engineering, Sejong University Dongil Han. Spatial domain processing

This PDF file is best viewed at actual size (Command-H on the Mac; Control-H on the PC) to maximize the clarity of photos and screenshots.

(RGB images only) Ctrl-click (Windows) or Command-click (Mac OS) a pixel in the image.

Machinery HDR Effects 3

PHOTOSHOP. pixel based image editing software (pixel=picture element) several small dots or pixels make up an image.

Contents Downloading and installing IrfanView.. 1

μscope Microscopy Software

The Camera Club. David Champion January 2011

(Quantitative Imaging for) Colocalisation Analysis

from: Point Operations (Single Operands)

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

One Week to Better Photography

Digital Images. Digital Images. Digital Images fall into two main categories

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

4. Measuring Area in Digital Images

Practical Image and Video Processing Using MATLAB

NEUROIMAGING DATA ANALYSIS SOFTWARE

Grid Assembly. User guide. A plugin developed for microscopy non-overlapping images stitching, for the public-domain image analysis package ImageJ

Image Smoothing. Controlling printed output. Printing. Using color. Paper handling. Maintenance. Troubleshooting. Administration.

Cellular Bioengineering Boot Camp. Image Analysis

6. Graphics MULTIMEDIA & GRAPHICS 10/12/2016 CHAPTER. Graphics covers wide range of pictorial representations. Uses for computer graphics include:

DodgeCmd Image Dodging Algorithm A Technical White Paper

What is a digital image?

Color is the factory default setting. The printer driver is capable of overriding this setting. Adjust the color output on the printed page.

Quick Guide for Zeiss 710 Laser Scanning Confocal MGH Cancer Center

Kigamo Scanback which fits in your view camera in place of conventional film.

Enhancement of Multispectral Images and Vegetation Indices

DIGITAL-MICROSCOPY CAMERA SOLUTIONS USB 3.0

Digitizing Film Using the D850 and ES-2 Negative Digitizer

THERMOIMAGING THEORY THERMOGRAPHY PRINCIPLES

Introduction to BioImage Analysis using Fiji

Images and Displays. Lecture Steve Marschner 1

Raster (Bitmap) Graphic File Formats & Standards

AF Area Mode. Face Priority

3) Start ImageJ, install CM Engine as a macro (instructions here:

Positive Pixel Count Algorithm. User s Guide

Technical Note How to Compensate Lateral Chromatic Aberration

There must be hundreds of

Dr. Bob on Colocalization or MSL Experiments In Learning Colocalization Using Image J

Introduction to BioImage Analysis

Digital Image Processing. Lecture # 3 Image Enhancement

Introduction to Image Analysis with

F400. Detects subtle color differences. Color-graying vision sensor. Features

Topic 04 What is a digital image?

Introduction to ImageJ 8 Sept 2009

How is the Digital Image Generated? Image Acquisition Devices

MassArt Studio Foundation: Visual Language Digital Media Cookbook, Fall 2013

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Applying mathematics to digital image processing using a spreadsheet

WiseContact. scan, edit, analyze

Chapter 3 Part 2 Color image processing

Fig 1: Error Diffusion halftoning method

PENGENALAN TEKNIK TELEKOMUNIKASI CLO

Point Spread Function Estimation Tool, Alpha Version. A Plugin for ImageJ

Figure 1 HDR image fusion example

Introduction to Color Theory

Screening Basics Technology Report

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

Zeiss Axiovert 135 Fluorescence Microscope Quick Guide / Operations Manual (v. 1.0 February 09)

Considerations. image solid color for tracing make sure your traced shapes are a single solid color - Black RGB 0,0,0 or #000000

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010

Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best

JCB Feature. What s in a picture? The temptation of image manipulation. The Journal of Cell Biology

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics

Terms and Definitions. Scanning

CREATING A COMPOSITE

In this rather technical follow-up article to my original

2. Pixels and Colors. Introduction to Pixels. Chapter 2. Investigation Pixels and Digital Images

A lthough it may not seem so at first

Digitizing Color. Place Value in a Decimal Number. Place Value in a Binary Number. Chapter 11: Light, Sound, Magic: Representing Multimedia Digitally

1. Describe how a graphic would be stored in memory using a bit-mapped graphics package.

Basics of Quantitative Imaging and Image Processing Using ImageJ / Fiji. Dan White Nov 2008

When scanning 3 D objects, open or remove the lid of the scanner, depending on your scanner and/or preferences, either way is fine.

Scientific Imaging Image Analysis worksheet Page 1 of 8. Image Analysis

2013 LMIC Imaging Workshop. Sidney L. Shaw Technical Director. - Light and the Image - Detectors - Signal and Noise

Press-Ready Folder Guide

Computer Vision. Howie Choset Introduction to Robotics

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

5/17/2009. Digitizing Color. Place Value in a Binary Number. Place Value in a Decimal Number. Place Value in a Binary Number

WORKING WITH COLOR Monitor Placement Place the monitor at roughly right angles to a window. Place the monitor at least several feet from any window

Spotlight White paper

CS 445 HW#2 Solutions

Wisconsin Heritage Online Digital Imaging Guidelines QUICK GUIDE TO SCANNING

ImageJ: Introduction to Image Analysis 3 May 2012 Jacqui Ross

Female Height. Height (inches)

Exercise NMCGJ: Image Processing

Digital Imaging and Image Editing

Digital Image Processing

Acquisition and representation of images

Rapid Non linear Image Scanning Microscopy, Supplementary Notes

Transcription:

ImageJ, A Useful Tool for Image Processing and Analysis Joel B. Sheffield Temple University Dedicated to the memory of Dan H. Moore (1909-2008) Presented at the 2008 meeting of the Microscopy and Microanalytical Societies

Why Image Processing? 1. To improve the appearance of the image. 2. To bring out obscure details in an image. 3. To carry out quantitative measurements

Part I. Introduction to ImageJ History Advantages Resources Macbiophotonics Mailing List Wiki Burger and Burge Basic Menu Structure Part II Special Issues Operations on all pixels in an image The histogram Brightness Contrast Look Up Tables RGB color Aspects of Analysis of an Image Measurement Calibration Areas and Densities Confocal Series Bandpass Filter

http://rsb.info.nih.gov/ij

ImageJ An adaptation of NIH image for the Java platform. Can run on any computer systems that can run Java (Sun Microsystems) Open source Two powerful scripting languages Java Plugins Macro Language Continual Upgrades Active community of several thousand users

Resources ImageJ Web Site http://rsb.info.nih.gov/ij Macbiophotonics: http://www.macbiophotonics.ca/imagej/ Wiki: http://imagejdocu.tudor.lu/ Burger and Burge (a real book!): Digital Image Processing, An Algorithmic Introduction using Java; Springer Verlag, 2008

Introduction to the Main Menu Of these, we ll concentrate on: Image Process Analyze Plugins Help

Image Menu

Process Menu

Analyze Menu

Plugins Menu

Help Menu

The Image Histogram Log Scale The histogram shows the number of pixels of each value, regardless of location. The log display allows for the visualization of minor components. Note that there are unused pixel values

In this case, the log display indicates that virtually all pixel values are used, even though they are a small percentage of the total.

Brightness Adjustment The brightness adjustment essentially adds or subtracts a constant to every pixel, causing a shift in the histogram along the x axis, but no change in the distribution

Contrast Enhancement For contrast enhancement, a lower value, in this case, 88, is set at zero, and a higher value, 166, is set at 255. The values of each of the pixels are adjusted proportionately. Note that because of the integer values, not all of the pixel values are used.

Look-Up Tables 8-bit images have no inherent color values. We normally assign values to each of the pixels according to a table. Because of earlier display devices, these values were shades of gray. As displays improved, it became possible to assign specific colors to given values. In ImageJ, there are three representations of LUTs.

Since some of these images, such as a fluorescence micrograph are of colored objects, it is useful to apply a color LUT to match the expected image, or to enhance it, even if the camera was monochrome.

The other way to treat color is to assign a set of 3 values, for Red, Green and Blue to each pixel. For common color images, each of the three colors is represented as an 8-bit value. One can think of a color image as consisting of three planes, one for each of the primary colors

As we move the cursor over different parts of the image, the color values appear in the status bar of the program. A color histogram is available, In the Analyze>Tools>Misc. menu

This can be used to correct white balance in micrographs Select an area that is to be white. Determine the adjustments necessary for each channel, and use the RGB Recolor plugin to balance the values Adjust brightness and contrast

Conversion to grey scale Since many operations will work only on grey scale images, it is necessary to consider how the conversions from color images can be accomplished. There are two approaches, dependent on the type of image. The simplest is to select the image, go to Image>type, and select 8-bit, or 16 or 32 bit.

However, some images, such as fluorescence micrographs taken as RGB images, can yield surprises. The reason that the image is so dark is that the routine averages the three channels (rgb) to generate the image. Since there is no data in g or b, the values for the red channel are divided by 3, yielding a dark image.

We can overcome this by separating the three channels and discarding those with no data.

Compare the two 8-bit images, after correction for brightness 8-bit Channel separation Because of the reduction in values in the 8-bit conversion, there are fewer values in the histogram.

Color Merge Many fluorescence images are taken in single channel images which are often merged to generate a single overlapped image. Some cameras generate rgb images even of single color fluorescence In that case, the images have to be converted to 8-bit before processing.

Another Issue: colors + gray scale What happened?

The value at any pixel is the sum of all four channels. Remember that the gray channel actually has values for r,g, and b. These are added to the other values, and exceed the 255 limit. Since the image is a composite (i.e. each plane is represented separately and the images are combined), we can divide each of the planes, so that the maximum value of the additions is less than 255. We can then adjust brightness and contrast to compensate without exceeding the limit.

Divide by 2 Convert to RGB and adjust

Confocal Microscope Series

Merge the Red and Green

Creating a 3D Rotating Image

Bandpass Filter to smooth background

Image courtesy of Wu Yuhong: 1. It is RGB 2. Low contrast 3. Uneven background (stripes from a scanner) 4. Size is given as 1.54x1.18 inches

The goal is to count, and measure the spots. The approach has to evolve, but here are the essential elements: 1. Since all of the spots appear to be black, color is not significant, and one can use a monochrome image. 2. The background must be dealt with. 3. The spots need to be discriminated from the background several options. 4. We can scan a line across the image, storing the coordinates. Note the slight rise upwards, Also the range, from 140-ish to 130 or so for the largest dot.

Adjust contrast and brightness according to the histogram

Separate channels, scan each. red green blue It appears that the greatest difference between the background and the signal is in the red channel, but there are stripes on the image.

we can use the graph of the image to make a rough determination of the threshold, and then tune it by looking as the selection.

Exclude very small objects by selecting a size > 10 But look at these measurements!

Let s take a closer look at the original image Specifically the dimensions as given in the header. We can see how ImageJ decided on these numbers by looking at the Image>Properties menu item. Note that it lists the unit of length as the inch, and the width of a pixel as 0.001667 Where did that come from? Well, if we look at the image with another program, IrfanView, or Photoshop, we will discover that the image is listed as containing 600 dpi. That information is encoded in the tiff header for the image. It is not listed in jpg versions. So, in its wisdom. ImageJ reads the 600 dpi and calculates the number of inches that would be taken up by 926 pixels. Since the original image was obtained from a scanner, using 600 dpi as a standard, this is reasonable.

We can change the unit of length to, say, mm, and the pixel width changes to adjust. The results of the analysis, then, are presented in mm, rather than inches.* *We have discovered that the camera we use for micrography also includes a value of 96 dpi in our images, which has to be corrected. The value of 96 is, we assume, related to print size. At any rate, we have to restandardize each image.

For more information, the web site is http://rsb.info.nih.gov/ij