Skip to content

volOps.createResampledPrimaryVolume : 'Unsupported operation' #28

Description

@mfizyczka

I'm loading CT as primaryVolume and CBCT as secondaryVolume. Then I do registrations:

cbctRegistration = regOps.createNewRegistration('cbctRegistration')
rigidRegistrationSettings = velocity.DefaultRigidRegistrationSettings()
# PreprocessingFilterMethod: CBCTCorrectionSecondary = 4
rigidRegistrationSettings.preprocessingMethod = 4
regOps.performRigidRegistrationDICOM(rigidRegistrationSettings)
regOps.saveRegistration()

deformableRegistrationSettings = velocity.DefaultBSplineDeformableRegistrationSettings()
# PreprocessingFilterMethod: CBCTCorrectionSecondary = 4
deformableRegistrationSettings.preprocessingMethod = 4
# Deformable registration Type:
deformableRegistrationSettings.type = velocity.DeformableMultiPass
regOps.performBsplineRegistrationDICOM(deformableRegistrationSettings)
regOps.saveRegistration()

With that registration I'm trying to resample CT (primary volume) to CBCT FOR:
vCtVolumeId = volOps.createResampledPrimaryVolume(0, 'vCT')
volOps.getErrorMessage() returns 'Unsupported operation' why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions