• Parameters

    • dx: Mat
    • dy: Mat
    • threshold1: number
    • threshold2: number
    • Optional L2gradient: boolean

    Returns Mat