public interface DisplaySettings
DisplayManager
displaySettingsBuilder()
method or by using one of the copy() methods of an existing DisplaySettings instance.
This class uses a Builder pattern. Please see
https://micro-manager.org/wiki/Using_Builders for more information.Modifier and Type | Interface and Description |
---|---|
static interface |
DisplaySettings.Builder
Builder for DisplaySettings.
|
static class |
DisplaySettings.ColorMode
ColorMode enums.
|
static interface |
DisplaySettings.ContrastSettings
Deprecated.
TODO: explain
|
static interface |
DisplaySettings.DisplaySettingsBuilder
Deprecated.
Use DisplaySettings.Builder instead
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILENAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DisplaySettings.DisplaySettingsBuilder |
copy()
Deprecated.
|
DisplaySettings.Builder |
copyBuilder() |
DisplaySettings.Builder |
copyBuilderWithChannelSettings(int channel,
ChannelDisplaySettings settings) |
DisplaySettings.Builder |
copyBuilderWithComponentSettings(int channel,
int component,
ComponentDisplaySettings settings) |
java.util.List<java.awt.Color> |
getAllChannelColors() |
java.util.List<ChannelDisplaySettings> |
getAllChannelSettings() |
java.util.List<java.lang.Boolean> |
getAllChannelVisibilities() |
double |
getAutoscaleIgnoredPercentile()
When autoscaling, the minimum value will have this fraction of pixels
with lower intensities, and the maximum value will have this fraction
of pixels with higher intensities.
|
double |
getAutoscaleIgnoredQuantile()
When autoscaling, the minimum value will have this fraction of pixels
with lower intensities, and the maximum value will have this fraction
of pixels with higher intensities.
|
java.awt.Color |
getChannelColor(int channel) |
DisplaySettings.ColorMode |
getChannelColorMode()
Deprecated.
- use getColorMode() instead
|
DisplaySettings.ContrastSettings[] |
getChannelContrastSettings()
Deprecated.
|
ChannelDisplaySettings |
getChannelSettings(int channel) |
DisplaySettings.ColorMode |
getColorMode()
Color mode or lookup table for displaying the image.
|
int |
getNumberOfChannels()
Returns the number of channels in these DisplaySettings
Note that this number may be different from the number of the channels
in the image being shown.
|
double |
getPlaybackFPS() |
java.lang.Double |
getSafeContrastGamma(int index,
int component,
java.lang.Double defaultVal)
Deprecated.
|
java.lang.Integer |
getSafeContrastMax(int index,
int component,
java.lang.Integer defaultVal)
Deprecated.
|
java.lang.Integer |
getSafeContrastMin(int index,
int component,
java.lang.Integer defaultVal)
Deprecated.
|
DisplaySettings.ContrastSettings |
getSafeContrastSettings(int index,
DisplaySettings.ContrastSettings defaultVal)
Deprecated.
|
java.lang.Boolean |
getSafeIsVisible(int index,
java.lang.Boolean defaultVal)
Deprecated.
|
java.lang.Boolean |
getShouldSyncChannels()
Deprecated.
|
double |
getZoomRatio()
Zoom level expressed as a ratio (i.e.
|
boolean |
isAutoscaleIgnoringZeros()
When autoscaling, take zero values into account or not?
This can be useful for images that contain artificial zero values.
|
boolean |
isAutostretchEnabled()
Whether to continuously apply autoscale.
|
boolean |
isChannelVisible(int channel) |
boolean |
isHistogramLogarithmic()
Whether the y-axis of the histogram uses a logarithmic or linear scale.
|
boolean |
isROIAutoscaleEnabled()
Whether to only look at the ROI when autoscaling.
|
boolean |
isUniformChannelScalingEnabled()
Whether to use the same intensity scaling for every channel.
|
@Deprecated static final java.lang.String FILENAME
double getZoomRatio()
double getPlaybackFPS()
DisplaySettings.ColorMode getColorMode()
boolean isUniformChannelScalingEnabled()
boolean isAutostretchEnabled()
boolean isROIAutoscaleEnabled()
double getAutoscaleIgnoredQuantile()
double getAutoscaleIgnoredPercentile()
boolean isAutoscaleIgnoringZeros()
boolean isHistogramLogarithmic()
int getNumberOfChannels()
ChannelDisplaySettings getChannelSettings(int channel)
java.util.List<ChannelDisplaySettings> getAllChannelSettings()
java.util.List<java.awt.Color> getAllChannelColors()
java.awt.Color getChannelColor(int channel)
java.util.List<java.lang.Boolean> getAllChannelVisibilities()
boolean isChannelVisible(int channel)
DisplaySettings.Builder copyBuilder()
DisplaySettings.Builder copyBuilderWithChannelSettings(int channel, ChannelDisplaySettings settings)
DisplaySettings.Builder copyBuilderWithComponentSettings(int channel, int component, ComponentDisplaySettings settings)
@Deprecated DisplaySettings.DisplaySettingsBuilder copy()
@Deprecated DisplaySettings.ContrastSettings[] getChannelContrastSettings()
@Deprecated DisplaySettings.ContrastSettings getSafeContrastSettings(int index, DisplaySettings.ContrastSettings defaultVal)
index
- Channel index to get the ContrastSettings fordefaultVal
- Default value to return if no contrast setting is
available.@Deprecated java.lang.Integer getSafeContrastMin(int index, int component, java.lang.Integer defaultVal)
index
- Channel index to get the contrast min for.component
- Component index to get the contrast min for.defaultVal
- Default value to return if no contrast min is
available.@Deprecated java.lang.Integer getSafeContrastMax(int index, int component, java.lang.Integer defaultVal)
index
- Channel index to get the contrast max for.component
- Component index to get the contrast max for.defaultVal
- Default value to return if no contrast max is
available.@Deprecated java.lang.Double getSafeContrastGamma(int index, int component, java.lang.Double defaultVal)
index
- Channel index to get the contrast gamma for.component
- Component index to get the contrast gamma for.defaultVal
- Default value to return if no contrast gamma is
available.@Deprecated java.lang.Boolean getSafeIsVisible(int index, java.lang.Boolean defaultVal)
index
- Channel index to get visibility for.defaultVal
- Default value to return if no visibility is available.@Deprecated DisplaySettings.ColorMode getChannelColorMode()
@Deprecated java.lang.Boolean getShouldSyncChannels()