Skip to content

Feature enhancements: thresholding, train/prediction, 3d volume - #37

Draft
davramov wants to merge 38 commits into
mainfrom
dabramov-fixes
Draft

davramov wants to merge 38 commits into
mainfrom
dabramov-fixes

Conversation

@davramov

Copy link
Copy Markdown
Collaborator

Summary of what is in this PR:

  • 3D volume viewer + Zarr/TIFF support: integrated the vendored WebGPU renderer, TIFF-stack loading alongside Zarr, higher-resolution mask labels in 3D, viewing predicted regions directly in the volume.
  • Threshold tooling: added a blur control, an auto-threshold "eyedropper" magnetic-lasso tool, and a fix for clipping on threshold-painted slices (plus general Annotate-tab speedups).
  • Denoising: Alex's classical + learned denoising work added to the Annotate tab.
    dlsia deep training (new Train tab): the full training/inference pipeline ("Alex's deep training," end-to-end tested), cross-slice iPred support, a "Deep" mask layer independent of iPred's "Fast" layer, live per-slice preview during inference, a fix for iPred/dlsia writes clobbering each other in Tiled, and splitting "Push to Tiled" from "View in 3D" into independent actions.
  • iPred (fast in-browser classifier) integration: full feature-bank/manifold-sampling/prediction pipeline, plus UI polish (collapsible panels, denoising-matched styling).
  • Docker/CI: updated Docker images and start_all.sh hardening.
  • Test coverage: backend 46%→92%, frontend RTL introduced and driven 19%→74%.
  • Bug-fix chain: the mask cache-key collision, the missing "Write masks to Tiled" button, a numpy IndexError crash, a false-timeout on mask loading, and Peter's bucket-fill class-boundary fix — plus MkDocs documentation updates.

Next steps:

  • Working on deployment hardening

…so. This lets you select a region, and it will automatically find the best threshold settings
…xpand, matching denoising style to the rest of the UI
…nel: Push to Tiled stays on the Annotate tab and shows a Pushed to Tiled. confirmation inline; View in 3D navigates independently and no longer forces a push first. You can now push, stay put, keep annotating, and jump to 3D (or back) whenever you actually want to.
…p. Renamed mounted source directory (/data/raw -> /data/processed). Raise nginx upload size limit. Reorder Dockerfile layers so frontend-only changes don't force a heavy backend rebuild
Comment thread .github/workflows/ci.yml Fixed
Comment thread ipred/src/ipred/api.py Fixed
Comment thread ipred/src/ipred/api.py Fixed
Comment thread backend/annotation_server.py Fixed
Comment thread ipred/src/ipred/preprocess.py Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants