Getting Started
Getting Started with DIPLO
Welcome to DIPLO! This guide will walk you through your first workflow in 5 minutes.
Prerequisites
DIPLO installed (see README.md)
A folder with microscopy images (PNG, JPEG, TIFF, etc.)
Step 1: Load Your Images
Launch DIPLO:
python app.pyClick the “Source” tab at the top
Click “Browse” and select your images folder
You should see your first image in the viewer
Use the Offset slider to navigate through images
Step 2: Create a Workflow
Click the “Workflow” tab
Click “+” button to add your first node
Select “SourceNode” from the menu - This loads images from your Source folder
Step 3: Add Processing Nodes
Let’s build a simple deconvolution + segmentation workflow:
Add a Deconvolution Node:
Click “+” again
Go to “Image Enhancement” → “DeconvolutionNode”
This enhances raw microscopy images
Add a Contour Detection Node:
Click “+” again
Go to “Detection and Classification” → “FindContoursNode”
This detects object boundaries
Step 4: Connect Your Nodes
Connect the nodes together:
Click the white output socket (right side) of SourceNode
Drag to the input socket (left side) of DeconvolutionNode
Click the white output socket of DeconvolutionNode
Drag to the input socket of FindContoursNode
Your workflow should now look like:
SourceNode → DeconvolutionNode → FindContoursNode
Step 5: Run and Inspect Results
Right-click on any node → “Inspect Results”
You’ll see the output of that node: - SourceNode: Original image - DeconvolutionNode: Enhanced image - FindContoursNode: Detected contours
If everything looks good, proceed to Step 6!
Step 6: Add Classification (Optional)
To classify the detected objects:
Click “+” → “Detection and Classification” → “ClassificationNode”
Connect FindContoursNode → ClassificationNode
Right-click ClassificationNode → “Inspect Results”
See classification predictions!
Step 7: Save Your Workflow
Press Ctrl+S (or Cmd+S on Mac)
Give your workflow a name (e.g., “plankton_analysis.json”)
It’s saved in the Workflows/ directory
You can now: - Reload it: Click “Load Workflow” - Share it: Send the JSON file to collaborators - Version control: Add to Git
What’s Next?
Congratulations! You’ve created your first DIPLO workflow. Now explore:
Node Reference: Learn all 20 available nodes (nodes/reference)
Workflow Guides: See advanced examples (usage/workflow_tab)
Source Management: Use the Source tab effectively (usage/source_tab)
Model Information: Understand the pre-trained models
Tips & Tricks
✅ Real-time Processing: Workflows recompute automatically when you change connections
✅ Inspect at Any Point: Right-click any node to see intermediate results
✅ Batch Processing: Source tab can load 100+ images – workflow processes all
✅ Export Results: Results automatically save to the Results/ directory
✅ Parameter Tuning: Double-click a node to adjust parameters (threshold, morphology, etc.)
Troubleshooting
- “Models are downloading”
First run takes 2-3 minutes to download pre-trained models. This happens only once.
- “No output shown”
Make sure nodes are connected properly. Nodes with no input connections produce no output.
- “Processing is slow”
For faster processing, enable GPU acceleration (see README.md).
- “Where are my results?”
Check the Results/ directory. Workflows automatically save outputs there.
- Need more help?
See the Node Reference for details on each node.