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 voidwriteStackAfterCheck(Stack stack, Path filePath) Writes theStackto 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, writeStackMethods inherited from class org.anchoranalysis.image.io.bean.stack.writer.StackWriter
fileFormatWarnUnexpected, writeStackWithExtensionMethods 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:OneOrThreeChannelsWriterWrites theStackto the file-system, after a check has already occurred that the correct number of channels exist.- Specified by:
writeStackAfterCheckin classOneOrThreeChannelsWriter- Parameters:
stack- the stack to write.filePath- the path to write the image to.- Throws:
ImageIOException- if unable to successfully write the image.
-