full#
- rlemasklib.full(imshape=None, imsize=None)[source]#
Create a full (fully foreground) RLE mask of the given size.
- Parameters:
imshape – [height, width] of the desired mask (either this or imsize must be provided)
imsize – [width, height] of the desired mask (either this or imshape must be provided)
- Returns:
A fully-foreground RLE mask.
- Return type: