Skip to content

Commit

Permalink
Merge pull request #154 from SuperElastix/Remove-Bounds-Check-ImageMa…
Browse files Browse the repository at this point in the history
…skSpatialObject2

BUG: Remove bounds check from ImageMaskSpatialObject2 IsInside
  • Loading branch information
N-Dekker authored Jun 11, 2019
2 parents aa26aa5 + a90833b commit 2218395
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Common/itkImageMaskSpatialObject2.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ bool
ImageMaskSpatialObject2< TDimension >
::IsInside( const PointType & point ) const
{
if( !this->GetBounds()->IsInside( point ) )
{
return false;
}
if( !this->SetInternalInverseTransformToWorldToIndexTransform() )
{
return false;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ elastix_run_3DCT_lung.MI.bspline.SGD.001-Threads2 3081148034
elastix_run_3DCT_lung.MI.bspline.SGD.001-Threads4 3081148034
elastix_run_3DCT_lung.MI.bspline.SGD.002 71992244
elastix_run_3DCT_lung.MI.bspline.SGD.003 2621753943
elastix_run_3DCT_lung.MI.bspline.SGD.004 2151955861
elastix_run_3DCT_lung.MI.bspline.SGD.004 1162604205
elastix_run_3DCT_lung.NC.affine.ASGD.001 3871044378
elastix_run_3DCT_lung.NC.bspline.ASGD.001a 2682996418
elastix_run_3DCT_lung.NC.bspline.ASGD.001a-Threads1 2682996418
Expand Down

0 comments on commit 2218395

Please sign in to comment.