MCPcopy Create free account
hub / github.com/abhn/marvel / convertTo

Method convertTo

openCVLibrary2410/src/main/java/org/opencv/core/Mat.java:956–962  ·  view source on GitHub ↗

Converts an array to another data type with optional scaling. The method converts source pixel values to the target data type. saturate_cast<> is applied at the end to avoid possible overflows: m(x,y) = saturate _ cast&ltrType&gt(alpha( this)(x,y) + beta)

(Mat m, int rtype, double alpha, double beta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

n_convertToMethod · 0.95

Tested by

no test coverage detected