-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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()
Metadata
Metadata
Assignees
Labels
No labels