Module ij
Package ij.plugin

Class ListVirtualStack

  • All Implemented Interfaces:

    public class ListVirtualStack
    extends VirtualStack
    implements PlugIn
    This plugin opens images specified by list of file paths as a virtual stack. It implements the File/Import/Stack From List command.
    • Constructor Detail

      • ListVirtualStack

        public ListVirtualStack()
    • Method Detail

      • run

        public void run​(java.lang.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, where 1<=n<=nslices.
        deleteSlice in class VirtualStack
      • getProcessor

        public ImageProcessor getProcessor​(int n)
        Returns an ImageProcessor for the specified slice, where 1<=n<=nslices. Returns null if the stack is empty.
        getProcessor in class VirtualStack
      • getSize

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

        public java.lang.String getSliceLabel​(int n)
        Returns the name of the specified image.
        getSliceLabel in class VirtualStack
      • reduce

        public void reduce​(int factor)
        Description copied from class: VirtualStack
        Reduces the number of slices in this stack by a factor.
        reduce in class VirtualStack