I am writing a geomatics program that takes GeoTiff images as input and allows the users to run analysis on these images. I would like the results of the analysis to become part of the image as a new band (in addition to the RGB bands). How can I do that? It would also be useful to know how to remove bands, or select which bands to be displayed.
I am also using the GeoTools API in case someone has experience with it.