editing in imagej john h. krantz hanover college

27
Editing In ImageJ John H. Krantz Hanover College

Upload: andre-dodge

Post on 31-Mar-2015

222 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Editing In ImageJ John H. Krantz Hanover College

Editing In ImageJ

John H. KrantzHanover College

Page 2: Editing In ImageJ John H. Krantz Hanover College

Outline

Using ImageJ Basics

Opening Images New Images Drawing Basic Image Editing

Advanced

Page 3: Editing In ImageJ John H. Krantz Hanover College

Example JPGs I will Edit

Page 4: Editing In ImageJ John H. Krantz Hanover College

ImageJ

Free at: http://rsb.info.nih.gov/ij/index.html

Overview Java program Interface a bit awkward because it is free Expandable via plug-ins

Covers all basic editing and many advanced - very advanced

Scientific quality image editor Used in many technical applications

Page 5: Editing In ImageJ John H. Krantz Hanover College

Basic ImageJ Interface

Menus and Tool bars File Open, Save, Save As, Revert Edit Cut, Copy, Paste, Selection,

Options Image Basic Image Editing Process More Advanced Image Editing

Options Shapes are for selection or drawing. The

“A” is for adding text.

Page 6: Editing In ImageJ John H. Krantz Hanover College

File/New

Page 7: Editing In ImageJ John H. Krantz Hanover College

Drawing with ImageJ

Very simple but easy Access to pixels No anti-aliasing in most drawing

modes Downside: jaggies Upside: in complete control of

graphics Can store and edit in lots of

formats

Page 8: Editing In ImageJ John H. Krantz Hanover College

File/Open

Page 9: Editing In ImageJ John H. Krantz Hanover College

Try some

When open in ImageJ, all images are bitmaps, but can be edited in different types

Basic Graphics Objects Adding Text Saving in Different Format

File/Save As Important: Must use File/Save As every

time not saving the file as a bitmat

Page 10: Editing In ImageJ John H. Krantz Hanover College

Basic Editing in ImageJ

Edit a bitmap Most Important Command: Revert

Under the File Menu Takes back to last save – careful with

saves. Ctrl-z is undo but only one step.

Suggest make copy first so don’t destroy original

Page 11: Editing In ImageJ John H. Krantz Hanover College

Cropping or my Thumb got in the way – well not really

Page 12: Editing In ImageJ John H. Krantz Hanover College

Select Area Select square on Tool Box

Page 13: Editing In ImageJ John H. Krantz Hanover College

Cropped Image – What thumb?Under Image Menu: Crop

Page 14: Editing In ImageJ John H. Krantz Hanover College

Basic Editing for Web

Resizing Image For Fast Download Under Image/Scale or

Image/Adjust/Size

Page 15: Editing In ImageJ John H. Krantz Hanover College

Saving Images

Page 16: Editing In ImageJ John H. Krantz Hanover College

Converting Images

Save as for Image Types – use GIF or JPG Must add extension, it is not added

automatically Always use save as to save anything

other than a TIFF This is a full color uncompressed image

Page 17: Editing In ImageJ John H. Krantz Hanover College

Selecting Region to Edit

Page 18: Editing In ImageJ John H. Krantz Hanover College

Brightness and ContrastImage/Adjust/Brightness and Contrast

Page 19: Editing In ImageJ John H. Krantz Hanover College

Converting Images

Converting Color Depth or to Grayscale image Under Image Menu/Type To grayscale image,

convert to 8 Bit

Page 20: Editing In ImageJ John H. Krantz Hanover College

Filtering Images

Gaussian: blurs Amount of blur

depends upon the standard deviation (called radius)

Page 21: Editing In ImageJ John H. Krantz Hanover College

Filtering Images

Edges: finds them – so type of outline

Page 22: Editing In ImageJ John H. Krantz Hanover College

Adding to Images

Setting Colors Edit: Options: Foreground Color Image: Colors

Adding Text Set font in

Edit: Options: Font Draws in selected color

Page 23: Editing In ImageJ John H. Krantz Hanover College

Adding to Images

Drawing a basic graphics object Draw width:

Edit: Options: Line Width Select shape Put shape on image Edit: Draw or ctrl-D

Filled regions Same as above, but:

line width not important Use Edit: Fill or ctrl-F

Page 24: Editing In ImageJ John H. Krantz Hanover College

Plugins

These are the heart and sole of ImageJ Some have limits but as developments

go on, you will be able to get new ones without these limits

How to get: http://rsb.info.nih.gov/ij/plugins/ Pick desired plug in. Go to ImageJ folder, then to plugins folder I suggest making folders under this to keep

organized Restart ImageJ

Page 25: Editing In ImageJ John H. Krantz Hanover College

Creating Shortcuts

Under Plugins menu Pick Shortcuts Then Create Shortcut Lists all commands Type letter that will be matched with

control button. Under Plugins/Utilities/Shortcuts will

show all current shortcuts

Page 26: Editing In ImageJ John H. Krantz Hanover College

Adding Shortcuts Example

Pick command JPEG This saves files in a jpeg format

A pain to get to usually Use “J” Try ctrl-J

Page 27: Editing In ImageJ John H. Krantz Hanover College

Mail List

http://rsb.info.nih.gov/ij/list.html Active community of people

developing They are very tolerant of idiotic

questions. I have personal experience of their tolerance