InsightSoftwareConsortium / ITKPerformanceBenchmarking

Real-world tests to benchmark ITK performance.
https://www.insight-journal.org/browse/publication/972
Apache License 2.0
2 stars 8 forks source link

ENH: added benchmark for ITK ResampleImageFilter #56

Closed dpshamonin closed 6 years ago

dpshamonin commented 6 years ago

The benchmark includes support for 1D/2D/3D images, common interpolators (Linear, Nearest, BSpline), common registration transforms and their combinations (Affine, BSpline, Euler, Similarity, Translation, Identity) and other options to fully benchmark Resample for registration tasks.

dpshamonin commented 6 years ago

@jhlegarreta Thanks for your kind words. I will fix the typos you found and remove the dashed lines. We already using range based loops when they were suggested by Visual Assist. For the general ITK style, I just used the defined .clang-format from ITK itself, but I had to fix formatting afterwards, since Clang format had many issues formatting this code.

phcerdan commented 6 years ago

Great! :sparkles:

jhlegarreta commented 6 years ago

Thanks Dennis.

thewtex commented 6 years ago

:1st_place_medal: Thanks, @dpshamonin !

phcerdan commented 6 years ago

Great! this is awesome, but now the filtering label takes quite a bit of time.

Label Time Summary:
Core                       =   0.03 sec*proc (1 test)
Filtering                  = 285.63 sec*proc (65 tests)
PerformanceBenchmarking    =   0.19 sec*proc (6 tests)
Registration               =   8.38 sec*proc (3 tests)
Segmentation               =  27.36 sec*proc (4 tests)

Should we create a separate label and CMake option for for Resample? Opened #59