ij.plugin
Class SubstackMaker

java.lang.Object
  extended by ij.plugin.SubstackMaker
All Implemented Interfaces:
PlugIn

public class SubstackMaker
extends java.lang.Object
implements PlugIn

This plugin extracts selected images from a stack to make a new substack. It takes three types of inputs: a range of images (e.g. 2-14), a range of images with an increment (e.g. 2-14-3), or a list of images (e.g. 7,9,25,27,34,132). It then copies those images from the active stack to a new stack in the order of listing or range.

Author:
Anthony Padua, Neuroradiology, Duke University Medical Center, padua001@mc.duke.edu, Daniel Barboriak, MD, Neuroradiology, Duke University Medical Center, barbo013@mc.duke.edu, Ved P. Sharma, Ph.D., Anatomy and Structural Biology, Albert Einstein College of Medicine, ved.sharma@einstein.yu.edu

Constructor Summary
SubstackMaker()
           
 
Method Summary
 ImagePlus makeSubstack(ImagePlus imp, java.lang.String userInput)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstackMaker

public SubstackMaker()
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

makeSubstack

public ImagePlus makeSubstack(ImagePlus imp,
                              java.lang.String userInput)