public class ImageSizePrereader extends Object
It first attempts to do this through a imageMetadataReader
as often this is much
faster than opening the stack with StackReader
.
Constructor and Description |
---|
ImageSizePrereader(ImageMetadataReader imageMetadataReader,
StackReader stackReader,
OperationContext context) |
Modifier and Type | Method and Description |
---|---|
List<SizeMapping> |
imageSizesFor(List<StackSequenceInput> inputs)
Extract the image-size for each
StackSequenceInput . |
public ImageSizePrereader(ImageMetadataReader imageMetadataReader, StackReader stackReader, OperationContext context)
public List<SizeMapping> imageSizesFor(List<StackSequenceInput> inputs)
StackSequenceInput
.inputs
- the input images.paths
, as if an error occurs, the element is dropped.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.