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
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
it only works with CV_8U, CV_16S, CV_32F types. Anything else throws an exception.
when converting from signed types, negative values get saturated at zero (false). Note that in MATLAB, logical(-1) == logical(1) == true, and only logical(0) == false
Consider the following MEX function:
myFcn.cpp
In MATLAB, this returns:
Even though the result is of type
logical
, the matrix contains values other than 0/1, which can cause some issues on comparison:The expected outcome should be:
The text was updated successfully, but these errors were encountered: