45 inline Vec4(
float x,
float y,
float z,
float w) :
46 x(x), y(y), z(z), w(w) {
51 class ICLGeom_API ObjectEdgeDetectorCPU :
public ObjectEdgeDetectorPlugin{
61 ObjectEdgeDetectorCPU();
64 virtual ~ObjectEdgeDetectorCPU();
81 void applyMedianFilter();
90 void setFilteredDepthImage(
const core::Img32f &filteredImg);
95 void applyNormalCalculation();
102 void applyLinearNormalAveraging();
111 void applyGaussianNormalSmoothing();
115 const core::DataSegment<float,4> getNormals();
119 void applyWorldNormalCalculation(
const Camera &cam);
123 const core::DataSegment<float,4> getWorldNormals();
132 void setNormals(core::DataSegment<float,4> pNormals);
137 void applyAngleImageCalculation();
150 void applyImageBinarization();
159 void setMedianFilterSize(
int size);
164 void setNormalCalculationRange(
int range);
168 void setNormalAveragingRange(
int range);
173 void setAngleNeighborhoodMode(
int mode);
178 void setAngleNeighborhoodRange(
int range);
184 void setBinarizationThreshold(
float threshold);
189 void setUseNormalAveraging(
bool use);
194 void setUseGaussSmoothing(
bool use);
201 void initialize(utils::Size size);
206 float scalar(math::FixedColVector<float,4> &a, math::FixedColVector<float,4> &b);
207 float flipAngle(
float angle);
208 float scalarAndFlip(math::FixedColVector<float,4> &a, math::FixedColVector<float,4> &b);
209 float maxAngle(
float snr,
float snl,
float snt,
float snb,
210 float snbl,
float snbr,
float sntl,
float sntr);
undocument this line if you encounter any issues!
Definition: Any.h:37
FixedColVector< icl32f, 4 > Vec4
another shortcut for 3D vectors
Definition: HomogeneousMath.h:43
#define ICLGeom_API
Definition: CompatMacros.h:179
Img< icl8u > Img8u
typedef for 8bit integer images
Definition: Types.h:42
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
Img< icl32f > Img32f
typedef for 32bit float images
Definition: Types.h:54