270 likes | 417 Views
Editing In ImageJ. John H. Krantz Hanover College. Outline. Using ImageJ Basics Opening Images New Images Drawing Basic Image Editing Advanced. Example JPGs I will Edit. ImageJ. Free at: http://rsb.info.nih.gov/ij/index.html Overview Java program
E N D
Editing In ImageJ John H. Krantz Hanover College
Outline • Using ImageJ • Basics • Opening Images • New Images • Drawing • Basic Image Editing • Advanced
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
Basic ImageJ Interface • Menus and Tool bars • FileOpen, Save, Save As, Revert • EditCut, 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.
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
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
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
Basic Editing for Web • Resizing Image For Fast Download • Under Image/Scale or Image/Adjust/Size
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
Converting Images • Converting Color Depth or to Grayscale image • Under Image Menu/Type • To grayscale image, convert to 8 Bit
Filtering Images • Gaussian: blurs • Amount of blur depends upon the standard deviation (called radius)
Filtering Images • Edges: finds them – so type of outline
Adding to Images • Setting Colors • Edit: Options: Foreground Color • Image: Colors • Adding Text • Set font in • Edit: Options: Font • Draws in selected color
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
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
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
Adding Shortcuts Example • Pick command JPEG • This saves files in a jpeg format • A pain to get to usually • Use “J” • Try ctrl-J
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