Comments (4)
wow, indeed that makes sense. I totaly missed that line !
thanks a lot, I'll try to make it compile ;)
from itkthickness3d.
Thanks I managed to do it for the wrapping !
Indeed the errors did not seem related to wrapping... got a bit confused as backtrace are not always so descriptive
from itkthickness3d.
Hi again, I've been running some tests and it seems that most of my troubles comes from the templates management...
How to "force" (more like control) the TInputImage
and TInputImage
with an ImageToImageFilter
?
template <class TInputImage, class TOutputImage>
public ImageToImageFilter<TInputImage, TOutputImage>
And what about the ensuing python wrapping ?
Should we write the C-code without restrictions and 'control' ImageTypes with the wrapping macro ?
when I try:
UNIQUE(wrap_image_types "${WRAP_ITK_SCALAR};UC")
foreach(type ${wrap_image_types})
itk_wrap_image_filter_combinations("${type}" "UC" 3)
endforeach()
I end up with errors such as ITKs/Modules/Core/Common/include/itkConceptChecking.h:571:32: error: no viable conversion from 'UniqueType<unsigned char>' to 'UniqueType<short>'
?
from itkthickness3d.
It depends on the specific issue...
Is there more of the backtrace for the error ITKs/Modules/Core/Common/include/itkConceptChecking.h:571:32: error: no viable conversion from 'UniqueType<unsigned char>' to 'UniqueType<short>'
. That is, which instantiation is causing this issue?
The wrapping macros allow wrapping an ImageToImageFilter
with the same pixel type and dimension (a common use case). itk_wrap_image_filter_combinations
allows wrapping with different types of input and output images. The itk_wrap_template
macro allows wrapping any class (not just an ImageToImageFilter
) with specification of all types.
from itkthickness3d.
Related Issues (17)
- Remove Thickness3D_LIBRARIES HOT 1
- Question regarding spurious branches in computed centerline HOT 2
- Segmentation fault when calling MedialThicknessImageFilter3D on Linux HOT 3
- Data/medial_thickness.tif is missing HOT 4
- itkMorphologicalDistanceTransformImageFilter instead of itkSignedMaurerDistanceMapImageFilter HOT 2
- Input 3D image format support HOT 5
- itk.BinaryThinningImageFilter3D output an empty image HOT 10
- Problem with ITK 5.1.0 HOT 2
- Running with AttributeError HOT 7
- No module named 'itkHelpers' HOT 5
- Build with older ITK version HOT 1
- Consider publishing ARM bdist wheels for MacOS HOT 5
- Medial thickness values HOT 2
- Import error with new itk version 5.3.0 HOT 2
- Is this a seperate module? Or is this a sub-module of ITK? HOT 2
- Not found MedicalThicknessImageFilter3D HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itkthickness3d.