[Insight-developers] Transform module dependecy on non-core module ImageFilterBase

M Stauffer (V) mstauff at verizon.net
Wed Aug 10 13:31:23 EDT 2011


><mstauff at verizon.net> wrote:
>> Hi,
>>
>> (This email recaps and picks up from a previous post in 
>which this issue
>> was raised along with a separate, now-resolved issue.)
>>
>> To build Transform/itkDeformationFieldTransform with the latest ITK
>> master, I've had to add ITKImageFilterBase to
>> Transform/itk-module.cmake. This means a core module is 
>dependent on a
>> non-core module.
>>
>> This is caused by use of VectorLinearInterpolateImageFunction from
>> ImageFilterBase, which is used with a GaussianOperator (itself in
>> Core/Common) to perform smoothing on the deformation field after its
>> parameters are updated.
>
>VectorLinearInterpolateImageFunction is in ITKImageFunction instead of
>ITKImageFilterBase.

Sorry, it's VectorNeighborhoodOperatorImageFilter that's used from
ImageFilterBase. Copy-n-paste fail!

>>
>> However, Transform already has two non-core dependencies in
>> itk-module.cmake: ITKStatistics & ITKHDF5.
>>
>
>Good point.  We could add ITKImageFilterBase if we really needed too
>(it only depends on ITKCommon).

Sounds find to me, but I'm not at all aware of the details of the core
module goals.

-M



More information about the Insight-developers mailing list