openpiv.pyprocess.get_field_shape

static pyprocess.get_field_shape(image_size, window_size, overlap)

Compute the shape of the resulting flow field.

Given the image size, the interrogation window size and the overlap size, it is possible to calcualte the number of rows and columns of the resulting flow field.

Parameters :

image_size: two elements tuple :

a two dimensional tuple for the pixel size of the image first element is number of rows, second element is the number of columns

window_size: int :

the final size of the interrogation window

overlap: int :

the number of pixel by which two adjacent interrogation window overlap.

Returns :

field_shape : two elements tuple

the shape of the resulting flow field

Previous topic

openpiv.pyprocess.get_coordinates

Next topic

openpiv.pyprocess.moving_window_array

This Page