SlicerRt/SlicerRT

Is Registration necessary to run ExternalBeamPlanning?

Closed this issue · 4 comments

I've written about this issue previously, but had a follow up question (Issue #95). For some reason, I get an Internal error when trying to run Plastomatch Proton Dose Engine if I do not run a General Registration of the Dicom image set with itself. Did you experience this issue? Here are photos for reference.
image_registration

Is the internal error the same as in the issue you referenced?

The error suggests that the image scalar type (double) is not supported by Plastimatch. Your registration workaround works because the output image will be of a different scalar type.
You can do the same cast in the module that exists for this purpose: Cast Scalar Volume. What you need to do is select Short as output type and click Apply. It's more deterministic and faster too.

I'll let @gregsharp react to the original error message and the inability to handle double volumes.

Thank you for a quick response! It worked like a charm, thank you again.

Thank you Marco for the report. This should now be fixed. -Greg

As the cause of the issue is fixed as well, I'm closing the ticket.