Class ImageDisplaySettings

java.lang.Object
qupath.lib.display.settings.ImageDisplaySettings

public class ImageDisplaySettings extends Object
A simple class to store the main information needed by QuPath to display an image, in a JSON-friendly form.
  • Constructor Details

    • ImageDisplaySettings

      public ImageDisplaySettings()
  • Method Details

    • create

      public static ImageDisplaySettings create(String name, double gamma, boolean invertBackground, List<ChannelSettings> channels)
      Create a new image display settings object.
      Parameters:
      name -
      gamma -
      invertBackground -
      channels -
      Returns:
    • getName

      public String getName()
      Get the name of the settings.
      Returns:
    • getGamma

      public double getGamma()
      Get the requested vamma value for the viewer.
      Returns:
    • invertBackground

      public boolean invertBackground()
      Get whether the background should be shown 'inverted'. This can make a fluorescence image look more like a brightfield image, and vice versa.
      Returns:
    • getChannels

      public List<ChannelSettings> getChannels()
      Get all the available channels.
      Returns: