Class AVIReader

All Implemented Interfaces:
Closeable, AutoCloseable, ICompressedTileReader, IFormatHandler, IFormatReader, IMetadataConfigurable, IPyramidHandler

public class AVIReader extends FormatReader
AVIReader is the file format reader for AVI files. Much of this code was adapted from Wayne Rasband's AVI Movie Reader plugin for ImageJ (available at http://rsb.info.nih.gov/ij).
  • Field Details

    • AVI_MAGIC_STRING

      public static final String AVI_MAGIC_STRING
      See Also:
    • MSRLE

      private static final int MSRLE
      Supported compression types.
      See Also:
    • MS_VIDEO

      private static final int MS_VIDEO
      See Also:
    • JPEG

      private static final int JPEG
      See Also:
    • Y8

      private static final int Y8
      See Also:
    • MJPEG_HUFFMAN_TABLE

      private static final byte[] MJPEG_HUFFMAN_TABLE
      Huffman table for MJPEG data.
    • offsets

      private List<Long> offsets
      Offset to each plane.
    • lengths

      private List<Long> lengths
      Number of bytes in each plane.
    • listString

      private String listString
    • type

      private String type
    • fcc

      private String fcc
    • size

      private int size
    • pos

      private long pos
    • bytesPerPlane

      private int bytesPerPlane
    • bmpColorsUsed

      private int bmpColorsUsed
    • bmpWidth

      private int bmpWidth
    • bmpCompression

      private int bmpCompression
    • bmpScanLineSize

      private int bmpScanLineSize
    • bmpBitsPerPixel

      private short bmpBitsPerPixel
    • lut

      private byte[][] lut
    • lastImage

      private byte[] lastImage
    • lastImageNo

      private int lastImageNo
  • Constructor Details

    • AVIReader

      public AVIReader()
      Constructs a new AVI reader.
  • Method Details