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