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
converts the values in input matrix that is NaN or -NaN to val.
However, the documentation doesn't say that the input matrix should be of type float.
It will be caught in debug build with an assert, and crash the program in release build. My bad, it doesn't crash the program. But rather not handled properly in my program.
System information (version)
Detailed description
void patchNaNs(InputOutputArray a, double val = 0)
https://docs.opencv.org/4.4.0/d2/de8/group__core__array.html#ga62286befb7cde3568ff8c7d14d5079da
converts the values in input matrix that is NaN or -NaN to val.
However, the documentation doesn't say that the input matrix should be of type float.
It will be caught in debug build with an assert,
and crash the program in release build.My bad, it doesn't crash the program. But rather not handled properly in my program.Steps to reproduce
Issue submission checklist
answers.opencv.org, Stack Overflow, etc and have not found solution
The text was updated successfully, but these errors were encountered: