Skip to content
Snippets Groups Projects
Commit bc625e48 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

SGFT : add Crop method

parent 2e8b8130
No related branches found
No related tags found
No related merge requests found
......@@ -851,7 +851,7 @@ LineSegmentDetector<TInputImage, TPrecision>
/** Get The Bounding Region*/
OutputImageDirRegionType region = rectangle->GetBoundingRegion();
region.Crop( m_OrientationFilter->GetOutput()->GetLargestPossibleRegion() );
itk::ImageRegionIterator<OutputImageDirType> it(m_OrientationFilter->GetOutput(), region/*m_OrientationFilter->GetOutput()->GetRequestedRegion()*/);
it.GoToBegin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment