ASC Point Spread Function

From BioDIP
(Difference between revisions)
Jump to: navigation, search
(images)
 
(11 intermediate revisions by one user not shown)
Line 3: Line 3:
 
* damage/performance of objective
 
* damage/performance of objective
 
Having a system with a proper PSF is gets especially important for high resolution and deconvolution work. Analyzing the PSF of an objective can be semi-automated with the "PSF macro" by Laurent Gelman ([http://www.fmi.ch/ FMI Basel (Switzerland)]).
 
Having a system with a proper PSF is gets especially important for high resolution and deconvolution work. Analyzing the PSF of an objective can be semi-automated with the "PSF macro" by Laurent Gelman ([http://www.fmi.ch/ FMI Basel (Switzerland)]).
== PSF Macro ==
+
== requirements ==
=== requirements for bead stacks ===
+
* green fluorescent bead sample, preferably sub-resolution (170 nm)
* 100 planes, 200 nm spacing
+
== acquisition ==
* optimal: single bead in center of image
+
* use high resolution objectives (= the ones that people use for high resolution work)
* the macro attempts to crop a 15x15 µm area with the bead in center; if the image dimensions are already smaller, extend the area: Fiji > Image > Adjust > Canvas Size...
+
* set up system for z-stack fluorescence
=== install LUT ===
+
** blue excitation, green detection (i.e. EX 488 nm, EM 500-550 nm)
* Mac: go to applications folder > fiji: ctrl+click on the Fiji(.app) icon > Show package content
+
** pinhole at 1 airy unit
* PC: go to \Program Files\Fiji.app (or to the place you installed Fiji)
+
** pixel size of 100 nm
* create a folder called "luts", if it's not there yet
+
** Z-step size of 200 nm
* drag and drop the *.lut into it
+
** 100 planes, focal plane of the bead in the middle
* (re)start fiji
+
** no oversaturated pixels
=== install macro ===
+
* scan field should be located in the center of the field of view (no panning, put the bead roughly in center by eye and stage)
* Fiji > Plugins > Macros > Install...
+
* size of the scan field should not be smaller than 20x20 µm, with the bead in the center (simplifies the analysis)
* select macro txt file
+
== prepare PSF macro ==
* macro gets installed to that menu for the current session
+
* download the [[media:Gelman-psf-macro-v4.zip|PSF macro zip file]] and unzip it
=== load bead stack ===
+
* include the LUT:
* Fiji > File > Open
+
** Windows: locate the Fiji.app folder (i.e. C:\Program Files\Fiji.app), create a folder ''luts'' inside (if it's not there yet), place the ''LUTforPSFs.lut'' there
* select bead stack file
+
** Mac: locate the Fiji.app folder (i.e. Applications\Fiji), right click on it > ''Show package content'', create a folder ''luts'' (if it's not there yet), place the ''LUTforPSFs.lut'' there
* if necessary, split channels (Fiji > Image > Color > Split Channels)
+
* install the macro:
* if necessary, crop image to a single bead
+
** open Fiji
=== run macro ===
+
** Plugins > Macros > Install...
 
+
** the macro appears in the Macros menu
=== description by Laurent ===
+
** procedure has to be repeated for every new Fiji session
Thanks a lot for your interest in our ImageJ Macro, which I join as an attachment.
+
== analysis ==
 
+
* load the bead stack into Fiji
You need to install it each time you start ImageJ. Go to >Plugins>Macros>Install...
+
** make sure the metadata is still there (i.e. that the image is scaled)
 
+
* check the pixel size: Image > Show Info > Voxel size X
Select it in the dialog window and click "open".
+
* if necessary, crop image to a single bead (but also consider the next point)
 
+
* the macro attempts to crop a 15x15 µm area with the bead in center; if the image dimensions are smaller, extend the area with black: Fiji > Image > Adjust > Canvas Size...
To run it, you need before to open a stack. We take stacks of 100 planes, spaced by
+
* if necessary (multi-channel data), split channels (Fiji > Image > Color > Split Channels)
0.2mm, for all objectives and all microscopes.
+
* zoom into the image, in a way that you can hit the center of the bead w/o problems
Then go to >Plugins>Macros>MIPs for PSFs for all microscopes to run the Macro.
+
* start the macro: Plugins > Macros > gelman-psf-macro-v4
 
+
* enter the microscope information and click OK
Automatic Macro actions / User actions:
+
* '''right'''-click into the center of the bead
 
+
** that's the tricky step: the analysis will be wrong if you don't hit the center
A. Selects the plane with the highest pixel intensity, adjusts display settings,
+
** depending on the system configuration you might need to first right-click into the center, and then left-click on the image window to get the process startet
opens the information dialog box.
+
* wait for the analysis to be done, result will be a stack of 2 images (see examples below)
 
+
== PSF macro overview: automatic macro actions / user actions ==
1. Enter information in the dialog window which popped up.
+
''by Laurent Gelman''
 
+
* A. Selects the plane with the highest pixel intensity, adjusts display settings, opens the information dialog box.
2. Zoom in the image to clearly localize the center of the bead (you can also
+
* 1. Enter information in the dialog window which popped up.
navigate between planes if needed).
+
* 2. Zoom in the image to clearly localize the center of the bead (you can also navigate between planes if needed).
 
+
* 3. Right clicks with the mouse on the center of the bead.
3. Right clicks with the mouse on the center of the bead.
+
* B. Crops the image to get 15mmx15mm area centered over the pixel clicked by the user.
 
+
* C. Makes projections in X and Y of the stack
B. Crops the image to get 15mmx15mm area centered over the pixel clicked by the user.
+
* D. Stitches together the cropped area and the projections
 
+
* E. Estimates and subtracts background
C. Makes projections in X and Y of the stack
+
* F. Takes the square root of the image (to minimize photon noise and to mimic a decrease in histogram gain)
 
+
* G. Resizes the image to 550x550 pixels, adjusts display, changes LUT and displays the picture with a standardized name: ''Date_Scopename_Magnification_NA''
D. Stitches together the cropped area and the projections
+
 
+
E. Estimates and subtracts background
+
 
+
F. Takes the square root of the image (to minimize photon noise and to mimic a
+
decrease in histogram gain)
+
 
+
G. Resizes the image to 550x550 pixels, adjusts display, changes LUT and saves the
+
picture in a JPEG format with a standardized name: Date_Scope
+
name_Magnification_NA.jpg.
+
 
== images ==
 
== images ==
 
<gallery>
 
<gallery>
 
file:Set parameters.jpg|PSF macro: parameters dialog, open bead stack
 
file:Set parameters.jpg|PSF macro: parameters dialog, open bead stack
file:2009-09-29 MPI11 63x 1.4 FWHMa 3822nm - FWHMl 456nm.jpg|PSF macro result 1: 500 nm bead, confocal
+
file:2009-09-29 MPI11 63x 1.4 FWHMa 3822nm - FWHMl 456nm.jpg|PSF macro result 1: 500 nm bead*, confocal
file:2009-09-29 MPI11 63x 1.4 FWHMa 3822nm - FWHMl 456nm graphs.jpg|PSF macro result 2: 500 nm bead, confocal
+
file:2009-09-29 MPI11 63x 1.4 FWHMa 3822nm - FWHMl 456nm graphs.jpg|PSF macro result 2: 500 nm bead*, confocal
 
</gallery>
 
</gallery>
 +
(*) 500 nm bead = still above resolution limit! Use 170 nm beads to get a proper PSF.
 
[[category:ASC]]
 
[[category:ASC]]
 
__NOTOC__
 
__NOTOC__

Latest revision as of 14:03, 1 October 2009

The point spread function (PSF) represents how an image of a point appears in a microscope. Measuring this PSF can reveal important informations:

  • angle of illumination axis
  • damage/performance of objective

Having a system with a proper PSF is gets especially important for high resolution and deconvolution work. Analyzing the PSF of an objective can be semi-automated with the "PSF macro" by Laurent Gelman (FMI Basel (Switzerland)).

[edit] requirements

  • green fluorescent bead sample, preferably sub-resolution (170 nm)

[edit] acquisition

  • use high resolution objectives (= the ones that people use for high resolution work)
  • set up system for z-stack fluorescence
    • blue excitation, green detection (i.e. EX 488 nm, EM 500-550 nm)
    • pinhole at 1 airy unit
    • pixel size of 100 nm
    • Z-step size of 200 nm
    • 100 planes, focal plane of the bead in the middle
    • no oversaturated pixels
  • scan field should be located in the center of the field of view (no panning, put the bead roughly in center by eye and stage)
  • size of the scan field should not be smaller than 20x20 µm, with the bead in the center (simplifies the analysis)

[edit] prepare PSF macro

  • download the PSF macro zip file and unzip it
  • include the LUT:
    • Windows: locate the Fiji.app folder (i.e. C:\Program Files\Fiji.app), create a folder luts inside (if it's not there yet), place the LUTforPSFs.lut there
    • Mac: locate the Fiji.app folder (i.e. Applications\Fiji), right click on it > Show package content, create a folder luts (if it's not there yet), place the LUTforPSFs.lut there
  • install the macro:
    • open Fiji
    • Plugins > Macros > Install...
    • the macro appears in the Macros menu
    • procedure has to be repeated for every new Fiji session

[edit] analysis

  • load the bead stack into Fiji
    • make sure the metadata is still there (i.e. that the image is scaled)
  • check the pixel size: Image > Show Info > Voxel size X
  • if necessary, crop image to a single bead (but also consider the next point)
  • the macro attempts to crop a 15x15 µm area with the bead in center; if the image dimensions are smaller, extend the area with black: Fiji > Image > Adjust > Canvas Size...
  • if necessary (multi-channel data), split channels (Fiji > Image > Color > Split Channels)
  • zoom into the image, in a way that you can hit the center of the bead w/o problems
  • start the macro: Plugins > Macros > gelman-psf-macro-v4
  • enter the microscope information and click OK
  • right-click into the center of the bead
    • that's the tricky step: the analysis will be wrong if you don't hit the center
    • depending on the system configuration you might need to first right-click into the center, and then left-click on the image window to get the process startet
  • wait for the analysis to be done, result will be a stack of 2 images (see examples below)

[edit] PSF macro overview: automatic macro actions / user actions

by Laurent Gelman

  • A. Selects the plane with the highest pixel intensity, adjusts display settings, opens the information dialog box.
  • 1. Enter information in the dialog window which popped up.
  • 2. Zoom in the image to clearly localize the center of the bead (you can also navigate between planes if needed).
  • 3. Right clicks with the mouse on the center of the bead.
  • B. Crops the image to get 15mmx15mm area centered over the pixel clicked by the user.
  • C. Makes projections in X and Y of the stack
  • D. Stitches together the cropped area and the projections
  • E. Estimates and subtracts background
  • F. Takes the square root of the image (to minimize photon noise and to mimic a decrease in histogram gain)
  • G. Resizes the image to 550x550 pixels, adjusts display, changes LUT and displays the picture with a standardized name: Date_Scopename_Magnification_NA

[edit] images

(*) 500 nm bead = still above resolution limit! Use 170 nm beads to get a proper PSF.

Personal tools