Package qupath.lib.images.servers
package qupath.lib.images.servers
Supports accessing pixels and metadata in QuPath.
ImageServer
is the key interface for
requesting pixels and metadata.
Implementations may be backed by specific image reading libraries, or optionally wrap around other
ImageServers to perform additional transforms.
-
ClassDescriptionAbstract implementation of ImageServer providing some common functionality.Abstract
ImageServer
for BufferedImages that internally breaks up requests into constituent tiles.ImageServer that dynamically applies an AffineTransform to an existing ImageServer.ATransformingImageServer
that applies color transforms to generate channels.Color transforms that may be used to extract single-channel images from BufferedImages.Interface defining a color transform that can extract a float values from a BufferedImage.TypeAdapter
to support serializing aColorTransforms.ColorTransform
.ImageServer that treats a particular sub-region of another ImageServer as a full image, i.e.Helper class that, given a path, determines some basic file format information without enlisting the help of an external library or performing extensive parsing of the data.Interface defining some basic image metadata that may be extracted from an image file to help ascertain whether anImageServerBuilder
can handle it.Marker interface to indicate that this ImageServer generates tiles on request.The name and display color for a single image channel.ImageServer<T>Generic ImageServer, able to return pixels and metadata.Helper class for creating ImageServers from a given URI and optional argument list.Abstract ServerBuilder implementation that handles metadata.DefaultImageServerBuilder.ServerBuilder
that requires a URI and (optional) array of String arguments to create anImageServer
with the help of aImageServerBuilder
.Interface that defines a class encapsulating all that is required to build an ImageServer.Helper class to summarize which ImageServers can be build by a particularImageServerBuilder
for a given URI, and a level of confidence.Class for storing primary ImageServer metadata fields.Builder to create a newImageServerMetadata
object.Enum representing possible channel (band) types for an image.Width and height of each resolution in a multi-level image pyramid.Builder to create a list ofImageServerMetadata.ImageResolutionLevel
to represent pyramidal resolutions.Service provider for creating ImageServers from a given path - which may be a file path or URL.Helper class for working withImageServer
objects.ImageServerBuilder that constructs an ImageServer from a JSON representation.A special ImageServer implementation that doesn't have a backing image, but rather constructs tiles from aPathObjectHierarchy
where pixel values are integer labels corresponding stored and classified annotations.Helper class for building aLabeledImageServer
.Class used to represent pixel sizes.Builder class forPixelCalibration
objects.Image bit-depths and types.Simple image server to swap the red and blue channels of an RGB image.ImageServer that wraps another ImageServer, but intercepts region requests to effectively rotate the image by 90, 180 or 270 degrees.Enum for rotations in increments of 90 degrees.Static methods helpful when dealing with ImageServers.An ImageServer that combines regions from multiple separate ImageServers, repositioning these as necessary to generate one larger field of view.Builder to create a newSparseImageServer
.Helper class for SparseImageServers, capable of returning the appropriate ImageServer for different ImageRegions and different resolutions.A wrapper for aRegionRequest
, useful to precisely specify image tiles at a particular resolution.Helper class to manage tile requests from anImageServer
.Helper class for creating anImageServer
that applies one or more transforms to another (wrapped)ImageServer
.An ImageServer implementation used to apply transforms to another ImageServer.Implementation of anImageServer
that simply wraps an existingBufferedImage
.