Users Manual v1.0
Users Manual v1.0
0 User’s Manual
OpenCASA
User’s Manual
User’s Manual
Table of Contents
Specifications ..................................................................................................................................1
Installation ......................................................................................................................................1
For users ......................................................................................................................................1
For developers ............................................................................................................................1
Main Window .................................................................................................................................2
Settings ............................................................................................................................................2
Motility module..............................................................................................................................5
Results..........................................................................................................................................5
Parameters involved ..................................................................................................................5
Chemotaxis module .......................................................................................................................6
Results..........................................................................................................................................6
Parameters involved ..................................................................................................................7
Viability module.............................................................................................................................8
Results..........................................................................................................................................8
Parameters involved ..................................................................................................................8
Morphometry module ...................................................................................................................9
Results........................................................................................................................................10
Parameters involved ................................................................................................................10
Simulation module ......................................................................................................................11
Results........................................................................................................................................11
Parameters involved ................................................................................................................11
User’s Manual
Specifications
This program has been developed and tested on Windows 7 (64-bit) using Imagej v1.49q
and Java 1.8.0_101 (64-bit). There are no specific requierements to use this plugin but a special
attention of RAM memory is suggested when video analysis is carried on. At least 5GB of
heap memory size is recommended, but it depends on the size of the files. One good
estimation could be to use a heap memory size of 2.5 times the size of the heaviest file that is
going to be analyzed. Information about how to increase memory on ImageJ can be found
following this link: https://imagej.net/Troubleshooting#OutOfMemoryError. For all tests,
only videos in AVI format and images in JPEG or PNG format were used. The plugin has not
been tested on Linux or MAC platforms.
Installation
For users
First of all, it is necessary to have installed ImageJ. The latest version of the program can be
downloaded from https://imagej.nih.gov/ij/download.html. We recommend to download
the 64-bit bundle with the latest java version.
For developers
1
User’s Manual
Note: the source code is included in the .jar file. It is possible to extract it using a common
software like 7zip or WinRAR. Once the source code has been extracted, for small changes,
the plugin can be modified and compiled using the embedded java compiler in ImageJ
located on the Plugins menu (in order to be sure that all changes have been updated, it is
recommended to remove, previously the compilation, all .class files included in both folder
and subfolders of OpenCASA plugin).
Tip: In order to increase the heap memory in eclipse, after the project has been set up, in the
menu bar go to Run->Run Configuration, find the name of the class you have been running,
select it, click the Arguments tab and then add:
-Xms5120M –Xmx5120M
where 5120 is the 5 gigabytes of memory that you want to assign (in megabytes). Remember
that a heap memory size of 2.5 times the size of the heaviest file that is going to be analyzed
is recommended.
Main Window
Settings
2
User’s Manual
in the Motility tab, the user can set the parameters related to cells in movement, like the vcl
filter used to classify the cells in motile/non motile, or the value that determines when a cell
has progressive motility or not.
The parameters that the user can configure for each category are specified in the following
tables:
General
Microns per pixel This is the ratio of microns per pixels.
Minimum cell size Minimum cell size to be detected (in microns).
Maximum cell size Maximum cell size to be detected (in microns).
Male (optional) Identifier of the male that is analyzed.
Date (optional) Date of the analysis.
Generic Field (optional) This generic field can be used to add
extra info to the final report.
Video
Frame rate Frame rate of the video (frames / second).
Minimum track length Trajectories with less length will not be
considered (microns).
Maximum displacement between frames Maximum displacement that a cell could carry on
between two following frames (microns).
Window size Length of the rectangle window used in the
moving average method to calculate the average
path (frames).
Print XY Coordinates This option allows the user to save the x-y
coordinates of each trajectory. Only available for
file analysis (not directories) in both chemotaxis
and motility analysis.
Chemotaxis
Chemotaxis gradient direction Gradient direction (degrees).
Chemotaxis cone’s amplitude Gradient amplitude (degrees).
Number of bootstrapping resamples Used to calculate the OR threshold in
bootstrapping analysis.
Angle delta Used when the frame rate of the recordings is too
fast. For high frame rates, cells don’t move
enough between two following frames, so this
parameter is used to calculate the angle between
frame t and frame (t + angle delta). This parameter
is not a strict decimator factor, in the context of
signal processing.
Compare opposite directions If this parameter is set to true, the analysis only
takes into account angles in both the gradient and
opposite directions as positive and negative
displacements respectively, and ignore the rest.
Otherwise, the module takes into account all
angles in all directions.
3
User’s Manual
Motility
Progressive motility Threshold used to determine when a cell has
progressive motility or not. The value means %
of STR motility parameter.
Minimum VCL Minimum curvilinear velocity to consider a
trajectory as motile.
VCL lower threshold Only for file analysis. These parameters are used
VCL upper threshold together to classify trajectories in three categories
depending on their vcl value: Slow – Medium –
Fast. Tracks below lower threshold are tagged as
SLOW. Between lower threshold and upper
threshold are tagged MEDIUM, and trajectories
above upper threshold are tagged as FAST.
4
User’s Manual
Motility module
This module allows the user to analyze a single or multiple recordings of cells in movement,
and extract a set of motility parameters for each sample. The program accepts videos in AVI
format. There are three options: analyze a file, a directory or multiple directories.
Results
Depending on the selected analysis, this module shows different results, summarized in the
following table:
File This analysis returns two reports: one with all motility parameters for each
tracked cell, and an average report with the mean values of each parameter.
Directory This analysis returns two reports: one with all motility parameters for each
tracked cell, and an average report with the mean values of each parameter,
one row for each video contained in the directory.
Multiple This analysis return one report: for each subfolder, the average motility
directories parameters is calculated. The repost contains one row for each subfolder.
Parameters involved
5
User’s Manual
Chemotaxis module
This module allows the user to carry on a chemotaxis analysis in a single or multiple
recordings. The program accepts files in AVI format. There are three options: analyze a file,
a directory or simulate multiple samples. In both directory and multiple simulations, the
user can choose between two different analyses: ch-index analysis and bootstrapping
analysis.
Results
Depending on the selected analysis, this module shows different results, summarized in the
following table:
Ch-index For a single file analysis, the program returns two diagrams as a report,
one corresponding for the straight line analysis, and other a rose diagram
showing the circular histogram of the instantaneous angles between the
cell displacement and the gradient direction.
For experiments, the program returns a report summarizing all ch-index
and sl-index calculated for each sample.
6
User’s Manual
Bootstrapping This analysis is only available for experiments. The program returns, for
each experimental condition, the list of all analyzed samples, indicating
which ones give positive and which ones not on chemotaxis, with 5%-
confidence level. The threshold is calculated using all control samples
included in the subfolder “control” and the number of bootstrapping
resamples to calculate it can be configured in the settings menu.
Parameters involved
7
User’s Manual
Viability module
Results
This program returns a report with the number of cells of each type that have been
counted. This report includes one row for each image.
Parameters involved
8
User’s Manual
Morphometry module
9
User’s Manual
Results
The program will show a report with various morphometric parameters from the selected
cells (one row for each cell). The morphometric parameters calculated by the program are:
Parameter Definition
Mean gray Average gray value of all pixels contained in the cell area (value between 0
value and 255).
Area Area of the cell (µm2).
Perimeter Perimeter of the cell (µm).
Length Length of the cell following the principal axis. Equivalent to Feret value
(µm).
Width Width of the cell following the secondary axis. Equivalent to Min_Feret
(µm).
Ellipticity Length
Width
Roughness 4 𝑥 𝜋 𝑥 𝐴𝑟𝑒𝑎
𝑃𝑒𝑟𝑖𝑚𝑒𝑡𝑒𝑟 2
Parameters involved
10
User’s Manual
Simulation module
This module allows the user to create a video simulation of 100 cells following a persistent
random walk model being attracted to the x-axis direction. Before the creation of a
simulation, a dialog is shown to configure three parameters:
Parameter Definition
Beta This parameter is equivalent to the level of attraction. Bigger the
parameter, stronger the attraction. The positive or negative sign of the
parameter will determine the right/left direction of the cells, and a
value of 0 means no attraction. A recommended range of this
parameter is between [-5,5].
Responsiveness This parameter indicates the percentage of the cells that are attracted.
The rest of the cells follow a classical persistent random walk with no
particular bias in their movement.
Length of the This parameter indicates the length (in frames) of the simulation.
simulation
Results
After setting these parameters, a video simulation is shown. The user can save the video as
usual in ImageJ going to File menu -> Save As -> AVI…
Parameters involved
11