[ITK] itk::InvalidRequestedRegionError: Requested region is (at least partially) outside the largest possible region

Le Sun sunle2009 at gmail.com
Sat Oct 8 04:36:27 EDT 2016


Hi,

I am running the code of 'Segmentation code for the 3D ray features
described in our <http://people.inf.ethz.ch/alucchi/code/rays3d.zip>' on
page http://people.inf.ethz.ch/alucchi/code.php.

When run the first example in the readme.txt in the code package:test3dRays
/home/le/Documents/rays3d/data/sphere 1 2 8 16

I got the following error:
*******************************************************
Error while running this filter.
itk::InvalidRequestedRegionError (0x2e7ebc0)
Location: "void itk::NeighborhoodOperatorImageFilter<TInputImage,
TOutputImage, TOperatorValueType>::GenerateInputRequestedRegion() [with
TInputImage = itk::Image<float, 3u>; TOutputImage = itk::Image<float, 3u>;
TOperatorValueType = double]"
File: /usr/local/include/ITK-4.10/itkNeighborhoodOperatorImageFilter.hxx
Line: 72
Description: Requested region is (at least partially) outside the largest
possible region.
*******************************************************

I added ' -> UpdateLargestPossibleRegion()' for each Filter in the .cpp and
.cxx files. However, couldn't solve this problem.

Thank you for your help.

Best Regards
Le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20161008/9b6668cb/attachment.html>


More information about the Community mailing list