Go to the documentation of this file.
   11 #ifndef vtk_m_filter_image_processing_ImageDifference_h 
   12 #define vtk_m_filter_image_processing_ImageDifference_h 
   15 #include <vtkm/filter/image_processing/vtkm_filter_image_processing_export.h> 
   21 namespace image_processing
 
   40     this->AverageRadius = averageRadius;
 
   46     this->PixelShiftRadius = pixelShiftRadius;
 
   51     return this->AllowedPixelErrorRatio;
 
   55     this->AllowedPixelErrorRatio = pixelErrorRatio;
 
   61     this->PixelDiffThreshold = threshold;
 
   72     const std::string& name,
 
   75     this->SetActiveField(name, association);
 
   81     return this->GetActiveFieldAssociation();
 
   88     const std::string& name,
 
   91     this->SetActiveField(1, name, association);
 
   97     return this->GetActiveFieldAssociation(1);
 
  107   bool ImageDiffWithinThreshold = 
true;
 
  108   std::string ThresholdFieldName = 
"threshold-output";
 
  114 #endif // vtk_m_filter_image_processing_ImageDifference_h 
  
VTKM_CONT std::string GetSecondaryFieldName() const
Definition: ImageDifference.h:94
 
VTKM_CONT vtkm::IdComponent GetPixelShiftRadius() const
Definition: ImageDifference.h:43
 
Groups connected points that have the same field value.
Definition: Atomic.h:19
 
VTKM_CONT void SetPrimaryField(const std::string &name, vtkm::cont::Field::Association association=vtkm::cont::Field::Association::Any)
Choose the primary field to operate on.
Definition: ImageDifference.h:71
 
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
 
Association
Definition: cont/Field.h:34
 
VTKM_CONT void SetPixelDiffThreshold(const vtkm::FloatDefault &threshold)
Definition: ImageDifference.h:59
 
VTKM_CONT void SetAllowedPixelErrorRatio(const vtkm::FloatDefault &pixelErrorRatio)
Definition: ImageDifference.h:53
 
Construct an ImageDifference of a given DataSet.
Definition: ImageDifference.h:32
 
Definition: FilterField.h:21
 
VTKM_CONT std::string GetThresholdFieldName() const
Definition: ImageDifference.h:66
 
VTKM_CONT vtkm::cont::Field::Association GetPrimaryFieldAssociation() const
Definition: ImageDifference.h:79
 
#define VTKM_CONT
Definition: ExportMacros.h:57
 
VTKM_CONT void SetPixelShiftRadius(const vtkm::IdComponent &pixelShiftRadius)
Definition: ImageDifference.h:44
 
VTKM_CONT void SetAverageRadius(const vtkm::IdComponent &averageRadius)
Definition: ImageDifference.h:38
 
VTKM_CONT void SetSecondaryField(const std::string &name, vtkm::cont::Field::Association association=vtkm::cont::Field::Association::Any)
Choose the secondary field to operate on.
Definition: ImageDifference.h:87
 
VTKM_CONT vtkm::FloatDefault GetAllowedPixelErrorRatio() const
Definition: ImageDifference.h:49
 
VTKM_CONT void SetThresholdFieldName(const std::string &name)
Definition: ImageDifference.h:65
 
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:198
 
VTKM_CONT bool GetImageDiffWithinThreshold() const
Definition: ImageDifference.h:64
 
VTKM_CONT vtkm::cont::Field::Association GetSecondaryFieldAssociation() const
Definition: ImageDifference.h:95
 
VTKM_CONT std::string GetPrimaryFieldName() const
Definition: ImageDifference.h:78
 
VTKM_CONT vtkm::IdComponent GetAverageRadius() const
Definition: ImageDifference.h:37
 
VTKM_CONT vtkm::FloatDefault GetPixelDiffThreshold() const
Definition: ImageDifference.h:58