This tool can be used to plot an image stack profile (i.e. a signature) for a set of points (points
) and a multispectral image stack (inputs
). The tool outputs an interactive SVG line graph embedded in an HTML document. If the input points vector contains multiple points, each input point will be associated with a single line in the output plot. The order of vertices in each signature line is determined by the order of images specified in the inputs
parameter. At least two input images are required to run this operation. Note that this tool does not require multispectral images as inputs; other types of data may also be used as the image stack. Also note that the input images should be single-band, continuous greytone rasters. RGB colour images are not good candidates for this tool.
If you require the raster values to be saved in the vector points file's attribute table, or if you need the raster values to be output as text, you may use the extract_raster_values_at_points tool instead.
extract_raster_values_at_points
def image_stack_profile(self, images: List[Raster], points: Vector, output_html_file: str) -> None: ...