I am using the TImage class to process images in ROOT. I want to make a greyscale image black and white by choosing a threshold value and applying this to the image. Can I alter the pointer acquired from GetArgbArray() and then apply this to the image?
If not, how do I obtain and change the ImageData used by SetImage?