new tests to verify streaming capabilities of itkResampleImageFilter#392
Conversation
9c5eced to
32ac3af
Compare
|
As some changes were done on the tests to conform to the ITK5 standards, I guess |
dzenanz
left a comment
There was a problem hiding this comment.
Yes, this should compile and test OK on master, and use ITKv5 style (using instead of typedef etc).
5532496 to
92e3d1e
Compare
|
Re-did the commit based on other the other test-files used now take from https://github.com/InsightSoftwareConsortium/ITK/tree/b2884129bf6db53cb102137d81e7176e893c5e5f |
92e3d1e to
2c91209
Compare
|
New push contains changes as suggested by @jhlegarreta in #84 (review) together with a fixed typo. |
|
It is not clear to me why the circleci job failed. If I'm not mistaken, both new tests passed according to the logs. |
2c91209 to
8f4d75e
Compare
For clarification: the 2 new tests should fail for current master, therefore I added the expectation to However, the tests seem to succeed currently, so they are not yet doing what they are meant to do. What could be missing? @blowekamp could you take a look? |
8f4d75e to
29f4e00
Compare
|
Rebased onto current master @ 6218fca to rule out any problems due to updates since b288412
|
|
Thanks for pushing this forward @romangrothausmann . I will take a look 👀 |
|
Taking a look, the reader -> monitor -> resample -> writerOrStreamingFilter This way, if In contrast, with this topology reader -> resample -> monitor -> writerOrStreamingFilter
Have patch, will push :-) |
29f4e00 to
69bb0bf
Compare
…lter New tests are expected to fail as long as itkResampleFilter does not support streaming for linear transforms GH PR InsightSoftwareConsortium#82. Also, tests for comparing output with stream driven imaging (SDI) and without based on itkWarpImageFilterTest2.cxx and itkResampleImageTest.cxx.
These virtual methods are intended to be called internally by the ProcessObject and should not be publically accessible. Calling them may result in unexpected behaviour. Instead, call the relevant public methods provided by itk::ProcessObject.
|
rebasing on |
69bb0bf to
df3129a
Compare
|
Cool. Many thanks @thewtex for taking a look and sorting things out. It wasn't easy for me to fully see your changes, i.e. those between my old 29f4e00 and the new one f973208 due to rebasing on newest master and squashing. So there I can see that (apart from white space changes romangrothausmann@e41fff8#diff-50f53fc01f72ba938548d64a1218589bL79):
I think all are fine except 5, where I intended that the monitor filter checks that streaming took not place, which I thought Just for my better understanding: What is point 4. for, and why the change of 6.? |
This reverts commit e5d421f. because InsightSoftwareConsortium#392 (replaced InsightSoftwareConsortium#82) was merged in bc4e197
This reverts commit e5d421f. because InsightSoftwareConsortium#392 (replaced InsightSoftwareConsortium#84) was merged in bc4e197
Squashed commit of the following: commit 2cdc0ee Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Tue Feb 5 12:56:06 2019 +0100 Revert "ENH: new test are expected to fail as long as:": This reverts commit e5d421f. because InsightSoftwareConsortium#392 (replaced InsightSoftwareConsortium#84) was merged in bc4e197 commit d62cbd4 Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Fri Sep 28 11:55:28 2018 +0200 BUG: use ITK_NULLPTR instead of identityTransform commit 9c0b04c Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Thu Sep 27 12:45:50 2018 +0200 ENH: add transform to ImageAlgorithm::EnlargeRegionOverBox commit 5b8eaf5 Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Tue Sep 25 14:07:50 2018 +0200 ENH: use ImageAlgorithm::EnlargeRegionOverBox instead commit d6c44ea Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Thu Aug 30 13:05:31 2018 +0200 ENH: Method to compute InputRequestedRegion in itkResampleImageFilter based on suggestions from: https://discourse.itk.org/t/why-resampleimagefilter-is-slow/1217/14 https://itk.org/pipermail/insight-users/2015-April/051877.html and code from itkImageAlgorithm of v4.13.1 (based on commit 8510db2)
|
@thewtex Just noticed that for |
|
@romangrothausmann the comparison could be added back. If the test depends on the output of |
Squashed commit of the following: commit ae8eb62 Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Thu Feb 7 15:56:57 2019 +0100 BUG: corrections from @thewtex in PR InsightSoftwareConsortium#469 commit 2cdc0ee Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Tue Feb 5 12:56:06 2019 +0100 Revert "ENH: new test are expected to fail as long as:": This reverts commit e5d421f. because InsightSoftwareConsortium#392 (replaced InsightSoftwareConsortium#84) was merged in bc4e197 commit d62cbd4 Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Fri Sep 28 11:55:28 2018 +0200 BUG: use ITK_NULLPTR instead of identityTransform commit 9c0b04c Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Thu Sep 27 12:45:50 2018 +0200 ENH: add transform to ImageAlgorithm::EnlargeRegionOverBox commit 5b8eaf5 Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Tue Sep 25 14:07:50 2018 +0200 ENH: use ImageAlgorithm::EnlargeRegionOverBox instead commit d6c44ea Author: Roman Grothausmann <romangrothausmann@users.noreply.github.com> Date: Thu Aug 30 13:05:31 2018 +0200 ENH: Method to compute InputRequestedRegion in itkResampleImageFilter based on suggestions from: https://discourse.itk.org/t/why-resampleimagefilter-is-slow/1217/14 https://itk.org/pipermail/insight-users/2015-April/051877.html and code from itkImageAlgorithm of v4.13.1 (based on commit 8510db2)
This reverts commit e5d421f. because InsightSoftwareConsortium#392 (replaced InsightSoftwareConsortium#84) was merged in bc4e197
PR only for the tests that are expected to succeed with #82 (and to fail currently) in order to check their outcome without the changes to itkResampleImageFilter #82 (which currently appear to effect other tests like itkMultiResolutionPyramidImageFilterWithResampleFilterTest as well)
According to #84 (comment), history squashed into single ENH-commit rebase on to master.
creation history: