Class OpenCVWriter
Writes a stack to the file-system using OpenCV and a specified extension.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
writeStackAfterCheck
(Stack stack, Path filePath) Writes theStack
to the file-system, after a check has already occurred that the correct number of channels exist.Methods inherited from class org.anchoranalysis.image.io.bean.stack.writer.OneOrThreeChannelsWriter
fileFormat, getExtension, setExtension, writeStack
Methods inherited from class org.anchoranalysis.image.io.bean.stack.writer.StackWriter
fileFormatWarnUnexpected, writeStackWithExtension
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
OpenCVWriter
public OpenCVWriter()
-
-
Method Details
-
writeStackAfterCheck
Description copied from class:OneOrThreeChannelsWriter
Writes theStack
to the file-system, after a check has already occurred that the correct number of channels exist.- Specified by:
writeStackAfterCheck
in classOneOrThreeChannelsWriter
- Parameters:
stack
- the stack to write.filePath
- the path to write the image to.- Throws:
ImageIOException
- if unable to successfully write the image.
-