VTK
vtkImageNonMaximumSuppression.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageNonMaximumSuppression.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkImageNonMaximumSuppression_h
30 #define vtkImageNonMaximumSuppression_h
31 
32 #define VTK_IMAGE_NON_MAXIMUM_SUPPRESSION_MAGNITUDE_INPUT 0
33 #define VTK_IMAGE_NON_MAXIMUM_SUPPRESSION_VECTOR_INPUT 1
34 
35 #include "vtkImagingMorphologicalModule.h" // For export macro
37 #include "vtkImageData.h" // makes things a bit easier
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
51 
53 
55  vtkSetMacro(HandleBoundaries, int);
56  vtkGetMacro(HandleBoundaries, int);
57  vtkBooleanMacro(HandleBoundaries, int);
59 
61 
63  vtkSetClampMacro(Dimensionality,int,2,3);
64  vtkGetMacro(Dimensionality,int);
66 
67 protected:
70 
73 
77 
81 
82  virtual void ThreadedRequestData(vtkInformation *request,
83  vtkInformationVector **inputVector,
84  vtkInformationVector *outputVector,
85  vtkImageData ***inData,
86  vtkImageData **outData,
87  int extent[6], int threadId);
88 
89 private:
91  void operator=(const vtkImageNonMaximumSuppression&); // Not implemented.
92 };
93 
94 #endif
95 
96 
97 
vtkImageData.h
vtkImageNonMaximumSuppression
Performs non-maximum suppression.
Definition: vtkImageNonMaximumSuppression.h:40
vtkImageNonMaximumSuppression::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageNonMaximumSuppression::Dimensionality
int Dimensionality
Definition: vtkImageNonMaximumSuppression.h:72
vtkImageNonMaximumSuppression::ThreadedRequestData
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
vtkImageNonMaximumSuppression::SetVectorInputData
void SetVectorInputData(vtkImageData *input)
Definition: vtkImageNonMaximumSuppression.h:49
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImageNonMaximumSuppression::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageNonMaximumSuppression::New
static vtkImageNonMaximumSuppression * New()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkThreadedImageAlgorithm
Generic filter that has one input..
Definition: vtkThreadedImageAlgorithm.h:37
vtkImageNonMaximumSuppression::SetMagnitudeInputData
void SetMagnitudeInputData(vtkImageData *input)
Definition: vtkImageNonMaximumSuppression.h:48
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkImageNonMaximumSuppression::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkThreadedImageAlgorithm.h
vtkImageAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
vtkImageNonMaximumSuppression::HandleBoundaries
int HandleBoundaries
Definition: vtkImageNonMaximumSuppression.h:71
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImagingMorphologicalModule.h
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkImageNonMaximumSuppression::~vtkImageNonMaximumSuppression
~vtkImageNonMaximumSuppression()
Definition: vtkImageNonMaximumSuppression.h:69
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkImageNonMaximumSuppression::vtkImageNonMaximumSuppression
vtkImageNonMaximumSuppression()
VTKIMAGINGMORPHOLOGICAL_EXPORT
#define VTKIMAGINGMORPHOLOGICAL_EXPORT
Definition: vtkImagingMorphologicalModule.h:15