Grid and Velocimetry

motion.add_grid_points(grid: Grid, list_points: list) Grid[source]

Add grid points (list points is X/Y list)

motion.crop_grid(grid: Grid, tool: Mask | ROI | tuple) Grid[source]

Crop grid using tool : - ortho-mask (removing points outside the mask) - ROI : bounds in real reference system (xmin, ymin, xmax, ymax) - tuple : bounds in image reference system (i_min, j_min, i_max, j_max)

motion.compute_piv(fs_in: OrthoFrameStack, grid: Grid, piv_param: PIVParams, res: VelocimetryResults = None) VelocimetryResults[source]

Compute PIV between two images and append to results