Skip to content

COMP: Fix unit tests for OpenCV 4#5

Closed
nocnokneo wants to merge 1 commit intoKitware:masterfrom
nocnokneo:OpenCV4
Closed

COMP: Fix unit tests for OpenCV 4#5
nocnokneo wants to merge 1 commit intoKitware:masterfrom
nocnokneo:OpenCV4

Conversation

@nocnokneo
Copy link

@nocnokneo nocnokneo commented Jan 14, 2020

Fixes InsightSoftwareConsortium#806

PR Checklist

std::map<int, int> matDepthToIplDepth{ { CV_8U, IPL_DEPTH_8U }, { CV_8S, IPL_DEPTH_8S },
{ CV_16U, IPL_DEPTH_16U }, { CV_16S, IPL_DEPTH_16S },
{ CV_32S, IPL_DEPTH_32S }, { CV_32F, IPL_DEPTH_32F },
{ CV_64F, IPL_DEPTH_64F } };
Copy link
Author

Choose a reason for hiding this comment

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

FYI - I had to bypass the pre-commit hooks to avoid:

Modules/Video/BridgeOpenCV/test/itkOpenCVTestHelper.cxx:40: error: Unnecessary semicolon
pre-commit hook failure
-----------------------

KWStyle check failed.

@dzenanz
Copy link
Member

dzenanz commented Feb 4, 2020

@nocnokneo
Copy link
Author

Whoops, closing this in lieu of InsightSoftwareConsortium#1591

@nocnokneo nocnokneo closed this Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BridgeOpenCV fails to build with OpenCV 4

2 participants