Target recognition in hyperspectral images