Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.66 KB

from-grayscale-is.md

File metadata and controls

37 lines (32 loc) · 1.66 KB

from-grayscale-is

  • generates: idc.api.ImageSegmentationData

Loads the annotations from associated grayscale PNG files.

usage: from-grayscale-is [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                         [-N LOGGER_NAME] [-i [INPUT [INPUT ...]]]
                         [-I [INPUT_LIST [INPUT_LIST ...]]]
                         [--image_path_rel PATH] [--labels LABEL [LABEL ...]]
                         [--background BACKGROUND]

Loads the annotations from associated grayscale PNG files.

optional arguments:
  -h, --help            show this help message and exit
  -l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        The logging level to use. (default: WARN)
  -N LOGGER_NAME, --logger_name LOGGER_NAME
                        The custom name to use for the logger, uses the plugin
                        name by default (default: None)
  -i [INPUT [INPUT ...]], --input [INPUT [INPUT ...]]
                        Path to the PNG file(s) to read; glob syntax is
                        supported (default: None)
  -I [INPUT_LIST [INPUT_LIST ...]], --input_list [INPUT_LIST [INPUT_LIST ...]]
                        Path to the text file(s) listing the text PNG to use
                        (default: None)
  --image_path_rel PATH
                        The relative path from the annotations to the images
                        directory (default: None)
  --labels LABEL [LABEL ...]
                        The labels that the indices represent. (default: None)
  --background BACKGROUND
                        The index (0-255) that is used for the background
                        (default: 0)