Class StackCopierAtBox
Object
org.anchoranalysis.image.bean.nonbean.spatial.arrange.StackCopierAtBox
public class StackCopierAtBox extends Object
Copies a
source stack into a destination stack at a particular BoundingBox.
Ordinarily both source and destination must have an identical number of
channels. However, exceptionally, if source is single-channeled it is replicated as
needed to match destination.
- Author:
- Owen Feehan
-
Method Summary
Modifier and Type Method Description static voidcopyImageInto(Stack source, Stack destination, org.anchoranalysis.spatial.box.BoundingBox box)Copies asourcestack into adestinationstack at a particularBoundingBox.
-
Method Details
-
copyImageInto
public static void copyImageInto(Stack source, Stack destination, org.anchoranalysis.spatial.box.BoundingBox box)Copies asourcestack into adestinationstack at a particularBoundingBox.- Parameters:
source- the stack that is copied (either singled-channeled or containing the same number of channels asdestination.destination- the stack into whichsourceis copied.box- the bounding-box indestinationinto whichsourceis copied.
-