Skip to content

Import sofima's non-rigid deformation fields - #252

Merged
trautmane merged 26 commits into
newsolverfrom
non-rigid-precomputed
Sep 12, 2026
Merged

Import sofima's non-rigid deformation fields#252
trautmane merged 26 commits into
newsolverfrom
non-rigid-precomputed

Conversation

@minnerbe

Copy link
Copy Markdown
Collaborator

This PR adds some functionality to import non-rigid deformation fields into render:

  • DisplacementFieldTransform.java loads a deformation field base on a url?key=value&... string. Currently, this is very tailored to ng-precomputed datasets on google cloud. A two-level cache (a static map holding one CachedCellImg per url?key=value&... string) is used to minimize communication and data transfer.
  • QueryKeyValueParameters.java was added to parse the key-value parameters of the deformation field string; N5SliceLoader.java was modified to use that as well.
  • ImportSofimaClient.java is used to add the non-rigid transforms to an existing stack.

@trautmane Functionality-wise, this is done and tested. To be used in our current multi-sem workflow, you'll likely need to tweak ImportSofimaClient a little bit; in particular regarding parallelization. Let me know if and how I can help with that.

minnerbe and others added 26 commits July 15, 2026 11:18
Displacement field needs to open N5/zarr datasets, possibly on a cloud
# Conflicts:
#	pom.xml
#	render-app/pom.xml
@minnerbe
minnerbe requested a review from trautmane September 12, 2026 16:50
@trautmane
trautmane merged commit 1455bdb into newsolver Sep 12, 2026
2 checks passed
@trautmane
trautmane deleted the non-rigid-precomputed branch September 12, 2026 19:11
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.

3 participants