sarkit.sidd.NitfWriter.write_legend

NitfWriter.write_legend(image_number, legend_number, array)

Write legend pixel data to a NITF file

Parameters:
image_numberint

index of SIDD Product containing the legend

legend_numberint

index of legend within SIDD Product image to write

arrayndarray

2D array of pixels