Home
last modified time | relevance | path

Searched refs:maxDisplacement (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/samples/tapi/
Dtvl1_optical_flow.cpp46 float maxDisplacement = 1.0f; in getFlowField() local
57 if (d > maxDisplacement) in getFlowField()
58 maxDisplacement = d; in getFlowField()
75 …w[j][1] = static_cast<unsigned char> (mapValue (-ptr_v[j], -maxDisplacement, maxDisplacement, 0.0f… in getFlowField()
76 …w[j][2] = static_cast<unsigned char> (mapValue ( ptr_u[j], -maxDisplacement, maxDisplacement, 0.0f… in getFlowField()
/external/opencv3/samples/gpu/
Dopticalflow_nvidia_api.cpp203 float maxDisplacement = 1.0f; in ShowFlow() local
210 if (d > maxDisplacement) maxDisplacement = d; in ShowFlow()
231 …els)[1] = static_cast<unsigned char> (MapValue (-(*ptr_v), -maxDisplacement, maxDisplacement, 0.0f… in ShowFlow()
232 …els)[2] = static_cast<unsigned char> (MapValue (*ptr_u , -maxDisplacement, maxDisplacement, 0.0f… in ShowFlow()