3D Object Analysis (MCIB3D) - User Manual
Dragonfly Prototype Apps · 3D Object Analysis (MCIB3D)...
Version 1.0 · 2026-07-09
English Manual
Contents
1. Overview
2. Use Cases
3. Installation and Enabling
4. Environment and First-Run Setup
5. Interface Reference
6. Step-by-Step Usage
7. Parameter Reference
8. Outputs
9. FAQ and Troubleshooting
10. Notes and Known Limitations
11. References
1. Overview
3D Object Analysis (MCIB3D) is a Dragonfly Prototype Apps plugin. It lets you pick a Dragonfly Channel or binary MultiROI, export it as a Fiji-readable TIFF, then run the 3D ImageJ Suite (MCIB3D) inside your locally-installed Fiji/ImageJ to perform true-3D object segmentation, per-object 3D shape measurements, and 3D spatial-distribution statistics. The resulting 3D label image is imported back into Dragonfly as a MultiROI, and a per-object measurements table is shown in the panel (savable as CSV).
Unlike slice-by-slice processing, MCIB3D works directly on the whole volume with 3D connectivity and 3D watershed, so it correctly handles objects that span slices and reports each object's true 3D volume, surface area and shape descriptors.
Underlying engine and algorithms
- Engine: the 3D ImageJ Suite (commonly abbreviated MCIB3D), provided as a Fiji update site named
mcib3dathttps://sites.imagej.net/mcib3d/. - 3D segmentation methods: 3D Simple Segmentation (threshold + 3D connected labelling), 3D Watershed (splits touching objects), 3D Spot Segmentation (tuned for bright blobs/spots).
- 3D geometrical measure: per-object 3D descriptors (volume, surface area, compactness, elongation) via the 3D Manager Measure3D command.
- 3D spatial statistics: inter-object spatial distribution such as nearest-neighbour distances via the 3D Manager distance analysis.
Licensing
The 3D ImageJ Suite (MCIB3D) is licensed GPL-3.0-or-later. This plugin drives it only as a separate, headless Fiji JVM subprocess, exchanging data through TIFF and CSV files, and never imports MCIB3D or Fiji code into the Dragonfly process. That subprocess boundary is the GPL isolation boundary. The plugin bundles no Fiji or MCIB3D code; you install Fiji yourself.
2. Use Cases
This plugin targets users who need true-3D object segmentation, per-object 3D morphometry, and spatial-distribution analysis on volumetric data. Typical scenarios:
- Split touching/connected 3D objects (pores, grains, bubbles, cells) and report each object's volume and shape.
- Compute per-object 3D shape descriptors (volume, surface area, compactness, elongation) for morphometric statistics and classification.
- Analyse spatial distribution, e.g. each object's distance to its nearest neighbour, to assess dispersion or clustering.
- Combine Dragonfly's visualization with the mature 3D object-analysis algorithms of MCIB3D in materials science (CT pores/grains/bubbles) and life sciences (cells, nuclei, spots).
The plugin only processes an existing Dragonfly Channel or binary MultiROI; it does not create the source object for you. Prepare the image Channel or binary segmentation in Dragonfly first.
3. Installation and Enabling
1. Download the Prototype Apps online package from ImageFly and extract it. Close Dragonfly, run install_prototype_apps.exe and select the Dragonfly version to install into.
2. Start Dragonfly, open Prototype Apps ▸ App Store and search for 3D Object Analysis (MCIB3D). If an Enable button is shown, click it and follow the sign-in, download or installation prompts.
3. Restart Dragonfly when prompted, then open 3D Object Analysis (MCIB3D) from the Prototype Apps menu. Return to App Store to enable or disable it later.
To uninstall all Prototype Apps, close Dragonfly and run uninstall_prototype_apps.exe from the online package.
4. Environment and First-Run Setup
This plugin creates no Python virtual environment (venv), uses no GPU, and needs no WSL. Its only external dependency is a locally-installed Fiji/ImageJ with the 3D ImageJ Suite (MCIB3D) update site enabled.
Step 1: Have Fiji installed
If you do not yet have Fiji, download and unzip it from the Fiji website (fiji.sc). The plugin auto-searches common locations (e.g. Fiji.app, Fiji, ImageJ folders); recognised launcher names include ImageJ-win64.exe, fiji-windows-x64.exe, fiji.exe, ImageJ-win32.exe, and ImageJ.exe.
Step 2: Point the panel at the Fiji launcher
In the "Fiji / 3D ImageJ Suite (MCIB3D)" group of the panel:
- Click Locate to auto-detect Fiji; if found, the path is filled into the Launcher field and the status line reports whether MCIB3D was detected.
- If auto-detection fails, click Browse... to select the Fiji launcher (e.g.
ImageJ-win64.exeorfiji-windows-x64.exe). - You may also pre-set the launcher path via the
DF_FIJI_PATHenvironment variable.
If you select a Jaunch launcher (e.g. fiji-windows-x64.exe), the plugin prefers the classic ImageJ-win64.exe launcher in the same folder because its headless -batch behaviour is the most reliable.
Step 3: Check / install MCIB3D (needs internet)
Click "Check / Install 3D ImageJ Suite (MCIB3D)". The plugin scans the selected Fiji install's plugins, jars (and related) folders for jar files whose names contain mcib3d and similar tokens:
- Detected: a dialog reports the MCIB3D path and the status line shows "MCIB3D detected".
- Not detected: a confirmation dialog asks whether to enable the
mcib3dupdate site now. On Yes, the plugin runs Fiji's updater commands headlessly to add themcib3dupdate site (https://sites.imagej.net/mcib3d/) and apply updates.
Installing/updating MCIB3D needs internet and may take a few minutes. After it finishes you usually must restart Fiji/Dragonfly for the new commands to load. If the file scan still does not find MCIB3D after install, restart and try again, or enable it manually in Fiji via Help ▸ Update ▸ Manage update sites ▸ 3D ImageJ Suite. Normal processing (not install) needs no internet.
Setting JVM memory (Max heap)
Max heap sets the memory given to the Fiji JVM subprocess; the default is 4096 MB. For large volumes, set it high enough to match your machine's available RAM, or Fiji may fail out of memory. 0 passes no --mem flag and uses Fiji's default.
Panel settings (Fiji path, Max heap, MultiROI suffix) are saved in mcib3d_config.json in the plugin's code folder and restored next time you open the panel.
5. Interface Reference
The panel is laid out top-to-bottom as follows.
Intro
A short description stating that the plugin runs true-3D segmentation, per-object 3D shape descriptors, and 3D spatial statistics on a Dragonfly Channel or binary MultiROI with the 3D ImageJ Suite in Fiji, and imports a 3D label MultiROI plus a measurements table.
Input (Channel or binary MultiROI)
- Dropdown: lists the Channels and MultiROIs available in the current Dragonfly scene; each item is tagged with its type (
[Channel ...]/[MultiROI ...]) and shape (Z×Y×X). Currently-selected objects are listed first. - Refresh: rescans and refreshes the input list.
MCIB3D operation
- Operation dropdown: three operations —
3D Segmentation -> labels,3D Geometrical Measure, and3D Spatial Statistics. - Dynamic parameter area: shows the parameter widgets for the selected operation (see Chapter 7); a grey description line updates as you switch operations.
Fiji / 3D ImageJ Suite (MCIB3D)
- Launcher field + Locate + Browse...: the Fiji/ImageJ launcher path; Locate auto-detects, Browse selects manually.
- Max heap spinbox: the Fiji JVM maximum memory in MB, default
4096, step 512, range 0–262144. - Check / Install 3D ImageJ Suite (MCIB3D) button: detects whether MCIB3D is present in the selected Fiji and, if not, offers to enable the update site.
Output
MultiROI suffix field: the output naming suffix, default MCIB3D. The final MultiROI name is <input title> - <suffix>.
Run button and results area
- Run MCIB3D + Create MultiROI (blue button): runs the full workflow.
- Measurements table: for measure / spatial-statistics operations, shows the per-object/per-pair results after a run (hidden by default; shown when results exist).
- Save measurements as CSV... button: exports the table to a CSV file (shown when results exist).
- Status line + log: the status line shows a one-line progress/result; the read-only log below shows detailed progress, Fiji output, the temporary job folder path, and any errors.
6. Step-by-Step Usage
Here is the complete end-to-end flow from input to output.
1. In Dragonfly, prepare the Channel or binary MultiROI to analyse.
2. Open the panel: Prototype Apps ▸ 3D Object Analysis (MCIB3D)....
3. In the Input dropdown, select the input object (click Refresh if it is not listed).
4. In MCIB3D operation, choose the operation and set threshold, min/max size, and connectivity below (see Chapter 7).
5. In the Fiji group, confirm Launcher points at a valid Fiji launcher (use Locate/Browse if needed) and adjust Max heap as required.
6. On first use, click Check / Install 3D ImageJ Suite (MCIB3D) to confirm MCIB3D is installed (install and restart if prompted).
7. In Output, set the MultiROI suffix (the default MCIB3D is fine).
8. Click Run MCIB3D + Create MultiROI. The plugin exports the input to an ImageJ TIFF, runs the Fiji macro headlessly, imports the 3D label TIFF back into Dragonfly as a MultiROI, and shows a measurements table (if the operation produces one).
9. Check the log for "Created MultiROI ... with N label(s)" and the job folder path; if a table is present, click Save measurements as CSV... to export it.
Input requirements and outputs per operation
- 3D Segmentation -> labels: input is typically a Channel (intensities kept for thresholding); the chosen method (simple / watershed / spot) produces a 3D label image → MultiROI.
- 3D Geometrical Measure: input is a Channel or binary MultiROI; it is 3D-simple-segmented first, then per-object volume, surface area, compactness and elongation are computed → MultiROI + per-object table.
- 3D Spatial Statistics: input is a Channel or binary MultiROI; it is labelled first, then inter-object nearest-neighbour distances and related statistics are computed → MultiROI + nearest-neighbour table.
A binary MultiROI is exported as a 0/255 mask; a Channel keeps its intensities (float data is scaled to the 16-bit range) so the threshold parameters remain meaningful.
7. Parameter Reference
Parameters for 3D Segmentation -> labels:
Parameter | Default | Description |
Method | 3D Simple Segmentation | 3D segmentation method: 3D Simple Segmentation (threshold + connected labelling) / 3D Watershed (splits touching objects) / 3D Spot Segmentation (bright-blob segmentation). |
Threshold (low) | 128 | Low threshold for segmentation; voxels above it are foreground (the upper threshold is fixed at 65535). |
Min size (voxels) | 10 | Minimum voxel count to keep an object; smaller objects are removed. |
Max size (voxels) | 0 | Maximum voxel count to keep an object; 0 means no upper limit. |
Connectivity | 26 | 3D connectivity: 6 (face-adjacent) or 26 (face/edge/corner-adjacent). |
Parameters for 3D Geometrical Measure and 3D Spatial Statistics (identical):
Parameter | Default | Description |
Threshold (low) | 128 | Low threshold used for the 3D simple segmentation done before labelling. |
Min size (voxels) | 10 | Minimum voxel count to keep an object. |
Max size (voxels) | 0 | Maximum voxel count to keep an object; 0 means no upper limit. |
Connectivity | 26 | 3D connectivity: 6 or 26. |
Fiji / output settings:
Setting | Default | Description |
Launcher | (auto-detected) | The Fiji/ImageJ launcher path; set via Locate/Browse or the |
Max heap | 4096 MB | Maximum memory given to the Fiji JVM; raise it for large volumes; 0 uses Fiji's default. |
MultiROI suffix | MCIB3D | Output MultiROI naming suffix; the name is |
8. Outputs
After a run, the plugin produces the following in Dragonfly:
- MultiROI (3D labels): converted from the Fiji 3D label TIFF, with labels renumbered 1..N and geometry (voxel spacing, origin) restored from the source object where possible. The MultiROI is assigned default colours and published to the scene, visible in the Dragonfly object tree and in the 2D/3D views.
- Per-object measurements table (measure / spatial-statistics operations only): shown as a table in the panel. 3D geometrical measure reports each object's volume, surface area, compactness, elongation, etc.; 3D spatial statistics reports each object's nearest-neighbour distance, etc. Click Save measurements as CSV... to export it.
Intermediate files (input TIFF, label TIFF, results CSV, macro file) are written to a job folder under the OS temp directory (the log prints the path, of the form mcib3d_*). On failure, these temp paths are kept in the error text so you can inspect the Fiji output manually.
The imported MultiROI supports at most 65535 labels (uint16). If segmentation yields more objects than that, the import fails — reduce the object count by raising the threshold or increasing the minimum size.
9. FAQ and Troubleshooting
Q: I can't find "3D Object Analysis (MCIB3D)..." in the menu.
A: Confirm that 3D Object Analysis (MCIB3D) is enabled in Prototype Apps ▸ App Store, then restart Dragonfly.
Q: It says Fiji was not found / the launcher is not set.
A: Install Fiji first; then click Locate to auto-detect, or Browse... to select ImageJ-win64.exe / fiji-windows-x64.exe; you can also set the DF_FIJI_PATH environment variable.
Q: MCIB3D is still not detected after installing, or a command is reported as unavailable at run time.
A: After the mcib3d update site is installed you usually must restart Fiji/Dragonfly to load the new jars. If it is still not detected, enable the update site manually in Fiji via Help ▸ Update ▸ Manage update sites ▸ 3D ImageJ Suite, apply updates and restart. MCIB3D command names/options can differ between Fiji builds; if a command is unavailable, check the Fiji output in the log.
Q: Runs are slow or fail out of memory.
A: 3D data is processed in an external Fiji process; large volumes take time and need enough JVM heap. Raise Max heap to match your machine's available RAM; if needed, crop the data first or raise the minimum-size threshold to reduce the object count.
Q: The run succeeded but no MultiROI was created or the table is empty.
A: This usually means the threshold/size parameters left no foreground objects. Lower Threshold (low) or Min size, and confirm the input object actually contains the target structures. The log prints the job folder path so you can inspect the Fiji intermediate files.
10. Notes and Known Limitations
- The plugin only processes an existing Dragonfly Channel or binary MultiROI; it does not create the source object for you.
- Fiji/MCIB3D operations run as an external process, so large volumes can be slow and need enough JVM heap.
- The output MultiROI's geometry is restored from the source object where possible; the number of imported labels is bounded by the uint16 limit (65535).
- MCIB3D command names and options can vary between Fiji builds; the plugin uses standard command names from current 3D ImageJ Suite installs and reports Fiji stdout/stderr in the log when a command is unavailable.
- MCIB3D is GPL-3.0-or-later, driven only as a separate headless Fiji JVM subprocess and never imported into Dragonfly; the plugin bundles no Fiji/MCIB3D code — you install Fiji yourself.
- Installing/updating MCIB3D needs internet; normal processing needs no internet, GPU or WSL, and creates no Python virtual environment.
11. References
- Fiji (the ImageJ distribution):
https://fiji.sc/ - 3D ImageJ Suite (MCIB3D) Fiji update site:
https://sites.imagej.net/mcib3d/ - 3D ImageJ Suite documentation (mcib3d): available on its project page and in the 3D Manager help within Fiji.
- License: the 3D ImageJ Suite (MCIB3D) is GPL-3.0-or-later.