A TextureCam distinguishes a rock outcrop and sediment in a training image. Credit: Caltech/ NASA/JPL