Package ij.plugin

Class FileInfoVirtualStack

  • All Implemented Interfaces:
    PlugIn

    public class FileInfoVirtualStack
    extends VirtualStack
    implements PlugIn
    This plugin opens a multi-page TIFF file, or a set of raw images, as a virtual stack. It implements the File/Import/TIFF Virtual Stack command.
    • Constructor Detail

      • FileInfoVirtualStack

        public FileInfoVirtualStack()
      • FileInfoVirtualStack

        public FileInfoVirtualStack​(FileInfo fi)
      • FileInfoVirtualStack

        public FileInfoVirtualStack​(FileInfo fi,
                                    boolean show)
      • FileInfoVirtualStack

        public FileInfoVirtualStack​(FileInfo[] fi)
    • Method Detail

      • openVirtual

        public static ImagePlus openVirtual​(String path)
        Opens the specified tiff file as a virtual stack.
      • run

        public void run​(String arg)
        Description copied from interface: PlugIn
        This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
        Specified by:
        run in interface PlugIn
      • deleteSlice

        public void deleteSlice​(int n)
        Deletes the specified image, were 1<=n<=nImages.
        Overrides:
        deleteSlice in class VirtualStack
      • getProcessor

        public ImageProcessor getProcessor​(int n)
        Returns an ImageProcessor for the specified image, were 1<=n<=nImages. Returns null if the stack is empty.
        Overrides:
        getProcessor in class VirtualStack
      • getSize

        public int getSize()
        Returns the number of images in this stack.
        Overrides:
        getSize in class VirtualStack
      • addImage

        public void addImage​(FileInfo fileInfo)
        Adds an image to this stack.