Import Examples

PyImageLabeling supports three annotation formats. This section provides one import tutorial for each format:

Format Dataset Description
Binary Mask Flood Area Segmentation 8-bit grayscale PNG — one foreground value (255) for a single class
Indexed PNG Oxford-IIIT Pet Dataset 8-bit indexed PNG — integer pixel values, each identifying a class or region
RGB Colour Mask CamVid RGB PNG — a unique color per class, defined in a color dictionary

Importing labels is only available for the pixel-by-pixel labeling mode. It is not yet supported for the geometric shapes mode (coming in a future version).


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.