Short Description
This is a Small Machine Learning Framework, for Image Segmentation on Medical Images.
It's build to be modular so that different parts can possibly be applied in neighboring domains.
So far we have tested these procedures on preprocessed* EM images of:
*The images were first preprocessed to 3 separate classes,
using a clustering tool (BayesNet or KMeans)
- Download miniconda from conda
- Inside a terminal, at root execute
conda env create -f setup/dnn_experiment.yml
- This can be done independently on Linux or other OS, using the yaml environment file, which contains all needed package info...
ImageJ is an open-source scientific Image Processing Application, with Java Libraries.
- Download ImageJ in Fiji Form Fiji
- You can use this module to view images and edit them,
- And use it for some parts of the pipeline below...
All the main processing can be viewed using python notebooks: (also found in the notebooks folder locally)
- Sampling Training Instances
- Making a LMDB Instance Base
- Operating a DNN Instance
- Operating an AEN Instance
- Operating a CRBM Instance
- Visualising Neural Networks
All the code processing is mainly executed using workspaces:
data_prep/sample/sample_set_workspace.py
data_prep/base/production_script.py
net/dnn_workspace.py
net/autoenc_workspace.py
net/run_crbm.pynet/utils/_vis_best_maps.py
by changing values in the workspace files, which then execute separately.
There is a separate code which saves the configuration scripts, for experiment tracking.
The main processing pipeline blocks are described thouroughly in Neuron Fiber Segmentation.
For any questions, or issues you can email the developer at Kristijan Petrovski.
The ray measuring tool is used to measure the fiber isolation band around a ROI border.
It is build from 4 different processing steps:
raym/run_ray_meas.py
raym/calc_matches.py
raym/find_postc_params.py
raym/draw_gratio.py
Also we provide an imagej plugin which automates all the processing, using a single text configuration file.
It's located at raym/RayMeasuringPlugin.