Uses of Class
org.anchoranalysis.image.io.ImageIOException
Packages that use ImageIOException
Package
Description
Bean classes for reading
ImageMetadata
from the
file-system.Bean classes for reading raster-files from the filesystem.
Bean classes for writing raster-files to the filesystem.
Non-bean classes for reading a
Channel
from the
filesystem.Non-bean classes for a mapping of names to
Channel
s.Non-bean classes for reading / writing a
Stack
from
and to the filesystem.Non-bean classes for reading a
Stack
from the
filesystem.Base classes for generators that ultimately write a
Stack
to the filesystem.Beans for filesystem I/O using Bioformats.
Writing stacks to the file system using the Bioformats library.
Reading metadata information from files using EXIF and/or other metadata headers.
Raster-writers that use ImageJ to write images to the filesystem.
Implementations of
InputManager
that process Stack
s.Different types of image-file-formats whose headers can provide
ImageMetadata
.Implementations of
ImageMetadataReader
.Implementations of
StackReader
.Implementations of
StackWriter
.Implementations of
Summarizer
that summarize
images.Non-bean classes to help use multiple files to represent a single
Stack
.Reading and writing metadata XML.
Fixtures for testing
StackWriter
and
related classes.-
Uses of ImageIOException in org.anchoranalysis.image.io.bean.stack.metadata.reader
Methods in org.anchoranalysis.image.io.bean.stack.metadata.reader that throw ImageIOExceptionModifier and TypeMethodDescriptionFromStackReader.openFile
(Path path, StackReader defaultStackReader, OperationContext context) abstract ImageMetadata
ImageMetadataReader.openFile
(Path path, StackReader defaultStackReader, OperationContext context) Opens a file containing one or more images but does not read an image. -
Uses of ImageIOException in org.anchoranalysis.image.io.bean.stack.reader
Methods in org.anchoranalysis.image.io.bean.stack.reader that throw ImageIOExceptionModifier and TypeMethodDescriptionabstract OpenedImageFile
StackReader.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) Opens a file containing one or more images.abstract OpenedImageFile
StackReaderOrientationCorrection.openFile
(Path path, CalculateOrientationChange orientationCorrection, ExecutionTimeRecorder executionTimeRecorder) Opens a file containing one or more images but does not read an image.StackReader.readStack
(Path path, OperationContext context) Opens a file atpath
that should contain only a single-stack. -
Uses of ImageIOException in org.anchoranalysis.image.io.bean.stack.writer
Methods in org.anchoranalysis.image.io.bean.stack.writer that return ImageIOExceptionModifier and TypeMethodDescriptionstatic <T extends StackWriter>
ImageIOExceptionWriterErrorMessageHelper.generalWriteException
(Class<T> writerClass, Path path, Exception cause) Creates aImageIOException
with an error message that image-writing failed.Methods in org.anchoranalysis.image.io.bean.stack.writer that throw ImageIOExceptionModifier and TypeMethodDescriptionOneOrThreeChannelsWriter.fileFormat
(StackWriteOptions writeOptions) abstract ImageFileFormat
StackWriter.fileFormat
(StackWriteOptions writeOptions) The file format that will be written by the generator.StackWriter.fileFormatWarnUnexpected
(StackWriteOptions writeOptions, Optional<Logger> logger) The file format that will be written by the generator, warning with a log message if different to suggestion.void
OneOrThreeChannelsWriter.writeStack
(Stack stack, Path filePath, StackWriteOptions options) abstract void
StackWriter.writeStack
(Stack stack, Path filePath, StackWriteOptions options) Writes a stack to the filesystem at a particular path.protected abstract void
OneOrThreeChannelsWriter.writeStackAfterCheck
(Stack stack, Path filePath) Writes theStack
to the file-system, after a check has already occurred that the correct number of channels exist.StackWriter.writeStackWithExtension
(Stack stack, Path filePath, StackWriteOptions options) Writes a stack to the filesystem at a particular path with an extension appended to the path. -
Uses of ImageIOException in org.anchoranalysis.image.io.channel.input
Methods in org.anchoranalysis.image.io.channel.input that throw ImageIOExceptionModifier and TypeMethodDescriptionabstract int
Bit-depth of image.abstract NamedChannelsMap
NamedChannelsInput.createChannelsForSeries
(int seriesIndex, Logger logger) Creates aNamedChannelsMap
representing the channels for a particular series in this input.abstract Dimensions
NamedChannelsInput.dimensions
(int seriesIndex, Logger logger) Dimensions of a particular series.abstract ImageMetadata
The image-metadata associated with a particular series.abstract int
NamedChannelsInput.numberChannels
(Logger logger) Number of channels.abstract int
NamedChannelsInput.numberSeries()
Number of series that exist. -
Uses of ImageIOException in org.anchoranalysis.image.io.channel.map
Methods in org.anchoranalysis.image.io.channel.map that throw ImageIOExceptionModifier and TypeMethodDescriptionNamedChannelsConcatenate.dimensions
(Logger logger) NamedChannelsMap.dimensions
(Logger logger) The dimensions of eachChannel
.OpenedNamedChannels.dimensions
(Logger logger) boolean
boolean
Whether the channels describe an RGB image.boolean
int
int
The number of frames along the time-axis.int
-
Uses of ImageIOException in org.anchoranalysis.image.io.stack
Methods in org.anchoranalysis.image.io.stack that throw ImageIOExceptionModifier and TypeMethodDescriptionCalculateOrientationChange.calculateOrientationChange
(Logger logger) Calculates any needed orientation change. -
Uses of ImageIOException in org.anchoranalysis.image.io.stack.input
Methods in org.anchoranalysis.image.io.stack.input that throw ImageIOExceptionModifier and TypeMethodDescriptionint
The bit-depth of the image voxels e.g. 8 for 8-bit, 16 for 16-bit etc.OpenedImageFile.channelNames
(Logger logger) The names of each channel, if they are known.void
OpenedImageFile.close()
Closes the opened image-file, removing any intermediate data-structures.StackSequenceInput.createStackSequenceForSeries
(int seriesIndex, Logger logger) Creates a supplier of aTimeSeries
of stacks for a particular series number.OpenedImageFile.dimensionsForSeries
(int seriesIndex, Logger logger) TheDimensions
associated with a particular series.boolean
Whether the image-file has RGB encoded voxels.ImageMetadataInput.metadata()
The associated image metadata.default ImageMetadata
Extracts metadata about the image.int
OpenedImageFile.numberChannels
(Logger logger) The number of channels in the image-file e.g. 1 for grayscale, 3 for RGB.int
OpenedImageFile.numberFrames
(Logger logger) The number of frames in the image-file i.e. distinct images for a particular time-point.Open when we don't have a specific-type.default TimeSeries
Open the first series when we don't have a specific-type.default TimeSeries
OpenedImageFile.openCheckType
(int seriesIndex, VoxelDataType channelDataType, Logger logger) Opens a time-series, and checks that it is a particular type.static Mask
MaskReader.openMask
(StackReader stackReader, Path path, BinaryValuesInt binaryValues, OperationContext context) Utility functions for opening a single-channeled stack as aMask
.OpenedImageFile.pyramid()
Metadata to describe an image-pyramid, if it exists for this opened-image.OpenedImageFile.timestamps()
The timestamps and file-attributes associated with the image.Constructor parameters in org.anchoranalysis.image.io.stack.input with type arguments of type ImageIOExceptionModifierConstructorDescriptionImageMetadataInput
(NamedFile file, CheckedSupplier<ImageMetadata, ImageIOException> metadata) Create for a particular file and metadata. -
Uses of ImageIOException in org.anchoranalysis.image.io.stack.output.generator
Methods in org.anchoranalysis.image.io.stack.output.generator that throw ImageIOExceptionModifier and TypeMethodDescriptionstatic String
GeneratorOutputter.fileExtensionWriter
(OutputWriteSettings settings, StackWriteOptions writeOptions, Optional<Logger> logger) The file extension to use for the defaultStackWriter
, as returned byGeneratorOutputter.writer(OutputWriteSettings)
.static StackWriter
GeneratorOutputter.writer
(OutputWriteSettings settings) Gets the defaultStackWriter
. -
Uses of ImageIOException in org.anchoranalysis.io.bioformats.bean
Methods in org.anchoranalysis.io.bioformats.bean that throw ImageIOExceptionModifier and TypeMethodDescriptionBioformatsReader.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) BioformatsReader.openFile
(Path filePath, CalculateOrientationChange orientationCorrection, ExecutionTimeRecorder executionTimeRecorder) -
Uses of ImageIOException in org.anchoranalysis.io.bioformats.bean.writer
Methods in org.anchoranalysis.io.bioformats.bean.writer that throw ImageIOExceptionModifier and TypeMethodDescriptionbyte[]
ByteRepresentationForChannel.bytesForSlice
(int sliceIndex) The byte-representation of the voxels for a particular slice.protected abstract loci.formats.IFormatWriter
BioformatsWriter.createWriter()
Creates or gets an instance ofIFormatWriter
which dictates the file format to use for writing.protected loci.formats.IFormatWriter
OMETiff.createWriter()
protected loci.formats.IFormatWriter
OMEXML.createWriter()
protected loci.formats.IFormatWriter
Tiff.createWriter()
void
BioformatsWriter.writeStack
(Stack stack, Path filePath, StackWriteOptions options) void
Tiff.writeStack
(Stack stack, Path filePath, StackWriteOptions options) -
Uses of ImageIOException in org.anchoranalysis.io.bioformats.metadata
Methods in org.anchoranalysis.io.bioformats.metadata that throw ImageIOExceptionModifier and TypeMethodDescriptionstatic Optional
<OrientationChange> OrientationReader.determineOrientationCorrection
(com.drew.metadata.Metadata metadata) Determines the needed correction to orientation for the voxels if an EXIF orientation tag is present.static Optional
<OrientationChange> OrientationReader.determineOrientationCorrection
(Path path) Determines the needed correction to orientation for the voxels if an EXIF orientation tag is present.static ImageTimestampsAttributes
ReadsImageTimestampsAttributes
from a path, trying to infer the acquisition-date from metadata headers.static Optional
<ZonedDateTime> AcquisitionDateReader.readAcquisitionDate
(Path path) Reads an image acquisition-date from a file identified by path, based on the present of EXIF data.ReadMetadataUtilities.readFromWidthHeightTags
(com.drew.metadata.Directory directory, int tagWidth, int tagHeight) Reads two metadata entries, representing width and height, and use them to form aExtent
.ReadMetadataUtilities.readFromWidthHeightTags
(com.drew.metadata.Metadata metadata, Class<T> directoryType, int tagWidth, int tagHeight) Reads two metadata entries, representing width and height, and use them to form aExtent
.static Optional
<com.drew.metadata.Metadata> ReadMetadataUtilities.readMetadata
(Path path) Reads metadata, if it exists, from an image. -
Uses of ImageIOException in org.anchoranalysis.io.imagej.bean.stack.writer
Methods in org.anchoranalysis.io.imagej.bean.stack.writer that throw ImageIOExceptionModifier and TypeMethodDescriptionprotected abstract boolean
ImageJRasterWriter.writeRaster
(ij.io.FileSaver fileSaver, String path, boolean asStack) Writes an annotation to the filesystem atoutPath
.protected boolean
PNG.writeRaster
(ij.io.FileSaver fileSaver, String path, boolean asStack) void
ImageJRasterWriter.writeStack
(Stack stack, Path filePath, StackWriteOptions options) protected void
ImageJRasterWriter.writeStackTime
(Stack stack, Path path, boolean makeRGB) Writes a stack as a time-sequence (many images together in a single file.). -
Uses of ImageIOException in org.anchoranalysis.plugin.io.bean.input.stack
Methods in org.anchoranalysis.plugin.io.bean.input.stack that throw ImageIOExceptionModifier and TypeMethodDescriptionConvertNamedChannelsInputToStack.createStackSequenceForSeries
(int seriesIndex, Logger logger) -
Uses of ImageIOException in org.anchoranalysis.plugin.io.bean.metadata.header
Methods in org.anchoranalysis.plugin.io.bean.metadata.header that throw ImageIOExceptionModifier and TypeMethodDescriptionHeaderFormat.populateFrom
(Path path) Creates aImageMetadata
, if possible, from the metadata atpath
.protected Optional
<ImageMetadata> BMP.populateFromMetadata
(com.drew.metadata.Metadata metadata, ImageFileAttributes attributes) protected abstract Optional
<ImageMetadata> HeaderFormat.populateFromMetadata
(com.drew.metadata.Metadata metadata, ImageFileAttributes attributes) Creates aImageMetadata
, if possible, frommetadata
.protected Optional
<ImageMetadata> JPEG.populateFromMetadata
(com.drew.metadata.Metadata metadata, ImageFileAttributes attributes) protected Optional
<ImageMetadata> PNG.populateFromMetadata
(com.drew.metadata.Metadata metadata, ImageFileAttributes attributes) -
Uses of ImageIOException in org.anchoranalysis.plugin.io.bean.metadata.reader
Methods in org.anchoranalysis.plugin.io.bean.metadata.reader that throw ImageIOExceptionModifier and TypeMethodDescriptionAlwaysReject.openFile
(Path path, StackReader defaultStackReader, OperationContext context) InferFromHeader.openFile
(Path path, StackReader defaultStackReader, OperationContext context) -
Uses of ImageIOException in org.anchoranalysis.plugin.io.bean.stack.reader
Methods in org.anchoranalysis.plugin.io.bean.stack.reader that throw ImageIOExceptionModifier and TypeMethodDescriptionBranchExtension.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) FlattenAsChannel.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) ImposeResolution.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) MultiFileReader.openFile
(Path filePath, ExecutionTimeRecorder executionTimeRecorder) ReadVoxelExtentXml.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) RejectIfConditionXYResolution.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) RotateImageToMatchEXIFOrientation.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) RotateImageToMatchEXIFOrientation.openFile
(Path path, CalculateOrientationChange orientationCorrection, ExecutionTimeRecorder executionTimeRecorder) static Optional
<Resolution> ReadVoxelExtentXml.readMetadata
(Path filePath, boolean acceptNoResolution) Looks for a metadata file describing the resolution -
Uses of ImageIOException in org.anchoranalysis.plugin.io.bean.stack.writer
Methods in org.anchoranalysis.plugin.io.bean.stack.writer that throw ImageIOExceptionModifier and TypeMethodDescriptionStackWriterDelegateBase.fileFormat
(StackWriteOptions writeOptions) WriteResolutionXml.fileFormat
(StackWriteOptions writeOptions) protected StackWriter
BranchSuggestedFormat.selectDelegate
(StackWriteOptions writeOptions) protected abstract StackWriter
StackWriterDelegateBase.selectDelegate
(StackWriteOptions writeOptions) Selects aStackWriter
to use as a delegate.void
StackWriterDelegateBase.writeStack
(Stack stack, Path filePath, StackWriteOptions options) void
WriteResolutionXml.writeStack
(Stack stack, Path filePath, StackWriteOptions options) protected void
ImageIOWriter.writeStackAfterCheck
(Stack stack, Path filePath) -
Uses of ImageIOException in org.anchoranalysis.plugin.io.bean.summarizer.image
Methods in org.anchoranalysis.plugin.io.bean.summarizer.image that throw ImageIOExceptionModifier and TypeMethodDescriptionprotected Integer
BitDepth.extractKey
(ImageMetadataInput element) protected Integer
NumberChannels.extractKey
(ImageMetadataInput element) protected abstract T
SummarizerImageMetadataSimple.extractKey
(ImageMetadataInput element) -
Uses of ImageIOException in org.anchoranalysis.plugin.io.multifile
Methods in org.anchoranalysis.plugin.io.multifile that throw ImageIOExceptionModifier and TypeMethodDescriptionint
void
OpenedMultiFile.close()
OpenedMultiFile.dimensionsForSeries
(int seriesIndex, Logger logger) boolean
int
OpenedMultiFile.numberChannels
(Logger logger) int
OpenedMultiFile.numberFrames
(Logger logger) OpenedMultiFile.pyramid()
OpenedMultiFile.timestamps()
-
Uses of ImageIOException in org.anchoranalysis.plugin.io.xml
Methods in org.anchoranalysis.plugin.io.xml that throw ImageIOExceptionModifier and TypeMethodDescriptionstatic Resolution
ResolutionAsXML.readResolutionXml
(File file) Retrieves resolution from a XML file previously written byResolutionAsXML.writeResolutionXML(Resolution, Path)
.static void
ResolutionAsXML.writeResolutionXML
(Resolution resolution, Path path) Writes a XML metadata file describing the image-resolution. -
Uses of ImageIOException in org.anchoranalysis.plugin.opencv.bean.stack
Methods in org.anchoranalysis.plugin.opencv.bean.stack that throw ImageIOExceptionModifier and TypeMethodDescriptionOpenCVReader.openFile
(Path path, ExecutionTimeRecorder executionTimeRecorder) protected void
OpenCVWriter.writeStackAfterCheck
(Stack stack, Path filePath) -
Uses of ImageIOException in org.anchoranalysis.test.image.stackwriter
Methods in org.anchoranalysis.test.image.stackwriter that throw ImageIOExceptionModifier and TypeMethodDescriptionvoid
StackTester.performTest
(VoxelDataType[] channelVoxelTypes, int numberChannels, boolean makeRGB, Optional<VoxelDataType> forceFirstChannel, Optional<ImageComparer> comparer) Performs a test on stack writing for specified channel types, number of channels, RGB setting, and optional forced first channel type.void
StackTester.performTest
(VoxelDataType[] channelVoxelTypes, int numberChannels, boolean makeRGB, Optional<ImageComparer> comparer) Performs a test on stack writing for specified channel types, number of channels, and RGB setting.void
StackTester.performTest
(ChannelSpecification channels, Optional<VoxelDataType> forceFirstChannel, Optional<ImageComparer> comparer) Performs a test on stack writing for a specified channel specification and optional forced first channel type.void
StackTester.performTest
(ChannelSpecification channels, Optional<ImageComparer> comparer) Performs a test on stack writing for a specified channel specification.void
FourChannelStackTester.testFourChannels()
Tests a stack with four-channels of unsigned 8-bit data type.void
FourChannelStackTester.testFourChannels
(VoxelDataType[] channelVoxelTypes) Tests a stack with four-channels of specified typesvoid
FourChannelStackTester.testSingleChannel()
Tests the creation of a single-channel stack of unsigned 8-bit data type with the RGB flag off.void
FourChannelStackTester.testSingleChannel
(VoxelDataType channelVoxelType) Tests the creation of a single-channel stack of specified data type with the RGB flag off.void
FourChannelStackTester.testSingleChannel
(VoxelDataType[] channelVoxelTypes) Tests the creation of a single-channel stack of specified data types with the RGB flag off.void
FourChannelStackTester.testSingleChannelRGB()
Tests the creation of a single-channel stack of unsigned 8-bit data type with the RGB flag on, which should typically produce an exception.void
FourChannelStackTester.testThreeChannelsHeterogeneous()
Tests the creation of a three-channel stack of heterogeneous channel types.void
FourChannelStackTester.testThreeChannelsRGB()
Tests the creation of a three-channel stack of unsigned 8-bit data type with the rgb-flag set to true.void
FourChannelStackTester.testThreeChannelsRGB
(VoxelDataType channelVoxelType) Tests the creation of a three-channel stack of specified data type with the rgb-flag set to true.void
FourChannelStackTester.testThreeChannelsRGB
(VoxelDataType[] channelVoxelTypes) Tests the creation of a three-channel stack of specified data types with the rgb-flag set to true.void
FourChannelStackTester.testThreeChannelsSeparate()
Tests the creation of a three-channel stack of unsigned 8-bit data type with the rgb-flag set to false.void
FourChannelStackTester.testThreeChannelsSeparate
(VoxelDataType[] channelVoxelTypes) Tests the creation of a three-channel stack of specified data types with the rgb-flag set to false.void
FourChannelStackTester.testTwoChannels()
Tests the creation of a two-channel stack of unsigned 8-bit data type.void
FourChannelStackTester.testTwoChannels
(VoxelDataType[] channelVoxelTypes) Tests the creation of a two-channel stack of specified data types.