Skip to content

Commit 788c0da

Browse files
authored
Merge pull request #401 from dzenanz/master
COMP: Remove duplicate image declaration and read
2 parents 9a55e54 + 2638e5c commit 788c0da

File tree

1 file changed

+0
-2
lines changed
  • src/Filtering/Thresholding/DemonstrateThresholdAlgorithms

1 file changed

+0
-2
lines changed

src/Filtering/Thresholding/DemonstrateThresholdAlgorithms/Code.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ main(int argc, char * argv[])
7474
using TriangleFilterType = itk::TriangleThresholdImageFilter<InputImageType, OutputImageType>;
7575
using YenFilterType = itk::YenThresholdImageFilter<InputImageType, OutputImageType>;
7676

77-
const auto input = itk::ReadImage<InputImageType>(argv[1]);
78-
7977
QuickView viewer;
8078
viewer.AddImage(input.GetPointer(), true, itksys::SystemTools::GetFilenameName(argv[1]));
8179

0 commit comments

Comments
 (0)