openpiv_cxx.process.get_rect_coordinates¶
- openpiv_cxx.process.get_rect_coordinates(image_size, window_size=32, overlap=16)¶
Same as get_coordinates, except for rectangualr windows.
Compute the x, y coordinates of the centers of the interrogation windows. the origin (0,0) is like in the image, top left corner positive x is an increasing column index from left to right positive y is increasing row index, from top to bottom
- Parameters:
image_size (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 | tuple) – The size of the (square) interrogation window.
overlap (int | tuple) – The number of pixel by which two adjacent interrogation windows overlap.
- Returns:
x (ndarray) – A two dimensional array containing the x coordinates of the interrogation window centers, in pixels.
y (ndarray) – A two dimensional array containing the y coordinates of the interrogation window centers, in pixels.