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
Channels.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 Stacks.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 ImageMetadataImageMetadataReader.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 OpenedImageFileStackReader.openFile(Path path, ExecutionTimeRecorder executionTimeRecorder) Opens a file containing one or more images.abstract OpenedImageFileStackReaderOrientationCorrection.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 atpaththat 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 aImageIOExceptionwith 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 ImageFileFormatStackWriter.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.voidOneOrThreeChannelsWriter.writeStack(Stack stack, Path filePath, StackWriteOptions options) abstract voidStackWriter.writeStack(Stack stack, Path filePath, StackWriteOptions options) Writes a stack to the filesystem at a particular path.protected abstract voidOneOrThreeChannelsWriter.writeStackAfterCheck(Stack stack, Path filePath) Writes theStackto 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 intBit-depth of image.abstract NamedChannelsMapNamedChannelsInput.createChannelsForSeries(int seriesIndex, Logger logger) Creates aNamedChannelsMaprepresenting the channels for a particular series in this input.abstract DimensionsNamedChannelsInput.dimensions(int seriesIndex, Logger logger) Dimensions of a particular series.abstract ImageMetadataThe image-metadata associated with a particular series.abstract intNamedChannelsInput.numberChannels(Logger logger) Number of channels.abstract intNamedChannelsInput.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) booleanbooleanWhether the channels describe an RGB image.booleanintintThe 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 TypeMethodDescriptionintThe 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.voidOpenedImageFile.close()Closes the opened image-file, removing any intermediate data-structures.StackSequenceInput.createStackSequenceForSeries(int seriesIndex, Logger logger) Creates a supplier of aTimeSeriesof stacks for a particular series number.OpenedImageFile.dimensionsForSeries(int seriesIndex, Logger logger) TheDimensionsassociated with a particular series.booleanWhether the image-file has RGB encoded voxels.OpenedImageFile.location()The location associated with the image, if it is known.ImageMetadataInput.metadata()The associated image metadata.default ImageMetadataExtracts metadata about the image.intOpenedImageFile.numberChannels(Logger logger) The number of channels in the image-file e.g. 1 for grayscale, 3 for RGB.intOpenedImageFile.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 TimeSeriesOpen the first series when we don't have a specific-type.default TimeSeriesOpenedImageFile.openCheckType(int seriesIndex, VoxelDataType channelDataType, Logger logger) Opens a time-series, and checks that it is a particular type.static MaskMaskReader.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 StringGeneratorOutputter.fileExtensionWriter(OutputWriteSettings settings, StackWriteOptions writeOptions, Optional<Logger> logger) The file extension to use for the defaultStackWriter, as returned byGeneratorOutputter.writer(OutputWriteSettings).static StackWriterGeneratorOutputter.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.IFormatWriterBioformatsWriter.createWriter()Creates or gets an instance ofIFormatWriterwhich dictates the file format to use for writing.protected loci.formats.IFormatWriterOMETiff.createWriter()protected loci.formats.IFormatWriterOMEXML.createWriter()protected loci.formats.IFormatWriterTiff.createWriter()voidBioformatsWriter.writeStack(Stack stack, Path filePath, StackWriteOptions options) voidTiff.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 ImageTimestampsAttributesReadsImageTimestampsAttributesfrom a path, trying to infer the acquisition-date from metadata headers.ExtentReader.read(com.drew.metadata.Directory directory, int tagWidth, int tagHeight) Reads two metadata entries, representing width and height, and use them to form aExtent.ExtentReader.read(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<ZonedDateTime> AcquisitionDateReader.readAcquisitionDate(Path path) Reads an image acquisition-date from a file identified by path, based on the present of EXIF data.static Optional<ImageLocation> LocationReader.readLocation(Path path) Reads the image-location from geolocation metadata-tags, if they are present in an image.static Optional<com.drew.metadata.Metadata> MetadataReader.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 booleanImageJRasterWriter.writeRaster(ij.io.FileSaver fileSaver, String path, boolean asStack) Writes an annotation to the filesystem atoutPath.protected booleanPNG.writeRaster(ij.io.FileSaver fileSaver, String path, boolean asStack) voidImageJRasterWriter.writeStack(Stack stack, Path filePath, StackWriteOptions options) protected voidImageJRasterWriter.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 StackWriterBranchSuggestedFormat.selectDelegate(StackWriteOptions writeOptions) protected abstract StackWriterStackWriterDelegateBase.selectDelegate(StackWriteOptions writeOptions) Selects aStackWriterto use as a delegate.voidStackWriterDelegateBase.writeStack(Stack stack, Path filePath, StackWriteOptions options) voidWriteResolutionXml.writeStack(Stack stack, Path filePath, StackWriteOptions options) protected voidImageIOWriter.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 IntegerBitDepth.extractKey(ImageMetadataInput element) protected IntegerNumberChannels.extractKey(ImageMetadataInput element) protected abstract TSummarizerImageMetadataSimple.extractKey(ImageMetadataInput element) -
Uses of ImageIOException in org.anchoranalysis.plugin.io.multifile
Methods in org.anchoranalysis.plugin.io.multifile that throw ImageIOExceptionModifier and TypeMethodDescriptionintvoidOpenedMultiFile.close()OpenedMultiFile.dimensionsForSeries(int seriesIndex, Logger logger) booleanOpenedMultiFile.location()intOpenedMultiFile.numberChannels(Logger logger) intOpenedMultiFile.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 ResolutionResolutionAsXML.readResolutionXml(File file) Retrieves resolution from a XML file previously written byResolutionAsXML.writeResolutionXML(Resolution, Path).static voidResolutionAsXML.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 voidOpenCVWriter.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 TypeMethodDescriptionvoidStackTester.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.voidStackTester.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.voidStackTester.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.voidStackTester.performTest(ChannelSpecification channels, Optional<ImageComparer> comparer) Performs a test on stack writing for a specified channel specification.voidFourChannelStackTester.testFourChannels()Tests a stack with four-channels of unsigned 8-bit data type.voidFourChannelStackTester.testFourChannels(VoxelDataType[] channelVoxelTypes) Tests a stack with four-channels of specified typesvoidFourChannelStackTester.testSingleChannel()Tests the creation of a single-channel stack of unsigned 8-bit data type with the RGB flag off.voidFourChannelStackTester.testSingleChannel(VoxelDataType channelVoxelType) Tests the creation of a single-channel stack of specified data type with the RGB flag off.voidFourChannelStackTester.testSingleChannel(VoxelDataType[] channelVoxelTypes) Tests the creation of a single-channel stack of specified data types with the RGB flag off.voidFourChannelStackTester.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.voidFourChannelStackTester.testThreeChannelsHeterogeneous()Tests the creation of a three-channel stack of heterogeneous channel types.voidFourChannelStackTester.testThreeChannelsRGB()Tests the creation of a three-channel stack of unsigned 8-bit data type with the rgb-flag set to true.voidFourChannelStackTester.testThreeChannelsRGB(VoxelDataType channelVoxelType) Tests the creation of a three-channel stack of specified data type with the rgb-flag set to true.voidFourChannelStackTester.testThreeChannelsRGB(VoxelDataType[] channelVoxelTypes) Tests the creation of a three-channel stack of specified data types with the rgb-flag set to true.voidFourChannelStackTester.testThreeChannelsSeparate()Tests the creation of a three-channel stack of unsigned 8-bit data type with the rgb-flag set to false.voidFourChannelStackTester.testThreeChannelsSeparate(VoxelDataType[] channelVoxelTypes) Tests the creation of a three-channel stack of specified data types with the rgb-flag set to false.voidFourChannelStackTester.testTwoChannels()Tests the creation of a two-channel stack of unsigned 8-bit data type.voidFourChannelStackTester.testTwoChannels(VoxelDataType[] channelVoxelTypes) Tests the creation of a two-channel stack of specified data types.