Class MultipageTiffReader

java.lang.Object
net.preibisch.mvrecon.headless.definedataset.MultipageTiffReader

public class MultipageTiffReader extends Object
Adapted version from the MicroManager codebase that supports the new diSPIM related tags and multiple-file reading.
  • Field Details

    • INDEX_MAP_HEADER

      public static final int INDEX_MAP_HEADER
      See Also:
    • DISPLAY_SETTINGS_OFFSET_HEADER

      public static final int DISPLAY_SETTINGS_OFFSET_HEADER
      See Also:
    • DISPLAY_SETTINGS_HEADER

      public static final int DISPLAY_SETTINGS_HEADER
      See Also:
    • INDEX_MAP_OFFSET_HEADER

      public static final int INDEX_MAP_OFFSET_HEADER
      See Also:
    • SUMMARY_MD_HEADER

      public static final int SUMMARY_MD_HEADER
      See Also:
    • COMMENTS_OFFSET_HEADER

      public static final int COMMENTS_OFFSET_HEADER
      See Also:
    • COMMENTS_HEADER

      public static final int COMMENTS_HEADER
      See Also:
    • BITS_PER_SAMPLE

      public static final char BITS_PER_SAMPLE
      See Also:
    • STRIP_OFFSETS

      public static final char STRIP_OFFSETS
      See Also:
    • SAMPLES_PER_PIXEL

      public static final char SAMPLES_PER_PIXEL
      See Also:
    • STRIP_BYTE_COUNTS

      public static final char STRIP_BYTE_COUNTS
      See Also:
    • IMAGE_DESCRIPTION

      public static final char IMAGE_DESCRIPTION
      See Also:
    • MM_METADATA

      public static final char MM_METADATA
      See Also:
    • lastDisplayedFile

      public static String lastDisplayedFile
    • unit

      protected String unit
    • calX

      protected double calX
    • calY

      protected double calY
    • calZ

      protected double calZ
    • rotAxis

      protected double[] rotAxis
    • applyAxis

      protected boolean applyAxis
    • angleNames

      protected List<String> angleNames
    • channelNames

      protected List<String> channelNames
  • Constructor Details

  • Method Details

    • getPixelType

      public String getPixelType()
    • setAngleNames

      public void setAngleNames(List<String> names)
    • setChannelNames

      public void setChannelNames(List<String> names)
    • getSummaryMetadata

      public HashMap<String,Object> getSummaryMetadata()
    • readImage

      public ImgLib2Temp.Pair<Object,HashMap<String,Object>> readImage(String label)
    • getIndexKeys

      public Set<String> getIndexKeys()
    • parseJSONSimple

      protected HashMap<String,Object> parseJSONSimple(String json)
    • generateLabel

      public static String generateLabel(int channel, int slice, int frame, int position)
    • close

      public void close() throws IOException
      Throws:
      IOException
    • setApplyAxis

      public void setApplyAxis(boolean apply)
    • applyAxis

      public boolean applyAxis()
    • setCalX

      public void setCalX(double cal)
    • setCalY

      public void setCalY(double cal)
    • setCalZ

      public void setCalZ(double cal)
    • setCalUnit

      public void setCalUnit(String unit)
    • width

      public int width()
    • height

      public int height()
    • depth

      public int depth()
    • calX

      public double calX()
    • calY

      public double calY()
    • calZ

      public double calZ()
    • calUnit

      public String calUnit()
    • numTimepoints

      public int numTimepoints()
    • numPositions

      public int numPositions()
    • numChannelsAndAngles

      public int numChannelsAndAngles()
    • numChannels

      public int numChannels()
    • numAngles

      public int numAngles()
    • rotationAngle

      public String rotationAngle(int angleId)
    • interleavedId

      public int interleavedId(int channelId, int angleId)
    • channelName

      public String channelName(int channelId)
    • rotationAxisName

      public String rotationAxisName()
    • rotationAxisIndex

      public int rotationAxisIndex()
    • setRotAxis

      public void setRotAxis(double[] axis)
    • rotationAxis

      public double[] rotationAxis()
    • main

      public static void main(String[] args) throws IOException
      Throws:
      IOException