Skip to content

Commit

Permalink
ENH: Change collapse strategy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Jan 6, 2023
1 parent 8c10b7d commit 2105396
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 2105396

Please sign in to comment.