Classification based on spectral library

Thank you a lot ABrau, it worked! Now I’ve to read a little to understand the results. But I’m curious about the material abundance has a total blank image, with all the pixel «1» as value. Maybe I have to adjust the minimum band with another value diferent from 10nm or change the spectral unmixing model. I will place here the input values and output to share this experience, maybe something isn’t right.

Input:

output:
imagem