detailEnhance
import { detailEnhance } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst, sigma_s, sigma_r
FUNCTIONdetailEnhance
RETURN TYPEvoid
This filter enhances the details of a particular image.
detailEnhance(src: Mat, dst: Mat, sigma_s: number, sigma_r: number): void;3 available overloads
detailEnhance(src: Mat, dst: Mat): void;detailEnhance(src: Mat, dst: Mat, sigma_s: number): void;detailEnhance(src: Mat, dst: Mat, sigma_s: number, sigma_r: number): void;srcInput 8-bit 3-channel image.
dstOutput destination, filled by the native operation. Output image with the same size and type as src.
sigma_s%Range between 0 to 200.
sigma_r%Range between 0 to 1.
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.