sqrt
import { sqrt } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst
FUNCTIONsqrt
RETURN TYPEvoid
Calculates a square root of array elements.
The function cv::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 .
sqrt(src: Mat, dst: Mat): void;srcinput floating-point array.
dstOutput destination, filled by the native operation. output array of the same size and type as src.
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.