public static interface DisplayIntensityRanges.Builder
DisplayIntensityRanges.
Obtain an instance via DisplayIntensityRanges.builder() or
DisplayIntensityRanges.copyBuilder().
| Modifier and Type | Method and Description |
|---|---|
DisplayIntensityRanges |
build()
Builds and returns the
DisplayIntensityRanges. |
DisplayIntensityRanges.Builder |
channelRanges(java.util.List<ChannelIntensityRanges> channelRanges)
Replaces all channel ranges with the given list.
|
DisplayIntensityRanges.Builder |
componentMaximum(int channel,
int component,
long max)
Sets only the maximum (white point) for a specific channel and component.
|
DisplayIntensityRanges.Builder |
componentMinimum(int channel,
int component,
long min)
Sets only the minimum (black point) for a specific channel and component.
|
DisplayIntensityRanges.Builder |
componentRange(int channel,
int component,
ComponentIntensityRange range)
Sets the range for a specific channel and component from a
ComponentIntensityRange. |
DisplayIntensityRanges.Builder |
componentRange(int channel,
int component,
long min,
long max)
Sets the range for a specific channel and component by explicit min/max values.
|
DisplayIntensityRanges.Builder |
componentRanges(int channel,
java.util.List<ComponentIntensityRange> ranges)
Replaces all component ranges for the given channel with the given list.
|
DisplayIntensityRanges.Builder componentRange(int channel, int component, long min, long max)
channel - zero-based channel indexcomponent - zero-based component index (e.g. 0=red, 1=green, 2=blue for RGB)min - black pointmax - white point (Long.MAX_VALUE = full camera range)DisplayIntensityRanges.Builder componentRange(int channel, int component, ComponentIntensityRange range)
ComponentIntensityRange.channel - zero-based channel indexcomponent - zero-based component indexrange - range to copy min/max fromDisplayIntensityRanges.Builder componentMinimum(int channel, int component, long min)
channel - zero-based channel indexcomponent - zero-based component indexmin - black pointDisplayIntensityRanges.Builder componentMaximum(int channel, int component, long max)
channel - zero-based channel indexcomponent - zero-based component indexmax - white point (Long.MAX_VALUE = full camera range)DisplayIntensityRanges.Builder componentRanges(int channel, java.util.List<ComponentIntensityRange> ranges)
channel - zero-based channel indexranges - list of ranges, one per component; index 0 is the first componentDisplayIntensityRanges.Builder channelRanges(java.util.List<ChannelIntensityRanges> channelRanges)
channelRanges - list of ChannelIntensityRanges, one per channelDisplayIntensityRanges build()
DisplayIntensityRanges.DisplayIntensityRanges