Is there a way to programatically(or manually) delete a channel in QuPath? I’ve looked around the code base but can’t seem to figure out to delete a channel. I don’t see anything in ImageServer or ImageServerBuilder that would help me.
Problem: I used a script to create a ConcatChannelsImageServer of NDPI files (I know NDPIS is supported but my files are malformed and don’t work properly with Bioformats. I can’t get the scientists to change their behavior with regard to scanner settings so i’m stuck doing this).
The problem with my method however is that I have 6 or 9 channel files instead of a 2 or 3 channel files(Depending on how many files I concat). This works fine, but it’d be nicer if I didn’t have to deal with the empty channels.