Page MenuHomePhabricator

Loaded MatchPoint field based registration object cannot be saved again
Closed, ResolvedPublic

Description

If a registration object that containes a vectorfield as a kernel is loaded (from scene file or directly), it cannot be saved again (in a scene or directly).

Error log reason is that no suitable writer was found for the inverse kernel. I assume the reason is that the lazy kernel is not proberly detected/handeld. Should be no problem. Check why no writer feels responsible in this situation.

Revisions and Commits

Event Timeline

The reason is that we have no explizit LazyKernel writer that can take care.
The ExpandingFieldKernel could take care of, but MITK (for good reason -> saving a registration with field inversion would take unnecessary long) does not allow expanding, so the ExpandingFieldKernel is out.

The sound and pragmatic solution would be to implement at least a LazyFieldbyFileKernelWriter that can handle LazyKernels that have a file generator. Writers for other generators of LazyFieldKernels could be added later.

floca raised the priority of this task from Normal to High.Mar 30 2018, 10:12 AM