TheInterventionCentre / NorMIT-Plan

10 stars 1 forks source link

RequestedRegion mismatch when resampling with spacing different along the dimensions #113

Open oresths opened 6 years ago

oresths commented 6 years ago

https://github.com/TheInterventionCentre/NorMIT-Plan/blob/b841da7b959d9299da3480ad41182ac271794c91/VesselSegmentation/Logic/itkVesselSegmentationPreProcessingFilter.hxx#L157

I think GenerateOutputInformation() should be overloaded or various problems are created when resampling and the spacing is not equal in all dimensions, as the output image size will be different (eg wrong RequestedRegion errors)