Class LabeledImageServer

All Implemented Interfaces:
AutoCloseable, GeneratingImageServer<BufferedImage>, ImageServer<BufferedImage>

public class LabeledImageServer extends AbstractTileableImageServer implements GeneratingImageServer<BufferedImage>
A special ImageServer implementation that doesn't have a backing image, but rather constructs tiles from a PathObjectHierarchy where pixel values are integer labels corresponding stored and classified annotations.

Warning! This is intend for temporary use when exporting labelled images. No attempt is made to respond to changes within the hierarchy. For consistent results, the hierarchy must remain static for the time in which this server is being used.

Author:
Pete Bankhead