edu.stanford.rsl.science.analysis
Class ParallelBinaryImageAnalyzer

java.lang.Object
  extended by edu.stanford.rsl.science.analysis.ParallelBinaryImageAnalyzer

public class ParallelBinaryImageAnalyzer
extends java.lang.Object

Class to analyze a stack of ImageProcessors, i.e., an ImagePlus. The BinaryImageAnalyzer will perform analyzes as parallel as possible. Each comparision between two ImageProcessors is spawned into a new Thread. The BinaryImageAnalyzer will run as many Threads in parallel as there are CPUs in the system.

Author:
Andreas Maier

Constructor Summary
ParallelBinaryImageAnalyzer(ij.ImagePlus first, ij.ImagePlus second, BinaryImageAnalysisTool thread)
           
 
Method Summary
 java.lang.Object[] analyze()
           
 java.lang.Object[] analyze(boolean showStatus)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelBinaryImageAnalyzer

public ParallelBinaryImageAnalyzer(ij.ImagePlus first,
                                   ij.ImagePlus second,
                                   BinaryImageAnalysisTool thread)
                            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

analyze

public java.lang.Object[] analyze(boolean showStatus)
                           throws java.lang.Exception
Throws:
java.lang.Exception

analyze

public java.lang.Object[] analyze()
                           throws java.lang.Exception
Throws:
java.lang.Exception