Peter Sobolewski (he/him)
Systems Analyst, Imaging Applications
Research IT
https://cellprofiler.org/home
CellProfiler is an open-source image analysis program
Key feature:
CellProfiler has a graphical user interface (GUI
) for assembling image processing and analysis workflows (called pipelines
) using a sequence of modular analysis modules
pipelines
: https://cellprofiler.org/published-pipelinesIt was designed for batch image analysis using reproducible workflows—without scripting
It includes advanced algorithms for image (pre)processing, segmentation, etc. as modular modules
It includes in-app documentation for module
parameters plus extensive help menu
End-to-end workflows: images go in, data tables go out
project
that has an associated image file list of locations and an associated pipeline
modules
to implement your analysis—these form a pipeline
.csv
) or a MySQL databaseprojects
& pipelines
projects
contain a list of the locations of your image files plus an associated CellProfiler analysis pipeline
projects
will also contain some cached computed resultspipelines
can be exported, but do not contain image locations—this is ideal for sharing or reuseing workflowspipeline
Input
modulesImage Processing
modules to facillitate segmentationObject Processing
modules to segment the image (identify objects) and manipulate objectsMeasurement
modules to get quantified information you’re interested inData Tools
and File Processing
to export data or imagesNamesAndTypes
) and that they and intermediate step outputs have meaningful namesTest
mode to see the outputs of individual modulues
(pipeline
steps) one-at-a-time
pipeline
or just individual modules
Online manual: https://cellprofiler.org/manuals
Extensive tutorials: https://tutorials.cellprofiler.org/
Extensive examples: https://cellprofiler.org/examples
Image.sc forum: https://forum.image.sc/tag/cellprofiler
.zip file
.cppipe
files, which define the CellProfiler pipelines
segmentation_start.cppipe
is our starting point, it handles the initial image importing and set up.Tip
The segmentation_final.cppipe
is the final pipeline, which you can use to see the completed analysis pipeline!
images_Illum-corrected
folder onto the central image list paneApply filters to the file list
to filter out non-imagesTip
Double-click an image in the list to open and view it
This tutorial will introduce you to Input Modules in CellProfiler: Images
, Metadata
, NamesAndTypes
, and Groups
. These modules are crucial for loading and organizing your input data so CellProfiler manages it properly in the analysis pipeline.
Important
Setting up Input Modules properly is crucial to being able to analyze your data!
Images
module: set where your images are located, apply filters to include/exclude certain filesMetadata
module [optional]: extract and associate metadata with your images, e.g. well plate layout, treatment, time pointsNamesAndTypes
module: give each image a meaningful name by which modules in the analysis pipeline will refer to itGroups
module [optional]: group images together to be analyzed independently, typically by field-of-view, e.g. z-stack, time course.zip file
.Tip
Each example has .cppipe
file, which has the “solution”
regex
tipsPCRE
flavors selected.test string
box(?P<Name>[what]{how many})
Name
is what you will refer to in the Metadata
modulewhat
can be digits, e.g. 0-9, or capital letters, e.g. A-Z, etc.how many
is an integer, e.g. 1, 2, 3, etc.regex
tips.
is a wildcard for any character*
is a quantifier for 0 or more consecutive of the preceding character/token, e.g.: [A-Z]*
to match any number of capital letters^
is an anchor for the start of the string$
is an anchor for the end of the string–don’t forget about extensions!\
is an escape character, e.g. \.
to match a period, rather than any characterImaging Applications, Research IT