ITK
ITK copied to clipboard
WIP: Replace "vnl_sample.h" with `<random>` in ConnectedComponent tests
- Another follow-up to pull request #5611
- The first of the two commits (on ConnectedComponent tests) has test failures that I find hard to fix. So I branched off the other one (on Voronoi), which should be easier to get passed: pull request #5624
There appeared test failures at https://open.cdash.org/viewTest.php?onlyfailed&buildid=10817138 on the following four tests:
- itkConnectedComponentImageFilterTest
- itkConnectedComponentImageFilterTest2
- itkConnectedComponentImageFilterTest3
- itkConnectedComponentImageFilterTestRGB
I'm sorry, I don't really know how to fix them, but I guess we would have to change the ground truth images (somewhere in ${ITK_DATA_ROOT}, in order to make this work. For example, for itkConnectedComponentImageFilterTestRGB: https://github.com/InsightSoftwareConsortium/ITK/blob/6568876c1b5eb3ee398dd69bd1a0e960dcca8da6/Modules/Segmentation/ConnectedComponents/test/CMakeLists.txt#L44-L55
Does anyone have suggestion?