public abstract class StackArranger extends AnchorBean<StackArranger>
RGBStack
s when combined onto a
single plane.Constructor and Description |
---|
StackArranger() |
Modifier and Type | Method and Description |
---|---|
abstract StackArrangement |
arrangeStacks(Iterator<Extent> extents,
OperationContext context)
Arranges stacks to that they fit together in a single raster.
|
RGBStack |
combine(List<RGBStack> stacks,
VoxelsResizer resizer,
ChannelFactorySingleType factory,
OperationContext context)
|
RGBStack |
combine(List<RGBStack> stacks,
VoxelsResizer resizer,
OperationContext context)
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public RGBStack combine(List<RGBStack> stacks, VoxelsResizer resizer, OperationContext context) throws ArrangeStackException
stacks
- the images that will be combined.resizer
- resizes an image, if it doesn't match the bounding-box size for the copy
operation.context
- objects for the operation.RGBStack
with all stacks
copied into it.ArrangeStackException
- if there are more stacks
than can be arranged, or
otherwise an error occurs arranging them.public RGBStack combine(List<RGBStack> stacks, VoxelsResizer resizer, ChannelFactorySingleType factory, OperationContext context) throws ArrangeStackException
stacks
- the images that will be combined.resizer
- resizes an image, if it doesn't match the bounding-box size for the copy
operation.factory
- the factory used to create the new RGBStack
.context
- objects for the operation.RGBStack
with all stacks
copied into it.ArrangeStackException
- if there are more stacks
than can be arranged, or
otherwise an error occurs arranging them.public abstract StackArrangement arrangeStacks(Iterator<Extent> extents, OperationContext context) throws ArrangeStackException
extents
- the size of each respective stack for the arrangement.context
- objects for the operation.RGBStack
in the unified plane.ArrangeStackException
- if a bounding-box cannot be determined for any stack.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.