openpiv.pyprocess.get_coordinates

static pyprocess.get_coordinates(image_size, window_size, overlap)

Compute the x, y coordinates of the centers of the interrogation windows.

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 :

x : 2d np.ndarray

a two dimensional array containing the x coordinates of the interrogation window centers, in pixels.

y : 2d np.ndarray

a two dimensional array containing the y coordinates of the interrogation window centers, in pixels.

Previous topic

openpiv.pyprocess.correlate_windows

Next topic

openpiv.pyprocess.get_field_shape

This Page