Package bdv.img

Class MipmapInfo

  • Direct Known Subclasses:
    ExportMipmapInfo

    public class MipmapInfo
    extends Object
    Description of available mipmap levels for a BasicViewSetup. Contains for each mipmap level, the subsampling factors and subdivision block sizes.
    Author:
    Tobias Pietzsch
    • Method Detail

      • getResolutions

        public double[][] getResolutions()
        Get the subsampling factors, indexed by mipmap level and dimension. For example, a subsampling factor of 2 means the respective mipmap level is scaled by 0.5 in the respective dimension.
      • getTransforms

        public net.imglib2.realtransform.AffineTransform3D[] getTransforms()
        Get the transformation from coordinates of the subsampled image of a mipmap level to coordinates of the full resolution image. The array of transforms is indexed by mipmap level.
      • getSubdivisions

        public int[][] getSubdivisions()
        Get the subdivision block sizes, indexed by mipmap level and dimension.
      • getMaxLevel

        public int getMaxLevel()
        Get the maximum mipmap level.
      • getNumLevels

        public int getNumLevels()
        Get the number of mipmap levels (getMaxLevel() + 1).
        Returns: