Package ImageJ_Demos

Class Stack_Processing_Demo

java.lang.Object
ImageJ_Demos.Stack_Processing_Demo
All Implemented Interfaces:
PlugInFilter, JavaDocHelp

public class Stack_Processing_Demo extends Object implements PlugInFilter, JavaDocHelp

This ImageJ plugin demonstrates how to iterate over the frames (slices) of an image stack. In this case each frame is simply inverted. No new frames are added to the stack. Note that stack slices are numbered from 1,...,K (i.e., there is no slice 0)!

If PlugInFilter.STACK_REQUIRED is omitted in setup(String, ImagePlus), the plugin will also work on ordinary (single) images.