Skip to content

Commit d4d63c5

Browse files
authored
Merge pull request #146 from phcerdan/wrap_shrink_expand_zeros
ENH: Add python wrappings for expand with zeros and decimate
2 parents da95ef3 + e15a60e commit d4d63c5

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
itk_wrap_class("itk::ExpandWithZerosImageFilter" POINTER)
2+
itk_wrap_image_filter("${WRAP_ITK_SCALAR};" 2)
3+
itk_end_wrap_class()
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
itk_wrap_class("itk::ShrinkDecimateImageFilter" POINTER)
2+
itk_wrap_image_filter("${WRAP_ITK_SCALAR};" 2)
3+
itk_end_wrap_class()

wrapping/test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@ itk_python_expression_add_test(NAME itkFrequencyExpandViaInverseFFTImageFilterPy
3636
EXPRESSION "instance = itk.FrequencyExpandViaInverseFFTImageFilter.New()")
3737
itk_python_expression_add_test(NAME itkFrequencyShrinkViaInverseFFTImageFilterPythonTest
3838
EXPRESSION "instance = itk.FrequencyShrinkViaInverseFFTImageFilter.New()")
39+
itk_python_expression_add_test(NAME itkExpandWithZerosImageFilter
40+
EXPRESSION "instance = itk.ExpandWithZerosImageFilter.New()")
41+
itk_python_expression_add_test(NAME itkShrinkDecimateImageFilter
42+
EXPRESSION "instance = itk.ShrinkDecimateImageFilter.New()")
3943
itk_python_expression_add_test(NAME itkIsotropicWaveletsUtilitiesPythonTest
4044
EXPRESSION "itk.IsotropicWaveletsUtilities.Factorial(2)")

0 commit comments

Comments
 (0)