@ilya-lavrenov No, I don't want any performance impacts here on release builds. This check is for debug only.
`CV_Assert` is active on all builds.