Skip to content

Commit 4e685d0

Browse files
authored
Merge pull request #63 from thewtex/WrapVectorImage
Wrap vector image
2 parents f08ad74 + 3f053d4 commit 4e685d0

6 files changed

+9
-9
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: "0.0.1.{build}"
77
install:
88

99
- curl -L https://rawgit.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/windows-download-cache-and-build-module-wheels.ps1 -O
10-
- ps: .\windows-download-cache-and-build-module-wheels.ps1
10+
- ps: .\windows-download-cache-and-build-module-wheels.ps1
1111

1212
build: off
1313

include/itkCoocurrenceTextureFeaturesImageFilter.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ CoocurrenceTextureFeaturesImageFilter<TInputImage, TOutputImage, TMaskImage>
110110
}
111111
filter->SetInput2(input);
112112
filter->SetFunctor(digitalizer);
113-
filter->SetNumberOfThreads(this->GetNumberOfThreads());
113+
filter->SetNumberOfWorkUnits(this->GetNumberOfWorkUnits());
114114

115115
filter->Update();
116116
m_DigitizedInputImage = filter->GetOutput();

include/itkRunLengthTextureFeaturesImageFilter.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ RunLengthTextureFeaturesImageFilter<TInputImage, TOutputImage, TMaskImage>
111111
}
112112
filter->SetInput2(input);
113113
filter->SetFunctor(digitalizer);
114-
filter->SetNumberOfThreads(this->GetNumberOfThreads());
114+
filter->SetNumberOfWorkUnits(this->GetNumberOfWorkUnits());
115115

116116
filter->Update();
117117
m_DigitizedInputImage = filter->GetOutput();

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='itk-texturefeatures',
15-
version='3.1.0',
15+
version='3.2.0',
1616
author='Insight Software Consortium',
1717
author_email='[email protected]',
1818
packages=['itk'],
@@ -48,6 +48,6 @@
4848
keywords='ITK InsightToolkit glcm texture features image imaging',
4949
url=r'https://itk.org/',
5050
install_requires=[
51-
r'itk'
51+
r'itk>=5.0b01'
5252
]
5353
)

wrapping/itkCoocurrenceTextureFeaturesImageFilter.wrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ itk_end_wrap_class()
5151
itk_wrap_class("itk::Statistics::CoocurrenceTextureFeaturesImageFilter" POINTER)
5252
foreach(d ${ITK_WRAP_IMAGE_DIMS})
5353
foreach(t ${WRAP_ITK_SCALAR})
54-
itk_wrap_template("${ITKM_I${t}${d}}IV${ITKM_F}${OutputVectorDim}${d}"
55-
"${ITKT_I${t}${d}}, itk::Image<itk::Vector<${ITKT_F},${OutputVectorDim}>,${d}>")
5654
itk_wrap_template("${ITKM_I${t}${d}}${ITKM_VI${ITKM_F}${d}}"
5755
"${ITKT_I${t}${d}}, ${ITKT_VI${ITKM_F}${d}}")
56+
itk_wrap_template("${ITKM_I${t}${d}}IV${ITKM_F}${OutputVectorDim}${d}"
57+
"${ITKT_I${t}${d}}, itk::Image<itk::Vector<${ITKT_F},${OutputVectorDim}>,${d}>")
5858
endforeach()
5959
endforeach()
6060
itk_end_wrap_class()

wrapping/itkRunLengthTextureFeaturesImageFilter.wrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ itk_end_wrap_class()
5151
itk_wrap_class("itk::Statistics::RunLengthTextureFeaturesImageFilter" POINTER)
5252
foreach(d ${ITK_WRAP_IMAGE_DIMS})
5353
foreach(t ${WRAP_ITK_SCALAR})
54-
itk_wrap_template("${ITKM_I${t}${d}}IV${ITKM_F}${OutputVectorDim}${d}"
55-
"${ITKT_I${t}${d}}, itk::Image<itk::Vector<${ITKT_F},${OutputVectorDim}>,${d}>")
5654
itk_wrap_template("${ITKM_I${t}${d}}${ITKM_VI${ITKM_F}${d}}"
5755
"${ITKT_I${t}${d}}, ${ITKT_VI${ITKM_F}${d}}")
56+
itk_wrap_template("${ITKM_I${t}${d}}IV${ITKM_F}${OutputVectorDim}${d}"
57+
"${ITKT_I${t}${d}}, itk::Image<itk::Vector<${ITKT_F},${OutputVectorDim}>,${d}>")
5858
endforeach()
5959
endforeach()
6060
itk_end_wrap_class()

0 commit comments

Comments
 (0)