gapi_sqrt
import { gapi_sqrt } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc
FUNCTIONgapi_sqrt
RETURN TYPEGMat
Calculates a square root of array elements.
The function cv::gapi::sqrt calculates a square root of each input array element. In case of multi-channel arrays, each channel is processed independently. The accuracy is approximately the same as of the built-in std::sqrt .
gapi_sqrt(src: GMat): GMat;srcinput floating-point array.
Returns
output array of the same size and type as src. Release returned native handles with using or delete(), including handles nested in results.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.