PERF: Improve FunctorImageFilter performances
Status | Pipeline | Created by | Stages | |
---|---|---|---|---|
Passed 00:26:38
| Stage: build |
Download artifacts
No artifacts found |
Improve slightly the performances of otb::ImageFunctorFilter
.
otb::ImageFunctorFilter
with a lambda is slightly less performant than itk::UnaryFunctorImageFilter
with a dynamic functor.
itk::UnaryFunctorImageFilter
only updates the progress reporter once per line.
This MR mimics ITK behaviour.
The performance improvement is small, less than 10% on simple filters like a scaling filter that multiplies pixel values. The gap seems to have been filled.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
Status | Pipeline | Created by | Stages | |
---|---|---|---|---|
Passed 00:26:38
| Stage: build |
Download artifacts
No artifacts found |