Hi all, I have QuPath 0.2.0-m9. I have run the code below to change RGB values for my Project (10 .ndpis images). Then I go to File-> Reload data and it seems to work. When I start checking the images one by one for some reason the program freezes and it goes back to the original RGB settings. Any thoughts?
// Get access to the display info for each channel //This function changed between 0.1.2 and 0.2.0, in 0.2.0 use viewer.getImageDisplay().availableChannels() def viewer = getCurrentViewer() def channels = viewer.getImageDisplay().availableChannels() // Set the LUT color for the first channel & repaint channels.setLUTColor(0, 0, 255) channels.setLUTColor(0, 255, 0) channels.setLUTColor(255, 0, 255) channels.setLUTColor(255, 0, 0) // Ensure the updates are visible viewer.repaintEntireImage() // Usually a good idea to print something, so we know it finished print 'Done!'