[Insight-users] ConvolutionImageFilter only works with scalar images?

Matt McCormick matt at mmmccormick.com
Sun Dec 5 03:25:16 EST 2010


David Doria <daviddoria at ...> writes:


> 
> I put examples of this on the wiki:
> Disassembling (extracting a component):
> http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/NthElementImageAdaptor
> 
> Assembling (combining components):
> 
http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/Compose3DCovariantVectorIma
geFilter
> 

Nice work.  BTW, I have found the work you and Bill L. have done with the VTK 
wiki examples very helpful.  Keep up the good work :-).

> Should you add a bug to Mantis for the other issues you mentioned? It
> would still be nice not have to do this disassembling and assembling
> manually - would the things you mentioned allow this to work with
> N-component images?

Yes, but I am hesitant to add a bug report without a patch.  Really busy with 
this blasted thesis at the moment.  I could file it as a reminder for a future 
'todo', but that does not seem to be in fashion.

But the double/N-component issue does not seem that hard, so I came up with a 
patch.  Please try this,
http://review.source.kitware.com/#change,505

Then maybe you could add to the tests the specific case you are trying to work 
out so that we know it will not break in the future?

Thanks,
Matt




More information about the Insight-users mailing list