[ITK] [ITK-users] Geodesic Shape Guidance in Python

Matt McCormick matt.mccormick at kitware.com
Thu Apr 28 00:22:48 EDT 2016


Hi Robert,

Wrapping for std::vector currently looks to be specified in
Wrapping/Generators/Python/CMakeLists.txt:

  https://github.com/InsightSoftwareConsortium/ITK/blob/0bbd4b573079b5c572481d62e81f17a352d12df0/Wrapping/Generators/Python/CMakeLists.txt#L675-L797

and pyBase.i:

  https://github.com/InsightSoftwareConsortium/ITK/blob/0bbd4b573079b5c572481d62e81f17a352d12df0/Wrapping/Generators/Python/PyBase/CMakeLists.txt#L29-L35https://github.com/InsightSoftwareConsortium/ITK/blob/0bbd4b573079b5c572481d62e81f17a352d12df0/Wrapping/Generators/Python/PyBase/pyBase.i#L735-L752


>  Is SetPrincipalComponentImages() really only, exclusively
accepting std::vectors...?

Yes.

HTH,
Matt

On Wed, Apr 27, 2016 at 12:38 PM, Robert <scorpiuni at gmail.com> wrote:
> Hello again,
>
> How would I proceed when wrapping std::vector over itk::image?
> It is actually wrapped for itk.F, so there should be a wrap file somewhere
> around, right? Or isn't std::vector wrapped at all in the itk folder, and
> somewhere else?
>
> Isnt there a simpler solution with something like numpy arrays, or simply
> feeding the function
>
> shape.SetPrincipalComponentImages(shapeModeImages)
>
> image after image? Is SetPrincipalComponentImages() really only, exclusively
> accepting std::vectors...?
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Geodesic-Shape-Guidance-in-Python-tp7588780p7588788.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list