Class GroupedSharedState<S,T>
Object
GroupedSharedState<S,T>
- Type Parameters:
S- individual-typeT- aggregate-type
Commonality between shared state for grouped export tasks.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionGroupedSharedState(Optional<InputGrouper> grouper, Function<ConsistentChannelChecker, GroupMapByName<S, T>> createGroupMap) Creates a newGroupedSharedStateinstance. -
Method Summary
Modifier and TypeMethodDescriptionChecks thatChannels have a consistent voxel-data type.Checks that each image provides a consistent set of channels, and that they have the same RGB-state.How to group the inputs.Gets the group map, creating it if it doesn't exist yet.
-
Constructor Details
-
GroupedSharedState
public GroupedSharedState(Optional<InputGrouper> grouper, Function<ConsistentChannelChecker, GroupMapByName<S, T>> createGroupMap) Creates a newGroupedSharedStateinstance.- Parameters:
grouper- How to group the inputs.createGroupMap- How to create the group-map when needed.
-
-
Method Details
-
getGroupMap
Gets the group map, creating it if it doesn't exist yet.- Returns:
- the
GroupMapByNameinstance.
-
getChannelChecker
Checks thatChannels have a consistent voxel-data type. -
getChannelNamesChecker
Checks that each image provides a consistent set of channels, and that they have the same RGB-state. -
getGrouper
How to group the inputs.
-