52 #ifndef __PCL_MorphologicalTransformation_h
53 #define __PCL_MorphologicalTransformation_h
58 #include <pcl/Diagnostics.h>
107 m_operator = op.
Clone();
108 m_structure = structure.
Clone();
120 if ( !x.m_operator.IsNull() )
121 if ( !x.m_structure.IsNull() )
123 m_operator = x.m_operator->Clone();
124 m_structure = x.m_structure->Clone();
147 (void)InterlacedTransformation::operator =( x );
148 (void)ThresholdedTransformation::operator =( x );
149 (void)ParallelProcess::operator =( x );
150 if ( !x.m_operator.IsNull() && !x.m_structure.IsNull() )
152 m_operator = x.m_operator->Clone();
153 m_structure = x.m_structure->Clone();
157 m_operator.Destroy();
158 m_structure.Destroy();
175 PCL_PRECONDITION( !m_operator.IsNull() )
185 m_operator = op.
Clone();
194 PCL_PRECONDITION( !m_structure.IsNull() )
204 m_structure = structure.
Clone();
216 PCL_PRECONDITION( !m_structure.IsNull() )
217 return m_structure->Size() + (m_structure->Size() - 1)*(InterlacingDistance() - 1);
236 void Validate()
const;
A smart pointer with exclusive object ownership and optional automatic object destruction.
Implements a generic, two-dimensional, shared or local image.
Abstract base class of all PCL morphological operators.
virtual MorphologicalOperator * Clone() const =0
A process using multiple concurrent execution threads.
Abstract base class of all PCL structuring elements.
virtual StructuringElement * Clone() const =0