I have been running some tests with otbcli_SpectralAngleClassification on MacOS v. 7.2.0. Testing thus far seems to yield reasonable results on a small test ROI image. This small test image does not contain any nodata values. As I have scaled up the test of otbcli_SpectralAngleClassification to a much larger image (which does contain nodata values), I have noticed that the nodata values appear to be included in the first endmember class rather than being retained as the background value (-bv 0). So, I guess I am curious how nodata values are being handled in the otbcli_SpectralAngleClassification. I also did not see the availability of a parameter for a validity mask or image validity mask in this application. Am I missing that flag to handle the nodata values in the image or is there another way to deal with nodata values within otbcli_SpectralAngleClassification that someone would be able to advise on?
As always thank you for your kind assistance.