Class CreateStackFromBufferedImage
Object
CreateStackFromBufferedImage
Converts a
BufferedImage
from the AWT library to a Stack
.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stack
createFrom
(BufferedImage bufferedImage) Create aStack
by converting aBufferedImage
.
-
Method Details
-
createFrom
Create aStack
by converting aBufferedImage
.- Parameters:
bufferedImage
- the image to convert.- Returns:
- a newly created
Stack
with identical voxels tobufferedImage
. - Throws:
OperationFailedException
- if the conversaion cannot complete successfully.
-