Skip to content

Commit

Permalink
Merge pull request #419 from ANTsX/CollapseGuess
Browse files Browse the repository at this point in the history
ENH:  Change collapse strategy.
  • Loading branch information
ntustison authored Jan 6, 2023
2 parents 26ef67f + 2105396 commit 417f484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants/lib/LOCAL_sliceImage.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ py::capsule sliceImage( py::capsule antsImage, int plane, int slice)

filter->SetExtractionRegion( desiredRegion );
filter->SetInput( itkImage );
filter->SetDirectionCollapseToSubmatrix();
filter->SetDirectionCollapseToGuess();
filter->Update();

return wrap<SliceImageType>( filter->GetOutput() );
Expand Down

0 comments on commit 417f484

Please sign in to comment.