Interface PathImage<T>

Type Parameters:
T -

public interface PathImage<T>
Interface used when needing to associate pixel data with information regarding the image from which it was obtained.

The generic parameter defines the type of the image (e.g. BufferedImage, ImagePlus, Mat...).

Author:
Pete Bankhead
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Get the downsample factor originally used when obtaining the image from an ImageServer; will be 1 if the image is full-resolution.
    Get the pixel data (image).
    The region within the (original, possibly larger) image that this particular image corresponds to.
    Get the PixelCalibration representing actual pixel sizes in this image, with downsampling applied if necessary.
  • Method Details

    • getImage

      T getImage()
      Get the pixel data (image).
      Returns:
    • getDownsampleFactor

      double getDownsampleFactor()
      Get the downsample factor originally used when obtaining the image from an ImageServer; will be 1 if the image is full-resolution.
      Returns:
    • getPixelCalibration

      PixelCalibration getPixelCalibration()
      Get the PixelCalibration representing actual pixel sizes in this image, with downsampling applied if necessary.
      Returns:
    • getImageRegion

      ImageRegion getImageRegion()
      The region within the (original, possibly larger) image that this particular image corresponds to.
      Returns: