public class CreateStackFromBufferedImage extends Object
BufferedImage
from the AWT library to a Stack
.Modifier and Type | Method and Description |
---|---|
static Stack |
createFrom(BufferedImage bufferedImage)
Create a
Stack by converting a BufferedImage . |
public static Stack createFrom(BufferedImage bufferedImage) throws OperationFailedException
Stack
by converting a BufferedImage
.bufferedImage
- the image to convert.Stack
with identical voxels to bufferedImage
.OperationFailedException
- if the conversaion cannot complete successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.