Package qupath.lib.gui.commands
Class BrightnessContrastCommand
java.lang.Object
qupath.lib.gui.commands.BrightnessContrastCommand
- All Implemented Interfaces:
Runnable
Command to show a Brightness/Contrast dialog to adjust the image display.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a string expression to draw attention to any warnings associated with the current display settings.void
run()
-
Constructor Details
-
BrightnessContrastCommand
Constructor.- Parameters:
qupath
-
-
-
Method Details
-
run
public void run() -
infoMessage
Get a string expression to draw attention to any warnings associated with the current display settings. This can be used to notify the user that something is amiss, even if the dialog is not open.- Returns:
- a string expression that evaluates to the warning text, or null if there are no warnings
-