pysdic.workflows.OpticalFlowDisplacementResult#
- class OpticalFlowDisplacementResult(displacement, ray_distances, image_points_ref, image_points_def)[source]#
Bases:
objectResult of
pysdic.workflows.compute_optical_flow_displacement().The arrays are indexed by the vertices of the mesh of the analysis. A vertex that could not be measured in all the deformed views (outside an image, flow not defined, behind a camera) has a NaN
displacementandray_distances, and NaN image points in the views from the one where it was lost.- Parameters:
- displacement#
The estimated displacement of the vertices at the deformed frame, of shape \((N_v, 3)\), relative to the coordinates of the mesh.
- Type:
- ray_distances#
For each vertex, the largest distance between the triangulated point and the rays of the deformed views, of shape \((N_v,)\), in the unit of the mesh. Zero for a perfect matching: large values reveal wrong matchings.
- Type:
- image_points_ref#
The image points of the vertices in the reference view (projection of the mesh displaced by the displacement of the reference frame), of shape \((N_v, 2)\).
- Type:
- image_points_def#
The image points of the vertices measured by optical flow in each deformed view, of shape \((K, N_v, 2)\), in the order of
def_views.- Type: