Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.88 KB

from-grayscale-is.md

File metadata and controls

45 lines (38 loc) · 1.88 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 ...]]
                         [-I [INPUT_LIST ...]] [--image_path_rel PATH]
                         [--labels LABEL [LABEL ...]]
                         [--background BACKGROUND]

Loads the annotations from associated grayscale PNG files.

options:
  -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 ...]
                        Path to the PNG file(s) to read; glob syntax is
                        supported; Supported placeholders: {HOME}, {CWD},
                        {TMP} (default: None)
  -I [INPUT_LIST ...], --input_list [INPUT_LIST ...]
                        Path to the text file(s) listing the text PNG to use;
                        Supported placeholders: {HOME}, {CWD}, {TMP} (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)

Available placeholders:

  • {HOME}: The home directory of the current user.
  • {CWD}: The current working directory.
  • {TMP}: The temp directory.