Spatial-spectral endmember extraction from remotely sensed hyperspectral images using the watershed transformation