max_pixel

Contents

max_pixel#

scarlet2.measure.max_pixel(component)[source]#

Determine pixel with maximum value

Parameters:

component (Component or array) – Component to analyze or its hyperspectral model

Returns:

Coordinates of the brightest pixel in pixel coordinates or in the model frame (if component has a bbox)

Return type:

array