loadChromaticAberrationParams
import { loadChromaticAberrationParams } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Load chromatic-aberration calibration parameters from opened FileStorage.
R e*ads the red and blue polynomial coefficients from the specified file and packs them into a 4×N CV_32F matrix: row 0 = blue dx coefficients row 1 = blue dy coefficients row 2 = red dx coefficients row 3 = red dy coefficients
See: correctChromaticAberration
loadChromaticAberrationParams(node: FileNode, coeffMat: Mat): loadChromaticAberrationParamsResult;nodeNode of opened cv::FileStorage object.
coeffMatOutput destination, filled by the native operation. Output 4xN coefficient matrix (CV_32F).
The loadChromaticAberrationParamsResult result. Scalar output parameters are returned as named fields in this object. 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.