iota2.common.create_indexed_color_image

This module provides function to color images according a LUT

Functions

color_table_creation(file_lut[, logger, ...])

from a csv file create a gdal color table

create_indexed_color_image(psz_filename, ...)

from a labeled image (psz_filename), attribute a color described by file_lut and save it next to psz_filename with the suffix _ColorIndexed IN : pszFileName [string] : path to the image of classification file_lut [string] : path to the file.txt representing a color_table

get_color_table(color_file)

usage parse color file

write_color_table(convert_table_file, ...)

write color table