Package qupath.lib.images
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...).
- 
Method SummaryModifier and TypeMethodDescriptiondoubleGet the downsample factor originally used when obtaining the image from an ImageServer; will be 1 if the image is full-resolution.getImage()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- 
getImageT getImage()Get the pixel data (image).- Returns:
 
- 
getDownsampleFactordouble getDownsampleFactor()Get the downsample factor originally used when obtaining the image from an ImageServer; will be 1 if the image is full-resolution.- Returns:
 
- 
getPixelCalibrationPixelCalibration getPixelCalibration()Get the PixelCalibration representing actual pixel sizes in this image, with downsampling applied if necessary.- Returns:
 
- 
getImageRegionImageRegion getImageRegion()The region within the (original, possibly larger) image that this particular image corresponds to.- Returns:
 
 
-