max_pixel#
- scarlet2.measure.max_pixel(component)[source]#
Determine pixel with maximum value
- Parameters:
component (
Componentorarray) – 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