You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently OpenCV 5.x has 2 options for flags/bools:
cv::Mat with CV_Bool type
cv::Mat with CV_8U type or std::vector treated as bit array.
cv::norm does not support CV_Bool as input
cv::norm interprets CV_8U matrix as regular integer matrix for NORM_INF and NORM_2 and as bit array for NORM_HAMMING
Also CV_Bool is not supported by cv::Hamming, HAL functions.
Options:
Add CV_Bool support for Hamming, NORM_HAMMING case and all related functions
Added a way to squeeze / unsqueeze the bit arrays from/to CV_Bool type.
Activity
asmorkalov commentedon Jul 9, 2024
@vpisarev @dkurt @mshabunin @opencv-alalek please provide your thoughts.
opencv-alalek commentedon Jul 10, 2024
Name should be changed to avoid violation of used naming rules:
CV_BOOL