Skip to content

Commit

Permalink
ENH: Add python wrappings for expand with zeros and decimate
Browse files Browse the repository at this point in the history
  • Loading branch information
phcerdan committed Jun 29, 2021
1 parent ebf3c6b commit 9469396
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrapping/itkExpandWithZerosImageFilter.wrap
@@ -0,0 +1,3 @@
itk_wrap_class("itk::ExpandWithZerosImageFilter" POINTER)
itk_wrap_image_filter("${WRAP_ITK_SCALAR};" 2)
itk_end_wrap_class()
3 changes: 3 additions & 0 deletions wrapping/itkShrinkDecimateImageFilter.wrap
@@ -0,0 +1,3 @@
itk_wrap_class("itk::ShrinkDecimateImageFilter" POINTER)
itk_wrap_image_filter("${WRAP_ITK_SCALAR};" 2)
itk_end_wrap_class()
4 changes: 4 additions & 0 deletions wrapping/test/CMakeLists.txt
Expand Up @@ -36,3 +36,7 @@ itk_python_expression_add_test(NAME itkFrequencyExpandViaInverseFFTImageFilterPy
EXPRESSION "instance = itk.FrequencyExpandViaInverseFFTImageFilter.New()")
itk_python_expression_add_test(NAME itkFrequencyShrinkViaInverseFFTImageFilterPythonTest
EXPRESSION "instance = itk.FrequencyShrinkViaInverseFFTImageFilter.New()")
itk_python_expression_add_test(NAME itkExpandWithZerosImageFilter
EXPRESSION "instance = itk.ExpandWithZerosImageFilter.New()")
itk_python_expression_add_test(NAME itkShrinkDecimateImageFilter
EXPRESSION "instance = itk.ShrinkDecimateImageFilter.New()")

0 comments on commit 9469396

Please sign in to comment.