mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -1663,9 +1663,13 @@ elements.
|
||||
CV_EXPORTS_W bool checkRange(InputArray a, bool quiet = true, CV_OUT Point* pos = 0,
|
||||
double minVal = -DBL_MAX, double maxVal = DBL_MAX);
|
||||
|
||||
/** @brief Replaces NaNs by given number
|
||||
@param a input/output matrix (CV_32F or CV_64F type)
|
||||
@param val value to convert the NaNs
|
||||
/** @brief Replaces NaNs (Not-a-Number values) in a matrix with the specified value.
|
||||
|
||||
This function modifies the input matrix in-place.
|
||||
The input matrix must be of type `CV_32F` or `CV_64F`; other types are not supported.
|
||||
|
||||
@param a Input/output matrix (CV_32F or CV_64F type).
|
||||
@param val Value used to replace NaNs (defaults to 0).
|
||||
*/
|
||||
CV_EXPORTS_W void patchNaNs(InputOutputArray a, double val = 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user