Introduction to scientific image processing in FIJI5f3629ee-39f6-4c47-9995-227ec432e1ec/Lun… ·...

30
2/17/2016 Page 1 Introduction to scientific image processing in FIJI Lunch Seminar Series Moritz Kirschmann [email protected] Center for Microscopy and Image Analysis

Transcript of Introduction to scientific image processing in FIJI5f3629ee-39f6-4c47-9995-227ec432e1ec/Lun… ·...

University Division/Office

2/17/2016 Page 1

Introduction to scientific

image processing in FIJI

Lunch Seminar Series

Moritz Kirschmann [email protected]

Center for Microscopy and Image Analysis

2/17/2016 2

Table of Contents

1) What is Fiji and what can it do?

2) Open/import image data

3) Basics of the user interface and meta data

4) Changing color mode

5) Changing contrast

6) Inspecting stacks in orthogonal views

7) Z projections of stacks

8) 3D projections of stacks

2/17/2016 Page 3

1. What is Fiji

- A distribution of ImageJ including many useful plug-ins for life sciences

- Open source

- Written in Java

- Under GNU General Public License

- Runs on Windows, MacOS, Linux

- Under daily development by a large community

2/17/2016 Page 4

What can FIJI do?

- Reads many data formats (TIF, JPG, PNG, …), including proprietary

formats (CZI, LIF, DM3, DM4, STK, ICS, IMS, …)

- Image contrast and look-up-table modifications

- Modification of metadata such as pixel sizes

- Maximum intensity projections of image stacks

- Segmentation

- Counting objects

- Measuring intensities, length, areas, shape parameters and more

- Reconstruct objects from serial section

- Visualize in 3D

- […]

- everything is scriptable!

2/17/2016 Page 5

Open/import image data

Single files:

Drag and drop your image file onto the FIJI window.

- simple file formats (PNG, TIF) open in a window directly.

- complex file formats (LIF, CZI, IMS, ICS…) will prompt a dialog box “Bio-

formats import options”.

2/17/2016 Page 6

Don´t panic!

2/17/2016 Page 7

Choose: view stack with: Hyperstack and leave Stack order: Default

2/17/2016 Page 8

For files containing multiple stacks/time series (typically CZI, LIF) you can choose

which of these you want to open. Activating the Open all series checkbox opens

everything.

2/17/2016 Page 9

This stitching option simply puts the tiles of an image mosaic together assuming no

overlap. There are more sophisicated ways of stitching in FIJI.

2/17/2016 Page 10

Color mode: Composite shows all channels at the same time and assigns default colors. If

you want set your colors choose Color mode: Custom.

2/17/2016 Page 11

Autoscale adapts the contrast of the images (of bit depth >8). The highest intensity in each

channel is set to maximum screen brightness.

2/17/2016 Page 12

Metadata can also be shown later if necessary.

2/17/2016 Page 13

If your data is bigger than the available RAM of your computer

you must activate Use virtual stack.

2/17/2016 Page 14

Open/import image data

You have two possibilities to open a series of image files which you want to open

together as a stack:

A) Drag and drop the folder containing the images onto the FIJI window.

2/17/2016 Page 15

Open/import image data

B) choose from the menu

File > Import > Image sequence

File name contains can

be used to filter by file

name.

For example entering

“Kartoffel” will only open

images with “Kartoffel” in

their names.

2/17/2016 Page 16

Open/import image data

B) choose from the menu

File > Import > Image sequence

FIJI estimates how much

RAM will be used to open

this stack. If this is more

than what FIJI has available

an error is given. In this

case activate Use virtual

stack.

2/17/2016 Page 17

Basics of the user interface

B) choose from the menu

File > Import > Image sequence

placing the mouse over a

pixel gives intensity values.

2/17/2016 Page 18

Basics of the user interface

B) choose from the menu

File > Import > Image sequence

Name of file, of sub

experiment and zoom factor

(at 100 % not shown).

Keyboard shortcuts:

- Arrow keys left and right

scroll in C

- ALT and arrow keys left

and right scroll in Z

2/17/2016 Page 19

Basics of the user interface

B) choose from the menu

File > Import > Image sequence

Metadata overview:

- current channel and slice

number.

- field of view in calibrated

units and pixels

- bit depth

- size

Color and frame around

image are displayed in the

color of the selected

channel.

Detailed metadata can be

viewed via menu Image >

Show info …

2/17/2016 Page 20

Basics of the user interface

To change pixelsizes

choose from the menu

Image > Properties…

Pixelsize in x, y and z

2/17/2016 Page 21

Basics of the user interface

Attention:

Activating Global applies

these settings to all open

images

To change pixelsizes

choose from the menu

Image > Properties…

2/17/2016 Page 22

Changing color mode

Open Channels tool

from Image > Color > Channels tool

Composite shows all

channels at once.

Color and grayscale only

one channel at a time.

Keyboard shortcuts:

- Ctrl shift Z opens

Channels tool

2/17/2016 Page 23

Changing color mode

Open Channels tool

from Image > Color > Channels toolEach channel can be

hidden one by one.

2/17/2016 Page 24

Changing contrast

Open Channels tool

from Image > Adjust> Brightness / Contrast

Note:

On images with more than 8

bits changes in brightness

and contrast do not change

the intensity values of the

pixels. Only the display

settings are adjusted.

Keyboard shortcuts:

- Ctrl shift C opens B&C

2/17/2016 Page 25

Orthogonal views of a stack

Open Channels tool

from Image > Stacks > Orthogonal views

Selection tools define the line of the virtual

slices by clicking.

2/17/2016 Page 26

Z projections

Open Channels tool

from Image > Stacks > Z Project

2/17/2016 Page 27

3D projections

Open Channels tool

from Image > Stacks > 3D Project…

2/17/2016 Page 28

Further info

Download Fiji at http://www.fiji.sc

If you don’t remember where in the menus and submenus a command is hidden

press l for a list of all commands!

All menus explained in depth:

http://imagej.net/docs/guide/

Manuals and guides:

http://fiji.sc/User_Guides

2/17/2016 University of Zurich, Division/Office, Title of the presentation, Author Page 29

Which other features do you need to make FIJI

useful for you?

Stitch image tiles measuring distances, areas and volumes

batch convert file format invert contrast

overlay scale bar change color crop

blur create a montage of a stack

correct for uneven background crop in 3D

export as video display power spectrum find edges

synchronize windows analyze gels

record and run macros of repetitive tasks colocalization analysis

reslice stack register time series to compensate drift

2/17/2016 University of Zurich, Division/Office, Title of the presentation, Author Page 30

Thank you!