Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineSpatialObject not wrapped in Python #918

Open
fbudin69500 opened this issue May 20, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@fbudin69500
Copy link
Contributor

commented May 20, 2019

The filter itk::HoughTransform2DLinesImageFilter returns an std::list of itk::LineSpatialObject. This type is not wrapped in Python which makes this filter not usable in Python.

The problem was reported on discourse

A way to fix this issue is to wrap the missing type. This should be added here.

@fbudin69500 fbudin69500 self-assigned this May 20, 2019

@N-Dekker

This comment has been minimized.

Copy link
Contributor

commented May 20, 2019

Thank you Francois! Do you happen to know if the same problem applies to the Circles version?

https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageFeature/include/itkHoughTransform2DCirclesImageFilter.h

GetCircles() returns a reference to an std::list of smart `itk::EllipseSpatialObject<2>' pointers:
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageFeature/include/itkHoughTransform2DCirclesImageFilter.h#L151

@fbudin69500

This comment has been minimized.

Copy link
Contributor Author

commented May 21, 2019

Actually this was was wrapped (see here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.