tile#
- rlemasklib.RLEMask.tile(num_h, num_w)[source]#
Tile the mask multiple times along the axes, analogous to
np.tile.This repeats the mask num_h times along the vertical axis and num_w times along the horizontal axis.
- Parameters:
- Returns:
A new RLEMask object representing the tiled mask.
- Return type:
Examples
Tile the mask 2x vertically and 3x horizontally:
.tile(2, 3) ==See also
Not to be confused with
repeat()