public static interface ComponentDisplaySettings.Builder
| Modifier and Type | Method and Description |
|---|---|
ComponentDisplaySettings |
build() |
default ComponentDisplaySettings.Builder |
floatScalingMaximum(double maxIntensity)
Sets the scaling maximum as an actual pixel value, for floating point images.
|
default ComponentDisplaySettings.Builder |
floatScalingMinimum(double minIntensity)
Sets the scaling minimum as an actual pixel value, for floating point images.
|
default ComponentDisplaySettings.Builder |
floatScalingRange(double minIntensity,
double maxIntensity)
Sets both float scaling bounds as actual pixel values.
|
ComponentDisplaySettings.Builder |
scalingGamma(double gamma) |
ComponentDisplaySettings.Builder |
scalingMaximum(long maxIntensity) |
ComponentDisplaySettings.Builder |
scalingMinimum(long minIntensity) |
ComponentDisplaySettings.Builder |
scalingRange(ComponentIntensityRange range)
Sets both minimum and maximum scaling values from a
ComponentIntensityRange. |
ComponentDisplaySettings.Builder |
scalingRange(long minIntensity,
long maxIntensity) |
ComponentDisplaySettings.Builder scalingMinimum(long minIntensity)
ComponentDisplaySettings.Builder scalingMaximum(long maxIntensity)
ComponentDisplaySettings.Builder scalingRange(long minIntensity, long maxIntensity)
ComponentDisplaySettings.Builder scalingRange(ComponentIntensityRange range)
ComponentIntensityRange.
Convenience overload for
scalingRange(range.getMinimum(), range.getMaximum()).
range - source of min/max valuesComponentDisplaySettings.Builder scalingGamma(double gamma)
default ComponentDisplaySettings.Builder floatScalingMinimum(double minIntensity)
For float images the long-valued scalingMinimum(long) is not usable,
since the interesting range is rarely integral. Pass Double.NaN to clear
the float scaling and fall back to the long-valued setting.
The default implementation ignores the value, so that builders written before float scaling existed keep compiling; they simply carry no float range.
minIntensity - pixel value, or NaN to unsetdefault ComponentDisplaySettings.Builder floatScalingMaximum(double maxIntensity)
maxIntensity - pixel value, or NaN to unsetfloatScalingMinimum(double)default ComponentDisplaySettings.Builder floatScalingRange(double minIntensity, double maxIntensity)
minIntensity - pixel value, or NaN to unsetmaxIntensity - pixel value, or NaN to unsetfloatScalingMinimum(double)ComponentDisplaySettings build()