Tile Origin
get_tile_origin(v_pairs, v_shifts, h_pairs, h_shifts, n_tiles, home_tile)
This finds the origin of each tile in a global coordinate system based on the shifts between overlapping tiles.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
v_pairs |
np.ndarray
|
|
required |
v_shifts |
np.ndarray
|
|
required |
h_pairs |
np.ndarray
|
|
required |
h_shifts |
np.ndarray
|
|
required |
n_tiles |
int
|
Number of tiles (including those not used) in data set. |
required |
home_tile |
int
|
Index of tile that is anchored to a fixed coordinate when finding tile origins. It should be the tile nearest to the centre. |
required |
Returns:
Type | Description |
---|---|
np.ndarray
|
|
Source code in coppafish/stitch/tile_origin.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|