Closed ncullen93 closed 1 month ago
RGB does provide some extra functionality for some filters in the RGB space. I don't use them myself, though.
What I would like to have is the ability to write a vector image as an RGB or RGBA file.
Thanks @ncullen93 . I don't think I've ever used this functionality through ANTsPy. I'm fine with removing it for now and perhaps revisiting once RGB support has expanded.
The ConvertScalarImageToRGB function from ANTs cannot be wrapped due to some unsolvable errors. RGB images are basically insufficiently supported in antspy right now. The easiest option would be to remove rgb support and treat any such images as vector images. Otherwise they need better support.
The main question is whether rgb images are useful for anything other than visualization? The plotting part is already handled by matplotlib colormaps, so if not then they should probably be removed.