colorCode

Draw color-coded optical flow.

Slice!(SliceKind.contiguous, [3], ubyte*)
colorCode
(
Slice!(SliceKind.contiguous, [3], float*) flow
,
float maxSize = 0
)

Parameters

flow
Type: Slice!(SliceKind.contiguous, [3], float*)

Optical flow displacement vectors.

maxSize
Type: float

Value which is considered to be the maximal displacement value for color saturation. Default is 0, which gets reset in the algorithm to 10% of image diagonal length.

Return Value

Type: Slice!(SliceKind.contiguous, [3], ubyte*)

RGB image of color-coded optical flow.

Meta