Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageHybridMedian2D.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageHybridMedian2D.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00044 #ifndef __vtkImageHybridMedian2D_h
    00045 #define __vtkImageHybridMedian2D_h
    00046
    00047
    00048 #include "vtkImageSpatialFilter.h"
    00049
    00050 class VTK_IMAGING_EXPORT vtkImageHybridMedian2D : public vtkImageSpatialFilter
    00051 {
    00052 public:
    00053   static vtkImageHybridMedian2D *New();
    00054   vtkTypeRevisionMacro(vtkImageHybridMedian2D,vtkImageSpatialFilter);
    00055
    00056 protected:
    00057   vtkImageHybridMedian2D();
    00058   ~vtkImageHybridMedian2D() {};
    00059
    00060   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00061                        int outExt[6], int id);
    00062   float ComputeMedian(float *array, int size);
    00063 private:
    00064   vtkImageHybridMedian2D(const vtkImageHybridMedian2D&);  // Not implemented.
    00065   void operator=(const vtkImageHybridMedian2D&);  // Not implemented.
    00066 };
    00067
    00068 #endif
    00069
    00070
    00071