edu.stanford.rsl.science
Class ParallelImageFilter
java.lang.Object
edu.stanford.rsl.science.ParallelImageFilter
public class ParallelImageFilter
- extends java.lang.Object
Class for running multiple ImageFilteringTools in parallel. Creates a thread for each ImageFilteringTool
and executes them using a ParallelThreadExecutor. It will start one thread on each processor of the
machine at the same time.
- Author:
- Andreas Maier
Method Summary |
ij.ImagePlus |
filter()
|
ij.ImagePlus |
filter(boolean showStatus)
This method starts the actual filtering. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParallelImageFilter
public ParallelImageFilter(ij.ImagePlus image,
IndividualImageFilteringTool tool)
- Constructor requires an ImagePlus. If it has multiple slices the processing is performed in parallel.
- Parameters:
image
- the ImagePlus to be filteredtool
- the ImageFilteringTool to be applied.
filter
public ij.ImagePlus filter(boolean showStatus)
throws java.lang.Exception
- This method starts the actual filtering.
- Returns:
- the filtered ImagePlus
- Throws:
java.lang.Exception
- may occur.
filter
public ij.ImagePlus filter()
throws java.lang.Exception
- Throws:
java.lang.Exception