From 974c63db99925050e67814206640a30abc502bbd Mon Sep 17 00:00:00 2001 From: Lee Newberg Date: Wed, 28 Jul 2021 10:51:55 -0400 Subject: [PATCH] ENH: Wrap itkAdaptiveHistogramEqualizationImageFilter for Python. --- ...ptiveHistogramEqualizationImageFilter.wrap | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/Modules/Filtering/ImageStatistics/wrapping/itkAdaptiveHistogramEqualizationImageFilter.wrap b/Modules/Filtering/ImageStatistics/wrapping/itkAdaptiveHistogramEqualizationImageFilter.wrap index e67f16f7b3f..02a935890a4 100644 --- a/Modules/Filtering/ImageStatistics/wrapping/itkAdaptiveHistogramEqualizationImageFilter.wrap +++ b/Modules/Filtering/ImageStatistics/wrapping/itkAdaptiveHistogramEqualizationImageFilter.wrap @@ -1,36 +1,36 @@ -#itk_wrap_class("itk::KernelImageFilter" POINTER) - #foreach(t ${WRAP_ITK_SCALAR}) - #foreach(d ${ITK_WRAP_IMAGE_DIMS}) - #itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d}}Neighborhood" "${ITKT_I${t}${d}}, ${ITKT_I${t}${d}}, itk::Neighborhood< bool, ${d} >") - #endforeach() - #endforeach() -#itk_end_wrap_class() +itk_wrap_class("itk::KernelImageFilter" POINTER) + foreach(t ${WRAP_ITK_SCALAR}) + foreach(d ${ITK_WRAP_IMAGE_DIMS}) + itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d}}Neighborhood" "${ITKT_I${t}${d}}, ${ITKT_I${t}${d}}, itk::Neighborhood< bool, ${d} >") + endforeach() + endforeach() +itk_end_wrap_class() -#itk_wrap_class("itk::MovingHistogramImageFilterBase" POINTER) - #foreach(t ${WRAP_ITK_SCALAR}) - #foreach(d ${ITK_WRAP_IMAGE_DIMS}) - #itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d}}Neighborhood" "${ITKT_I${t}${d}}, ${ITKT_I${t}${d}}, itk::Neighborhood< bool, ${d} >") - #endforeach() - #endforeach() -#itk_end_wrap_class() +itk_wrap_class("itk::MovingHistogramImageFilterBase" POINTER) + foreach(t ${WRAP_ITK_SCALAR}) + foreach(d ${ITK_WRAP_IMAGE_DIMS}) + itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d}}Neighborhood" "${ITKT_I${t}${d}}, ${ITKT_I${t}${d}}, itk::Neighborhood< bool, ${d} >") + endforeach() + endforeach() +itk_end_wrap_class() -#set(WRAPPER_AUTO_INCLUDE_HEADERS OFF) -#itk_wrap_include("itkAdaptiveEqualizationHistogram.h") -#itk_wrap_class("itk::Function::AdaptiveEqualizationHistogram") - #foreach(t ${WRAP_ITK_SCALAR}) - #itk_wrap_template("${ITKM_${t}}${ITKM_${t}}" "${ITKT_${t}}, ${ITKT_${t}}") - #endforeach() -#itk_end_wrap_class() -#set(WRAPPER_AUTO_INCLUDE_HEADERS ON) +set(WRAPPER_AUTO_INCLUDE_HEADERS OFF) +itk_wrap_include("itkAdaptiveEqualizationHistogram.h") +itk_wrap_class("itk::Function::AdaptiveEqualizationHistogram") + foreach(t ${WRAP_ITK_SCALAR}) + itk_wrap_template("${ITKM_${t}}${ITKM_${t}}" "${ITKT_${t}}, ${ITKT_${t}}") + endforeach() +itk_end_wrap_class() +set(WRAPPER_AUTO_INCLUDE_HEADERS ON) -#itk_wrap_class("itk::MovingHistogramImageFilter" POINTER) - #foreach(t ${WRAP_ITK_SCALAR}) - #foreach(d ${ITK_WRAP_IMAGE_DIMS}) - #itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d}}NeighborhoodAHE" "${ITKT_I${t}${d}}, ${ITKT_I${t}${d}}, itk::Neighborhood< bool, ${d} >, itk::Function::AdaptiveEqualizationHistogram< ${ITKT_${t}}, ${ITKT_${t}} >") - #endforeach() - #endforeach() -#itk_end_wrap_class() +itk_wrap_class("itk::MovingHistogramImageFilter" POINTER) + foreach(t ${WRAP_ITK_SCALAR}) + foreach(d ${ITK_WRAP_IMAGE_DIMS}) + itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d}}NeighborhoodAHE" "${ITKT_I${t}${d}}, ${ITKT_I${t}${d}}, itk::Neighborhood< bool, ${d} >, itk::Function::AdaptiveEqualizationHistogram< ${ITKT_${t}}, ${ITKT_${t}} >") + endforeach() + endforeach() +itk_end_wrap_class() -#itk_wrap_class("itk::AdaptiveHistogramEqualizationImageFilter" POINTER) - #itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 1) -#itk_end_wrap_class() +itk_wrap_class("itk::AdaptiveHistogramEqualizationImageFilter" POINTER) + itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 1) +itk_end_wrap_class()