public static interface DisplaySettings.Builder
DisplayManager
displaySettingsBuilder()
method or by using one of the copy() methods of an existing DisplaySettings instance.Modifier and Type | Method and Description |
---|---|
DisplaySettings.Builder |
autoscaleIgnoredPercentile(double percentile) |
DisplaySettings.Builder |
autoscaleIgnoredQuantile(double quantile) |
DisplaySettings.Builder |
autoscaleIgnoringZeros(boolean ignoreZeros) |
DisplaySettings.Builder |
autostretch(boolean enable)
Whether to continuously apply autoscale.
|
DisplaySettings |
build() |
DisplaySettings.Builder |
channel(int channel)
Increases the number of ChannelDisplaySettings in this Builder to
the given number.
|
DisplaySettings.Builder |
channel(int channel,
ChannelDisplaySettings settings)
Sets the ChannelDisplaySettings for the given channel.
|
DisplaySettings.Builder |
channels(java.lang.Iterable<ChannelDisplaySettings> channelSettings)
Replaces ChannelDisplaySettings with those given.
|
DisplaySettings.Builder |
colorMode(DisplaySettings.ColorMode mode)
Color mode or lookup table for displaying the image.
|
DisplaySettings.Builder |
colorModeComposite() |
DisplaySettings.Builder |
colorModeGrayscale() |
DisplaySettings.Builder |
colorModeHighlightSaturated() |
DisplaySettings.Builder |
colorModeSingleColor() |
ChannelDisplaySettings |
getChannelSettings(int channel)
Returns the ChannelDisplaySettings for the given channel number.
|
int |
getNumberOfChannels()
Number of ChannelDisplaySettings in this builder.
|
DisplaySettings.Builder |
histogramLogarithmic(boolean histogramLogarithmic)
Whether the histogram should be shown with a logarithmic (true)
or linear (false) y-axis.
|
DisplaySettings.Builder |
playbackFPS(double fps) |
DisplaySettings.Builder |
roiAutoscale(boolean enable) |
DisplaySettings.Builder |
uniformChannelScaling(boolean enable)
Whether to use the same intensity scaling for every channel.
|
DisplaySettings.Builder |
zoomRatio(double ratio) |
DisplaySettings.Builder zoomRatio(double ratio)
DisplaySettings.Builder playbackFPS(double fps)
DisplaySettings.Builder colorMode(DisplaySettings.ColorMode mode)
mode
- ColorMode to appplyDisplaySettings.Builder colorModeComposite()
DisplaySettings.Builder colorModeGrayscale()
DisplaySettings.Builder colorModeSingleColor()
DisplaySettings.Builder colorModeHighlightSaturated()
DisplaySettings.Builder uniformChannelScaling(boolean enable)
enable
- flagDisplaySettings.Builder autostretch(boolean enable)
enable
- flagDisplaySettings.Builder roiAutoscale(boolean enable)
DisplaySettings.Builder autoscaleIgnoredQuantile(double quantile)
DisplaySettings.Builder autoscaleIgnoredPercentile(double percentile)
DisplaySettings.Builder autoscaleIgnoringZeros(boolean ignoreZeros)
DisplaySettings.Builder histogramLogarithmic(boolean histogramLogarithmic)
histogramLogarithmic
- true when y-axis should be logarithmic.DisplaySettings.Builder channel(int channel)
channel
- Final number of ChannelDisplaySettingsDisplaySettings.Builder channel(int channel, ChannelDisplaySettings settings)
channel
- Indicates the number of the channel for which to set
the DisplaySettingsDisplaySettings.Builder channels(java.lang.Iterable<ChannelDisplaySettings> channelSettings)
channelSettings
- iterable with ChannelDisplaySettings to replace the current
ones. Can be empty or null, in which case ChannelDisplaySettings
will be removed from this builder.int getNumberOfChannels()
ChannelDisplaySettings getChannelSettings(int channel)
channel
- Number (index) of the requested channelDisplaySettings build()