Basic operations for handling optical flow vector fields:
load/saveto.flofileformat¹colorflowto visualize the flow field
using OpticalFlowUtils, FileIO, Plots
x = load("input.flo")
plot(colorflow(x))
save("output.flo", x)- loaded flow fields have type
Array{Union{Missing, Float32}, 3}with size(2, height, width). - flow direction is given in the image coordinate system (i.e. first y downwards, the x rightwards) as usual for images.