Linear feature detection for hyperspectral subpixel mapping