harrisCorners

Calculate per-pixel corner impuls response using Harris corner detector.

Slice!(SliceKind.contiguous, [2], OutputType*)
harrisCorners
(
InputType
OutputType = InputType
SliceKind inputKind
)
(
Slice!(inputKind, [2], InputType*) image
,
in uint winSize = 3
,
in float k = 0.64f
,
in float gauss = 0.84f
,
Slice!(SliceKind.contiguous, [2], OutputType*) prealloc = emptySlice!([2], OutputType)
,
TaskPool pool = taskPool
)

Parameters

image Slice!(inputKind, [2], InputType*)

Input image slice.

winSize uint

Window (square) size used in corner detection.

k float

Sensitivity parameter defined in the algorithm.

gauss float

Gauss sigma value used as window weighting parameter.

prealloc Slice!(SliceKind.contiguous, [2], OutputType*)

Optional pre-allocated buffer for return response image.

pool TaskPool

TaskPool instance used parallelise the algorithm.

Return Value

Type: Slice!(SliceKind.contiguous, [2], OutputType*)

Response matrix the same size of the input image, where each pixel represents corner response value - the bigger the value, more probably it represents the actual corner in the image.

Meta