I used Spectral Angle Mapper to pull out pixels of interest to me, which creates a binary image, where those pixels with value 1 are pixels of interest. Specifically, I applied SAM to locate pixels which represent only sunlit vine leaves in a vineyard scene. How can I now use the SAM classified image to pull out only the vine pixels (with associated 272 bands) from the larger vineyard scene? I would like to only operate on those pixels which I pull out as vine pixels and not all pixels in the vineyard scene.
|