dox/Imaging/vtkImageRemoveIsolatedPixel.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   vtkCNMRRLibrary
00004   Module:    $RCSfile: vtkImageRemoveIsolatedPixel.h,v $
00005 
00006   Copyright  2005  The Pennsylvania State University
00007   
00008           Notice
00009  
00010   The contents of this file are subject to The Pennsylvania State University 
00011   Open Source License (the "License"); you may not use this file except in 
00012   compliance with the License. You may obtain a copy of the License at H066 
00013   Radiology, NMR Building, 500 University Drive, Hershey, PA, 
00014   tel. (717) 531-6069 or via email at dcb210@psu.edu.
00015  
00016   Software distributed under the License is distributed on an "AS IS" basis, 
00017   WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
00018   for the specific language governing rights and limitations under the 
00019   License.
00020  
00021   The Original Code is listed under Exhibit A of the license.
00022  
00023   The Initial Developer of the Original Code is Don Bigler.
00024  
00025   Contributor(s):
00026  
00027 =========================================================================*/
00037 #ifndef __vtkImageRemoveIsolatedPixel_h
00038 #define __vtkImageRemoveIsolatedPixel_h
00039 
00040 
00041 #include "vtkSimpleImageToImageFilter.h"
00042 #include "vtkCNMRRImagingWin32Header.h"
00043 
00044 class VTK_CNMRR_IMAGING_EXPORT vtkImageRemoveIsolatedPixel : public vtkSimpleImageToImageFilter
00045 {
00046    public:
00047       static vtkImageRemoveIsolatedPixel *New();
00048       vtkTypeRevisionMacro(vtkImageRemoveIsolatedPixel,vtkSimpleImageToImageFilter);
00049    
00051 
00052       vtkSetMacro(IsolatedPixelValue, double);
00053       vtkGetMacro(IsolatedPixelValue, double);
00055    
00057 
00059       vtkSetMacro(ReplacePixelValue, double);
00060       vtkGetMacro(ReplacePixelValue, double);
00062       
00063    protected:
00064       vtkImageRemoveIsolatedPixel();
00065       ~vtkImageRemoveIsolatedPixel(){};
00066    
00067       double IsolatedPixelValue;
00068          
00069       double ReplacePixelValue;
00070 
00071       virtual void SimpleExecute(vtkImageData* input, vtkImageData* output);
00072    private:
00073       vtkImageRemoveIsolatedPixel(const vtkImageRemoveIsolatedPixel&);  // Not implemented.
00074       void operator=(const vtkImageRemoveIsolatedPixel&);  // Not implemented.
00075 };
00076 
00077 #endif

Generated on Tue May 12 14:53:03 2009 for vtkCNMRRLibrary by  doxygen 1.4.7