Skip to content

Added performance test for StereoBM algorithm#15399

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
terfendail:perf_stereobm
Sep 17, 2019
Merged

Added performance test for StereoBM algorithm#15399
opencv-pushbot merged 1 commit intoopencv:3.4from
terfendail:perf_stereobm

Conversation

@terfendail
Copy link
Copy Markdown
Contributor

@terfendail terfendail commented Aug 27, 2019

Merge with extra: opencv/opencv_extra#670

Added performance test for StereoBM algorithm

@terfendail terfendail force-pushed the perf_stereobm branch 3 times, most recently from b2efc17 to 6908900 Compare September 3, 2019 15:45

PERF_TEST_P(TestStereoCorrespBM, BM, Combine(Values(Size(1280, 720), Size(640, 480)), Values(256, 128)))
{
RNG rng(0);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default seed is non zero, so this change will affect sanity result for some test cases. I could remove it for BM test only and regenerate new sanity data, but IMO it would be better to retain similar tests uniform. The other option(the one I actually prefer) is to move zero RNG initialization to the MakeArtificialExample function that produce input to make things more consistent. The third option is to remove RNG initialization completely and regenerate both BM and SGBM sanity data.

@terfendail terfendail force-pushed the perf_stereobm branch 2 times, most recently from 5f44e68 to d1041e6 Compare September 9, 2019 11:42
@opencv-pushbot opencv-pushbot merged commit bf8b5ff into opencv:3.4 Sep 17, 2019
@terfendail terfendail deleted the perf_stereobm branch September 17, 2019 16:32
@alalek alalek mentioned this pull request Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants