Returns a 3x3 Kirsch's Compass edge-detection kernel. Args: magnitude: Scale each value by this amount. normalize: Normalize the kernel values to sum to 1.
(
magnitude: _arg_types.Number | None = None,
normalize: _arg_types.Bool | None = None,
)
| 263 | |
| 264 | @staticmethod |
| 265 | def kirsch( |
| 266 | magnitude: _arg_types.Number | None = None, |
| 267 | normalize: _arg_types.Bool | None = None, |
| 268 | ) -> Kernel: |
| 269 | """Returns a 3x3 Kirsch's Compass edge-detection kernel. |
| 270 | |
| 271 | Args: |
| 272 | magnitude: Scale each value by this amount. |
| 273 | normalize: Normalize the kernel values to sum to 1. |
| 274 | """ |
| 275 | |
| 276 | return apifunction.ApiFunction.call_('Kernel.kirsch', magnitude, normalize) |
| 277 | |
| 278 | @staticmethod |
| 279 | def laplacian4( |