Issue with Volume Cropping

Hello everyone,

I am encountering an issue with the volume cropping functionality in 3D Slicer and would greatly appreciate any assistance or guidance you could provide.

When attempting to perform a volume crop Volume module, I am encountering errors that prevent the operation from completing successfully.
I followed these steps for volume cropping:

  1. Select image
  2. Create a ROI for cropping
  3. Create a new volume as output.
    But, when I click “apply”, the selected image is not cropped.

Specifically, I am receiving these errors on Error Log:

  1. “Could not create an instance of “InverseDisplacementFieldTransform_double_3_3”
    The usual cause of this error is not registering the transform with TransformFactory
    Currently registered Transforms:
    “AffineTransform_double_2_2”
    “AffineTransform_double_3_3”
    “AffineTransform_double_4_4”
    “AffineTransform_float_2_2”
    “AffineTransform_float_3_3”
    “AffineTransform_float_4_4”
    “AzimuthElevationToCartesianTransform_double_3_3”
    “AzimuthElevationToCartesianTransform_float_3_3”
    “BSplineDeformableTransform_double_2_2”
    “BSplineDeformableTransform_double_3_3”
    “BSplineDeformableTransform_float_2_2”
    “BSplineDeformableTransform_float_3_3”
    “BSplineSmoothingOnUpdateDisplacementFieldTransform_double_2_2”
    “BSplineSmoothingOnUpdateDisplacementFieldTransform_double_3_3”
    “BSplineSmoothingOnUpdateDisplacementFieldTransform_float_2_2”
    “BSplineSmoothingOnUpdateDisplacementFieldTransform_float_3_3”
    “BSplineTransform_double_2_2”
    “BSplineTransform_double_3_3”
    “BSplineTransform_float_2_2”
    “BSplineTransform_float_3_3”
    “CenteredAffineTransform_double_2_2”
    “CenteredAffineTransform_double_3_3”
    “CenteredAffineTransform_float_2_2”
    “CenteredAffineTransform_float_3_3”
    “CenteredEuler3DTransform_double_3_3”
    “CenteredEuler3DTransform_float_3_3”
    “CenteredRigid2DTransform_double_2_2”
    “CenteredRigid2DTransform_float_2_2”
    “CenteredSimilarity2DTransform_double_2_2”
    “CenteredSimilarity2DTransform_float_2_2”
    “ComposeScaleSkewVersor3DTransform_double_3_3”
    “ComposeScaleSkewVersor3DTransform_float_3_3”
    “CompositeTransform_double_2_2”
    “CompositeTransform_double_3_3”
    “CompositeTransform_double_4_4”
    “CompositeTransform_float_2_2”
    “CompositeTransform_float_3_3”
    “CompositeTransform_float_4_4”
    “ConstantVelocityFieldTransform_double_2_2”
    “ConstantVelocityFieldTransform_double_3_3”
    “ConstantVelocityFieldTransform_float_2_2”
    “ConstantVelocityFieldTransform_float_3_3”
    “DisplacementFieldTransform_double_2_2”
    “DisplacementFieldTransform_double_3_3”
    “DisplacementFieldTransform_float_2_2”
    “DisplacementFieldTransform_float_3_3”
    “Euler2DTransform_double_2_2”
    “Euler2DTransform_float_2_2”
    “Euler3DTransform_double_3_3”
    “Euler3DTransform_float_3_3”
    “FixedCenterOfRotationAffineTransform_double_3_3”
    “FixedCenterOfRotationAffineTransform_float_3_3”
    “GaussianExponentialDiffeomorphicTransform_double_2_2”
    “GaussianExponentialDiffeomorphicTransform_double_3_3”
    “GaussianExponentialDiffeomorphicTransform_float_2_2”
    “GaussianExponentialDiffeomorphicTransform_float_3_3”
    “GaussianSmoothingOnUpdateDisplacementFieldTransform_double_2_2”
    “GaussianSmoothingOnUpdateDisplacementFieldTransform_double_3_3”
    “GaussianSmoothingOnUpdateDisplacementFieldTransform_float_2_2”
    “GaussianSmoothingOnUpdateDisplacementFieldTransform_float_3_3”
    “GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_double_2_2”
    “GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_double_3_3”
    “GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_float_2_2”
    “GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform_float_3_3”
    “IdentityTransform_double_2_2”
    “IdentityTransform_double_3_3”
    “IdentityTransform_double_4_4”
    “IdentityTransform_float_2_2”
    “IdentityTransform_float_3_3”
    “IdentityTransform_float_4_4”
    “QuaternionRigidTransform_double_3_3”
    “QuaternionRigidTransform_float_3_3”
    “Rigid2DTransform_double_2_2”
    “Rigid2DTransform_float_2_2”
    “Rigid3DPerspectiveTransform_double_3_2”
    “Rigid3DPerspectiveTransform_float_3_2”
    “Rigid3DTransform_double_3_3”
    “Rigid3DTransform_float_3_3”
    “ScalableAffineTransform_double_3_3”
    “ScalableAffineTransform_float_3_3”
    “ScaleLogarithmicTransform_double_3_3”
    “ScaleLogarithmicTransform_float_3_3”
    “ScaleSkewVersor3DTransform_double_3_3”
    “ScaleSkewVersor3DTransform_float_3_3”
    “ScaleTransform_double_2_2”
    “ScaleTransform_double_3_3”
    “ScaleTransform_double_4_4”
    “ScaleTransform_float_2_2”
    “ScaleTransform_float_3_3”
    “ScaleTransform_float_4_4”
    “ScaleVersor3DTransform_double_3_3”
    “ScaleVersor3DTransform_float_3_3”
    “Similarity2DTransform_double_2_2”
    “Similarity2DTransform_float_2_2”
    “Similarity3DTransform_double_3_3”
    “Similarity3DTransform_float_3_3”
    “ThinPlateSplineKernelTransform_double_3_3”
    “ThinPlateSplineKernelTransform_float_3_3”
    “TimeVaryingBSplineVelocityFieldTransform_double_2_2”
    “TimeVaryingBSplineVelocityFieldTransform_double_3_3”
    “TimeVaryingBSplineVelocityFieldTransform_float_2_2”
    “TimeVaryingBSplineVelocityFieldTransform_float_3_3”
    “TimeVaryingVelocityFieldTransform_double_2_2”
    “TimeVaryingVelocityFieldTransform_double_3_3”
    “TimeVaryingVelocityFieldTransform_float_2_2”
    “TimeVaryingVelocityFieldTransform_float_3_3”
    “TranslationTransform_double_2_2”
    “TranslationTransform_double_3_3”
    “TranslationTransform_double_4_4”
    “TranslationTransform_float_2_2”
    “TranslationTransform_float_3_3”
    “TranslationTransform_float_4_4”
    “VelocityFieldTransform_double_2_2”
    “VelocityFieldTransform_double_3_3”
    “VelocityFieldTransform_float_2_2”
    “VelocityFieldTransform_float_3_3”
    “VersorRigid3DTransform_double_3_3”
    “VersorRigid3DTransform_float_3_3”
    “VersorTransform_double_3_3”
    “VersorTransform_float_3_3”
    Resample Scalar/Vector/DWI Volume completed with errors”

I have attempted to troubleshoot the issue by reinstalling the software, but unfortunately, the problem persists.

If anyone in the community has experienced a similar issue or has any insights into resolving this problem, I would be extremely grateful for your assistance. Additionally, if there are any specific troubleshooting steps or configurations I should try, please do not hesitate to let me know.

Thank you very much for your time and assistance.
P.S. I’m using 5.6.1 stable release, but I’ve tried also 5.7.0 release (I’m ubuntu user).

CropVolume works for me with 5.6.1 with the CTACardio from SampleData. Maybe try that data and also check that you have enough disk space.

Thanks for your reply.

The crop function seems to work fine with example images (MRI image or CT image for example), but it’s failing with some of the CT scans I have.

Any idea why this might be happening?

Since this is specific to your data, the only way we can help you is if you can share the data so that we can replicate the issue and understand why it is happening.

Do you have any anonymized data that you can share?