You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use rigid OnlineMatch as a starting point for deformable registration. But I don't want to change OnlineMatch registration itself which would be done if I load it and then run deformable registration. How can I copy this registration?
My current code:
# select online match registration:
for r in primaryVolume.getLinkedRegistrations():
if r.getTargetVolume().getVelocityId() == cbctId and 'ONLINEMATCH' in r.getName():
# registrationId = r.getVelocityId()
cbctRegistration = engine.loadRegistration(r.getVelocityId())
print('\t\tLoading pCT-CBCT ONLINEMATCH.', engine.getErrorMessage())
# perform deformable registration:
deformableRegistrationSettings = velocity.DefaultBSplineDeformableRegistrationSettings()
# PreprocessingFilterMethod: CBCTCorrectionSecondary = 4
deformableRegistrationSettings.preprocessingMethod = 4
# Deformable registration Type:
deformableRegistrationSettings.type = velocity.DeformableMultiPass
regOps.performBsplineRegistrationDICOM(deformableRegistrationSettings)
regOps.saveRegistration()
The text was updated successfully, but these errors were encountered:
Thanks a lot @jakecobb
Is there a way to get a list of loaded objects? Just to make sure that in a long code I'm not copying registration only when I intend to do so?
I would like to use rigid OnlineMatch as a starting point for deformable registration. But I don't want to change OnlineMatch registration itself which would be done if I load it and then run deformable registration. How can I copy this registration?
My current code:
The text was updated successfully, but these errors were encountered: