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 wonder what are default registration parameters used in Velocity Application? Are they different from those given as default parameters in API manual? How can I check values of parameters used to create registration in Velocity Application?
I tried creating the same registrations in Application and with API and I get different results (while comparing propagated structures).
I also see surprising behavior while using ApplyBoundaryContinuityConstraint.
In Velocity Application if I use whole ROI (so overlap region), I get exactly the same result with and without this constraint.
However results obtained in API are different (I'm changing only this parameter) from each other and from those obtain in Velocity Application.
The text was updated successfully, but these errors were encountered:
I used two different methods to obtain default settings (see code below), they give different results. And the result is also different from just using "Deformable Multi Pass" in GUI.
# DEFAULT REGISTRATION SETTINGS
deformableDefaultRegistrationSettings = velocity.DefaultBSplineDeformableRegistrationSettings()
# create registration and perform registration:
registrationName = 'apiDefRSettings'
registration = regOps.createNewRegistration(registrationName)
orThrow(registration, regOps)
orThrow(engine.loadRegistration(registration.getVelocityId()))
orThrow(regOps.performBsplineRegistrationDICOM(deformableDefaultRegistrationSettings), regOps)
registration = regOps.saveRegistration()
orThrow(registration, regOps)
# create a new structure set on the primary volume:
targetSetName = registrationName
targetSet = strOps.createStructureSet(targetSetName, True)
orThrow(targetSet, strOps)
# propagate structures:
orThrow(strOps.copyStructuresToPrimary([ctv5425.getVelocityId(), ctv7000.getVelocityId()], targetSet.getVelocityId()), strOps)
# save set:
orThrow(strOps.saveStructureSet(targetSet.getVelocityId()), strOps)
# DEFINE (MP) DEFORMABLE REGISTRATION SETTINGS
deformableRegistrationSettings = velocity.BSplineDeformableRegistrationSettingsStructure()
orThrow(regOps.performBsplineRegistrationDICOM(deformableRegistrationSettings), regOps)
registration = regOps.saveRegistration()
orThrow(registration, regOps)
# create a new structure set on the primary volume:
targetSetName = registrationName
targetSet = strOps.createStructureSet(targetSetName, True)
orThrow(targetSet, strOps)
# propagate structures:
orThrow(strOps.copyStructuresToPrimary([ctv5425.getVelocityId(), ctv7000.getVelocityId()], targetSet.getVelocityId()), strOps)
# save set:
orThrow(strOps.saveStructureSet(targetSet.getVelocityId()), strOps)
I wonder what are default registration parameters used in Velocity Application? Are they different from those given as default parameters in API manual? How can I check values of parameters used to create registration in Velocity Application?
I tried creating the same registrations in Application and with API and I get different results (while comparing propagated structures).
I also see surprising behavior while using ApplyBoundaryContinuityConstraint.
In Velocity Application if I use whole ROI (so overlap region), I get exactly the same result with and without this constraint.
However results obtained in API are different (I'm changing only this parameter) from each other and from those obtain in Velocity Application.
The text was updated successfully, but these errors were encountered: