empty#
- rlemasklib.empty(imshape=None, imsize=None)[source]#
Create an empty (fully background) 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-background RLE mask dictionary.