imageProcessing
Image Processing Scripts
Primarily pre- and post-processing of TIF stacks for ClearMap.
Full ClearMap repository found at: https://github.com/ChristophKirst/ClearMap
Email me at alexander.smith@mssm.edu with any questions.
Currently, my analysis pipeline looks like this:
-
Optional - use clearMapStackCropping.py to detect brain edges & crop +/- 50 pixels, which may optimize atlas registration. Alternatively manually crop in ImageJ.
-
clearMapWatershedParameters.py - Set the parameters for cell detection (as described in methods section).
-
clearMapWatershedProcess.py - Performs resampling, alignment to atlas, cell detection, voxelization, and region segmentation.
-
clearMapBatchProcessing.py script runs all steps from the process template other than cell detection (i.e. downsampling, registration, transformation, voxeliation, region counts) en masse for all animals at once. This saves a lot of time.
-
clearMapAnalyzeTemplate.py - Once data is generated for each animal, this script runs the groupwise comparisons.
-
clearMapAdvancedAnalysis.py - Runs clustering & correlational analyses (thank you to Laura DeNardo for providing a script that served as the original backbone of this).