iat_flow2rgb

RGBIM = iat_flow2rgb( FX, FY, DISPRANGE )

iat_flow2rgb creates an RGB image (RGBIM) from the dense displacements (flows) FX and FY. The angle of each displacement vector is translated to a color through a colomap. DISPRANGE is an optional parameter that defines the allowable range of DISPLACEMENT (e.g. [min_flow, max_flow]).

Input arguments:

FX Array with horizontal displacements or flows
FY Array with vertical displacements
DISPRANGE The allowable range of displacements (optional). Default: [-1e9, 1e9]

Output arguments:

RGBIM The output RGB image

 

Back to Index