Configuration of hyperspectral and multispectral imaging systems