[Insight-users] Wrapping ImageToImageFilter with high-dimensional pixel type
Tobias Maier
tobias.maier at unibas.ch
Thu Apr 12 08:34:52 EDT 2012
Hi all,
I have implemented a filter to extract features on 3D images. It is a
ImageToImageFilter with output type itk::Image<
itk::CovariantVector<float, dim>, 3>. The dimension is calculated from a
parameter given as template parameter and usually high.
Using this filter from C++ Code works fine, but because of the high
dimensions of the CovariantVector (>10) wrapping the code for python
requires a lot of effort to wrap the required types (Vector, FixedArray,
Image, ...) without wrapping everything for this long vectors.
Using a 4D image as output would make the wrapping easy, but I do not
like the mixing of features and image dimensions.
Do you know a solution that makes wrapping feasible while keeping the
interface clean?
Thanks for any help you can provide.
More information about the Insight-users
mailing list