[Insight-developers] failing tests with TimeVaryingVelocityFieldTransform

Luis Ibanez luis.ibanez at kitware.com
Fri Sep 30 09:50:19 EDT 2011


Hi Nick,

That looks familiar.

Is due to a change I made in the filter.

Replaced

SetOrigin
SetSpacing
SetRegions

with CopyInformation,

but I probably should use a method
that is specific to Images.

I'll take care of fixing it.


    Thanks


        Luis


----------------------
On Fri, Sep 30, 2011 at 8:49 AM, Nicholas Tustison <ntustison at gmail.com> wrote:
> Hi Luis,
> Does the error associated with the TimeVaryingVelocityFieldTransforms
> below look familiar to you or should I dive into trying to fix it?
> Thanks,
> Nick
>
> Test output
>
> ITK test driver caught an ITK exception:
>
> itk::ExceptionObject (0x1189a20)
> Location: "void itk::ImageBase<VImageDimension>::CopyInformation(const
> itk::DataObject*) [with unsigned int VImageDimension = 3u]"
> File:
> /Users/ibanez/Dashboards/src/ITK/Modules/Core/Common/include/itkImageBase.hxx
> Line: 334
> Description: itk::ERROR: Image(0x1189360): itk::ImageBase::CopyInformation()
> cannot cast PKN3itk10DataObjectE to PKN3itk9ImageBaseILj3EEE
>
>


More information about the Insight-developers mailing list