SlideShare a Scribd company logo
1 of 43
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
Because of the reduction in values in the 8-bit conversion, there are fewer values in the histogram.
8-bit Channel separation
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.
But look at these
measurements!
Exclude very small objects by
selecting a size > 10
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

More Related Content

Similar to IJ-M&M08.ppt

Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdfssuserff72e4
 
Information search using text and image query
Information search using text and image queryInformation search using text and image query
Information search using text and image queryeSAT Publishing House
 
Information search using text and image query
Information search using text and image queryInformation search using text and image query
Information search using text and image queryeSAT Journals
 
project presentation-90-MCS-200003.pptx
project presentation-90-MCS-200003.pptxproject presentation-90-MCS-200003.pptx
project presentation-90-MCS-200003.pptxNiladriBhattacharjee10
 
Image processing sw & hw
Image processing sw & hwImage processing sw & hw
Image processing sw & hwamalalhait
 
Simple concepts of Image Processing.pptx
Simple concepts of Image Processing.pptxSimple concepts of Image Processing.pptx
Simple concepts of Image Processing.pptxcscv1
 
International Journal of Computational Engineering Research(IJCER)
 International Journal of Computational Engineering Research(IJCER)  International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER) ijceronline
 
Basics of image processing & analysis
Basics of image processing & analysisBasics of image processing & analysis
Basics of image processing & analysisMohsin Siddique
 
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLABANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLABJim Jimenez
 
Comparative between global threshold and adaptative threshold concepts in ima...
Comparative between global threshold and adaptative threshold concepts in ima...Comparative between global threshold and adaptative threshold concepts in ima...
Comparative between global threshold and adaptative threshold concepts in ima...AssiaHAMZA
 
Computer vision
Computer visionComputer vision
Computer visionsnmeens
 
Blind Source Camera Identification
Blind Source Camera Identification Blind Source Camera Identification
Blind Source Camera Identification Sudhanshu Patel
 
IRJET- Coloring Greyscale Images using Deep Learning
IRJET- Coloring Greyscale Images using Deep LearningIRJET- Coloring Greyscale Images using Deep Learning
IRJET- Coloring Greyscale Images using Deep LearningIRJET Journal
 
Sign Language Recognition Using Image Processing For Mute People
Sign Language Recognition Using Image Processing For Mute PeopleSign Language Recognition Using Image Processing For Mute People
Sign Language Recognition Using Image Processing For Mute Peoplepaperpublications3
 
IRJET- 3D Vision System using Calibrated Stereo Camera
IRJET- 3D Vision System using Calibrated Stereo CameraIRJET- 3D Vision System using Calibrated Stereo Camera
IRJET- 3D Vision System using Calibrated Stereo CameraIRJET Journal
 

Similar to IJ-M&M08.ppt (20)

Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
h.pdf
h.pdfh.pdf
h.pdf
 
Information search using text and image query
Information search using text and image queryInformation search using text and image query
Information search using text and image query
 
Information search using text and image query
Information search using text and image queryInformation search using text and image query
Information search using text and image query
 
project presentation-90-MCS-200003.pptx
project presentation-90-MCS-200003.pptxproject presentation-90-MCS-200003.pptx
project presentation-90-MCS-200003.pptx
 
Image processing sw & hw
Image processing sw & hwImage processing sw & hw
Image processing sw & hw
 
Unit ii
Unit iiUnit ii
Unit ii
 
Simple concepts of Image Processing.pptx
Simple concepts of Image Processing.pptxSimple concepts of Image Processing.pptx
Simple concepts of Image Processing.pptx
 
International Journal of Computational Engineering Research(IJCER)
 International Journal of Computational Engineering Research(IJCER)  International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Basics of image processing & analysis
Basics of image processing & analysisBasics of image processing & analysis
Basics of image processing & analysis
 
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLABANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
 
Comparative between global threshold and adaptative threshold concepts in ima...
Comparative between global threshold and adaptative threshold concepts in ima...Comparative between global threshold and adaptative threshold concepts in ima...
Comparative between global threshold and adaptative threshold concepts in ima...
 
JPEG
JPEGJPEG
JPEG
 
Computer vision
Computer visionComputer vision
Computer vision
 
Blind Source Camera Identification
Blind Source Camera Identification Blind Source Camera Identification
Blind Source Camera Identification
 
IRJET- Coloring Greyscale Images using Deep Learning
IRJET- Coloring Greyscale Images using Deep LearningIRJET- Coloring Greyscale Images using Deep Learning
IRJET- Coloring Greyscale Images using Deep Learning
 
Sign Language Recognition Using Image Processing For Mute People
Sign Language Recognition Using Image Processing For Mute PeopleSign Language Recognition Using Image Processing For Mute People
Sign Language Recognition Using Image Processing For Mute People
 
B018110915
B018110915B018110915
B018110915
 
IRJET- 3D Vision System using Calibrated Stereo Camera
IRJET- 3D Vision System using Calibrated Stereo CameraIRJET- 3D Vision System using Calibrated Stereo Camera
IRJET- 3D Vision System using Calibrated Stereo Camera
 
Graphics
GraphicsGraphics
Graphics
 

Recently uploaded

如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一
如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一
如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一ga6c6bdl
 
What Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop WorkingWhat Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop WorkingEscondido German Auto
 
BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024AHOhOops1
 
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证jjrehjwj11gg
 
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHot Call Girls In Sector 58 (Noida)
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Karachi | +923081633338 | Karachi Call Girls
Call Girls in Karachi  | +923081633338 | Karachi Call GirlsCall Girls in Karachi  | +923081633338 | Karachi Call Girls
Call Girls in Karachi | +923081633338 | Karachi Call GirlsAyesha Khan
 
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607dollysharma2066
 
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kasba 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Roomdivyansh0kumar0
 
定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一
定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一
定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一fhhkjh
 
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxUNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxDineshKumar4165
 
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHERUNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHERunosafeads
 
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 HybridHyundai Motor Group
 
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一hnfusn
 
(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样
(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样
(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样whjjkkk
 
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一ypfy7p5ld
 
UNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLESUNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLESDineshKumar4165
 
办理埃默里大学毕业证Emory毕业证原版一比一
办理埃默里大学毕业证Emory毕业证原版一比一办理埃默里大学毕业证Emory毕业证原版一比一
办理埃默里大学毕业证Emory毕业证原版一比一mkfnjj
 
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /WhatsappsBeautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsappssapnasaifi408
 

Recently uploaded (20)

如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一
如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一
如何办理迈阿密大学毕业证(UM毕业证)成绩单留信学历认证原版一比一
 
What Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop WorkingWhat Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop Working
 
BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024
 
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
 
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Call Girls in Karachi | +923081633338 | Karachi Call Girls
Call Girls in Karachi  | +923081633338 | Karachi Call GirlsCall Girls in Karachi  | +923081633338 | Karachi Call Girls
Call Girls in Karachi | +923081633338 | Karachi Call Girls
 
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
 
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kasba 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
 
定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一
定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一
定制(Plymouth文凭证书)普利茅斯大学毕业证毕业证成绩单学历认证原版一比一
 
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxUNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
 
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHERUNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
 
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
 
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
如何办理(UQ毕业证书)昆士兰大学毕业证毕业证成绩单原版一比一
 
(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样
(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样
(办理学位证)墨尔本大学毕业证(Unimelb毕业证书)成绩单留信学历认证原版一模一样
 
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
 
UNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLESUNIT-III-TRANSMISSION SYSTEMS REAR AXLES
UNIT-III-TRANSMISSION SYSTEMS REAR AXLES
 
办理埃默里大学毕业证Emory毕业证原版一比一
办理埃默里大学毕业证Emory毕业证原版一比一办理埃默里大学毕业证Emory毕业证原版一比一
办理埃默里大学毕业证Emory毕业证原版一比一
 
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /WhatsappsBeautiful Vip  Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
Beautiful Vip Call Girls Punjabi Bagh 9711199012 Call /Whatsapps
 

IJ-M&M08.ppt

  • 1. 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
  • 2. 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
  • 3. 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
  • 5. 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
  • 6. 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
  • 7. Introduction to the Main Menu Of these, we’ll concentrate on: – Image – Process – Analyze – Plugins – Help
  • 13. 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
  • 14. In this case, the log display indicates that virtually all pixel values are used, even though they are a small percentage of the total.
  • 15. 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
  • 16. 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.
  • 17. 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.
  • 18. 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.
  • 19. 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
  • 20. 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
  • 21. 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
  • 22. 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.
  • 23. 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.
  • 24. We can overcome this by separating the three channels and discarding those with no data.
  • 25. Compare the two 8-bit images, after correction for brightness Because of the reduction in values in the 8-bit conversion, there are fewer values in the histogram. 8-bit Channel separation
  • 26. 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.
  • 27. Another Issue: colors + gray scale What happened?
  • 28. 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.
  • 29. Divide by 2 Convert to RGB and adjust
  • 31. Merge the Red and Green
  • 32. Creating a 3D Rotating Image
  • 33. Bandpass Filter to smooth background
  • 34. 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
  • 35. 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.
  • 36. Adjust contrast and brightness according to the histogram
  • 37. 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.
  • 38.
  • 39. 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.
  • 40. But look at these measurements! Exclude very small objects by selecting a size > 10
  • 41. 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.
  • 42. 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.
  • 43. For more information, the web site is http://rsb.info.nih.gov/ij