Skip to content

Do not return empty requested region in case StreamingWarpImageFilter

Julien Michel requested to merge bugfix-streamingwarpfilter-empty-region into develop

Summary

Do not return empty requested region in case StreamingWarpImageFilter legitimately asks for a requested region outside of input largest possible region, since it can mess with upstream filters that will throw InvalidRequestedRegionException because ImageRegion::Crop() can not crop empty regions and thus returns false.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
  • Optionally, run git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i on latest changes and commit

Merge request reports