Skip to content

Commit

Permalink
Use improved version of ITKGrowCut
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Sep 23, 2021
1 parent 6fb6007 commit c52f89a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Superbuild/ITKExternal.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if(BUILD_MOSAIC_TOOLS)
)
endif()

SET(itk_GIT_TAG "3a63e79d17addbc8903270f363fac6c5b89cdf53")
SET(itk_GIT_TAG "v5.3rc01")

# If CMake ever allows overriding the checkout command or adding flags,
# git checkout -q will silence message about detached head (harmless).
Expand Down
2 changes: 0 additions & 2 deletions src/Application/Tools/Algorithm/GrowCutter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,12 @@ void GrowCutter::execute()
{
this->fast_grow_cut_->SetInput( data_image_ );
this->fast_grow_cut_->SetSeedImage( background_image_ );
this->fast_grow_cut_->SetInitializationFlag( this->initialization_flag_ );
this->fast_grow_cut_->GenerateData();
this->initialization_flag_ = true;
}
else
{
this->fast_grow_cut_->SetSeedImage( background_image_ );
this->fast_grow_cut_->SetInitializationFlag( this->initialization_flag_ );
this->fast_grow_cut_->GenerateData();
}
this->output_image_ = this->fast_grow_cut_->GetOutput();
Expand Down

0 comments on commit c52f89a

Please sign in to comment.