dox/Imaging/vtkImageColocalizationTest.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   BioImageXD
00004   Module:    $RCSfile: vtkImageColocalizationTest.h,v $
00005 
00006  Copyright (C) 2005  BioImageXD Project
00007  See CREDITS.txt for details
00008 
00009  This program is free software; you can redistribute it and/or modify
00010  it under the terms of the GNU General Public License as published by
00011  the Free Software Foundation; either version 2 of the License, or
00012  (at your option) any later version.
00013 
00014  This program is distributed in the hope that it will be useful,
00015  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  GNU General Public License for more details.
00018 
00019  You should have received a copy of the GNU General Public License
00020  along with this program; if not, write to the Free Software
00021  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 
00023 =========================================================================*/
00037 #ifndef __vtkImageColocalizationTest_h
00038 #define __vtkImageColocalizationTest_h
00039 
00040 
00041 #include "vtkImageMultipleInputFilter.h"
00042 
00043 
00044 float* makeKernel(double radius);
00045         
00046 class VTK_IMAGING_EXPORT vtkImageColocalizationTest : public vtkImageMultipleInputFilter
00047 {
00048 public:
00049   static vtkImageColocalizationTest *New();
00050   vtkTypeRevisionMacro(vtkImageColocalizationTest,vtkImageMultipleInputFilter);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00053 
00054   // Ignore zero-zero pixel pairs in colocalization
00055   vtkGetMacro(IgnoreZeroPixels,int);
00056   vtkSetMacro(IgnoreZeroPixels,int);
00058 
00059   vtkGetMacro(RandomizeZ,int);
00060   vtkSetMacro(RandomizeZ,int);
00062 
00064 
00065   vtkGetMacro(ManualPSFSize,double);
00066   vtkSetMacro(ManualPSFSize,double);
00068 
00070 
00071   vtkGetMacro(NumIterations,int);
00072   vtkSetMacro(NumIterations,int);
00074   
00075   
00077 
00078   vtkGetMacro(Method,int);
00079   vtkSetMacro(Method,int);
00081   
00083 
00084   vtkGetMacro(CurrentSlice,int);
00085   vtkSetMacro(CurrentSlice,int);
00087   
00089 
00090   vtkGetMacro(NumericalAperture,double);
00091   vtkSetMacro(NumericalAperture,double);
00093   
00095 
00096   vtkGetMacro(PixelSize,double);
00097   vtkSetMacro(PixelSize,double);  
00098   // Description:
00099   // Set the lambda for channel 2
00100   vtkGetMacro(Ch2Lambda,int);
00101   vtkSetMacro(Ch2Lambda,int);  
00103   
00105 
00106   vtkGetMacro(PValue,double);
00107   vtkSetMacro(PValue,double);    
00109 
00111 
00112   vtkGetMacro(RObserved,double);
00113   vtkSetMacro(RObserved,double);    
00114   // Description:
00115   // Set the R(rand) mean
00116   vtkGetMacro(RRandMean,double);
00117   vtkSetMacro(RRandMean,double);    
00118   // Description:
00119   // Set the R(rand) sd
00120   vtkGetMacro(RRandSD,double);
00121   vtkSetMacro(RRandSD,double);    
00122   // Description:
00123   // Set the coloc count
00124   vtkGetMacro(ColocCount,int);
00125   vtkSetMacro(ColocCount,int);    
00126   // Description:
00127   // Set the PSF
00128   vtkGetMacro(PSF,double);
00129   vtkSetMacro(PSF,double);    
00131     
00132 
00133 protected:
00134   vtkImageColocalizationTest();
00135   ~vtkImageColocalizationTest();
00136 
00137   //void ComputeInputUpdateExtents( vtkDataObject*output );
00138 
00139   void ExecuteInformation(vtkImageData **inputs, vtkImageData *output);
00140   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00141   
00142   void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
00143                        int extent[6], int id);
00144   
00145 
00146   void InitOutput(int outExt[6], vtkImageData *outData);
00147 private:
00148   vtkImageColocalizationTest(const vtkImageColocalizationTest&);  // Not implemented.
00149   void operator=(const vtkImageColocalizationTest&);  // Not implemented.
00150 
00151   int IgnoreZeroPixels;
00152   int RandomizeZ;
00153   int Smooth;
00154   double ManualPSFSize;
00155   int NumIterations;
00156   int Ch2Lambda;
00157   double NumericalAperture;
00158   double PixelSize;
00159     
00160   int Method;
00161   int CurrentSlice;
00162   
00163   double PValue;
00164   double RObserved;
00165   double RRandMean;
00166   double RRandSD;
00167   double PSF;
00168   int ColocCount;
00169   
00170 };
00171 
00172 #endif

Generated on Fri Sep 7 17:44:05 2007 for VTK by  doxygen 1.5.3