DeepNeuronSeg is a full-stack, end-to-end machine learning pipeline designed for neuroimaging data analysis. This robust framework streamlines the entire workflow, from data preprocessing and augmentation to advanced neural network-based denoising and segmentation. With a focus on performance and ease of use, DeepNeuronSeg empowers researchers to efficiently analyze complex neuroimaging datasets and derive meaningful insights with minimal overhead and lightning fast speeds.
conda env create -f DeepNeuronSeg.yaml
to download DeepNeuronSegconda activate DEEPNEURONSEG
python -m DeepNeuronSeg
python -m DeepNeuronSeg
conda activate DEEPNEURONSEG
and launch with python -m DeepNeuronSeg
mkdir test_folder
cd test_folder
Git clone https://github.com/josh-segal/DeepNeuronSeg.git
cd DeepNeuronSeg
python -m venv venv
venv/Scripts/activate
(Windows) or source venv/bin/activate
(MacOS)pip install -r requirements.txt
python -m DeepNeuronSeg
python -m DeepNeuronSeg
Upload images by selecting png files from file explorer
Upload labels in png (binary mask), csv, txt, XML (last 3 from imageJ cell counter download coordinates)
Option to input project ID, cohort, brain region, image ID
scroll through images to confirm or select through file selector
Display data to load uploaded data
Click on cells in image to set label
Right click to remove cells
Next Image to navigate over data
Generate Labels to pass images and labels to label generator
Next image to scroll through data
Display Labels to display on startup
Train Split to set amount of data to train on, remainder to validate on
Dataset Name to set name of dataset
File selector to select which files you want to include in your dataset
Choose base model to train on
Choose dataset to train with
Set Epochs, batch size for training
Choose trained model name
Choose to train custom denoise model, use default denoise model, or no denoise model
Use default dataset augmentation, no dataset augmentation, or custom dataset augmentation
Choose trained model to evaluate
Choose dataset to evaluate
Calculates average and variability metrics for chosen dataset with chosen model
Optionally display graph of number of detections and confidence of images in dataset
Download data to download a CSV of images to raw metrics
Pass through new data to the model and retrieve resultant average and variability metrics
Compares to base dataset and computes a overall variance score to determine if data is outlier
Option to display graph with new data inserted
Option to save inferences as images with predictions marked
Displays data with outlier score above set outlier threshold, user can change threshold manually
User can validate data or relabel data
relabel data inserts image and labels into data, user can add to dataset and retrain
User can choose from any of trained models and inference images
Displays inferences for user to inspect
User can save inferences to computer