L2NormWithMask< VectorKernelT, MaskElemSizeT > Struct Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/L2Norm.h>

+ Inheritance diagram for L2NormWithMask< VectorKernelT, MaskElemSizeT >:

Classes

struct  DistanceType
 

Public Types

typedef MaskElemSizeT MaskElementSizeType
 
typedef VectorKernelT VectorKernelType
 

Public Member Functions

template<class PointAT, class PointBT, class WidthT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, WidthT >::Type AACubeSqrDistance (const PointAT &a, const PointBT &min, WidthT width) const
 
template<class PointAT, class PointBT>
void AssignAsAABoxMax (const PointAT &vec, PointBT *bboxMax) const
 
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMaxMaskIgnore (const PointAT &vec, const MaskAT &mask, PointBT *bboxMax) const
 
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMaxMaskInfinity (const PointAT &vec, const MaskAT &mask, PointBT *bboxMax) const
 
template<class PointAT, class PointBT>
void AssignAsAABoxMin (const PointAT &vec, PointBT *bboxMin) const
 
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMinMaskIgnore (const PointAT &vec, const MaskAT &mask, PointBT *bboxMin) const
 
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMinMaskInfinity (const PointAT &vec, const MaskAT &mask, PointBT *bboxMin) const
 
template<class PointAT, class MaskAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance (const PointAT &a, const MaskAT &mask, const PointBT &min, const PointBT &max) const
 
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance (const PointAT &a, const PointBT &min, const PointBT &max) const
 
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type Distance (const PointAT &p, const PointBT &v) const
 
template<class PointAT, class PointBT, class MaskAT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type Distance (const PointAT &p, const PointBT &v, const MaskAT &ma, const MaskBT &mb) const
 
template<class PointT, class BoxPointT>
void IncludeInAABox (const PointT &p, BoxPointT box[2]) const
 
template<class PointT, class MaskT, class BoxPointT>
void IncludeInAABoxMaskIgnore (const PointT &p, const MaskT &mask, BoxPointT box[2]) const
 
template<class PointT, class MaskT, class BoxPointT>
void IncludeInAABoxMaskInfinity (const PointT &p, const MaskT &mask, BoxPointT box[2]) const
 
template<class DistScalarT, class DiffScalarT>
DistScalarT IncrementalBoxSqrDistance (DistScalarT boxSqrDist, DiffScalarT boxDiff, DiffScalarT cutDiff) const
 
template<class BoxPointT>
void InitMaximalAABox (BoxPointT box[2]) const
 
template<class PointAT, class MaskAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance (const PointAT &a, const MaskAT &mask, const PointBT &min, const PointBT &max) const
 
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance (const PointAT &a, const PointBT &min, const PointBT &max) const
 
template<class ScalarT>
ScalarT RootOfDistance (ScalarT sqrDistance) const
 
template<class PointAT, class PointBT, class MaskAT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const MaskAT &ma, const PointBT &v, const MaskBT &mb) const
 
template<class PointAT, class PointBT, class MaskAT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const MaskAT &ma, const PointBT &v, const MaskBT &mb, typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist) const
 
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v) const
 
template<class PointAT, class PointBT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v, const MaskBT &mb) const
 
template<class PointAT, class PointBT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v, const MaskBT &mb, typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist) const
 
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v, typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist) const
 
- Public Member Functions inherited from FixedMaskElementSize< SizeT >
const unsigned int MaskElementSize () const
 
void MaskElementSize (unsigned int s)
 

Additional Inherited Members

- Protected Types inherited from FixedMaskElementSize< SizeT >
enum  { m_maskElemSize = SizeT }
 

Detailed Description

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
struct GfxTL::L2NormWithMask< VectorKernelT, MaskElemSizeT >

Definition at line 56 of file L2Norm.h.

Member Typedef Documentation

◆ MaskElementSizeType

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
typedef MaskElemSizeT MaskElementSizeType

Definition at line 59 of file L2Norm.h.

◆ VectorKernelType

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
typedef VectorKernelT VectorKernelType

Definition at line 58 of file L2Norm.h.

Member Function Documentation

◆ AACubeSqrDistance()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT, class WidthT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, WidthT >::Type AACubeSqrDistance ( const PointAT & a,
const PointBT & min,
WidthT width ) const
inline

Definition at line 389 of file L2Norm.h.

+ Here is the call graph for this function:

◆ AssignAsAABoxMax()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
void AssignAsAABoxMax ( const PointAT & vec,
PointBT * bboxMax ) const
inline

Definition at line 430 of file L2Norm.h.

◆ AssignAsAABoxMaxMaskIgnore()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMaxMaskIgnore ( const PointAT & vec,
const MaskAT & mask,
PointBT * bboxMax ) const
inline

Definition at line 500 of file L2Norm.h.

◆ AssignAsAABoxMaxMaskInfinity()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMaxMaskInfinity ( const PointAT & vec,
const MaskAT & mask,
PointBT * bboxMax ) const
inline

Definition at line 480 of file L2Norm.h.

◆ AssignAsAABoxMin()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
void AssignAsAABoxMin ( const PointAT & vec,
PointBT * bboxMin ) const
inline

Definition at line 420 of file L2Norm.h.

◆ AssignAsAABoxMinMaskIgnore()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMinMaskIgnore ( const PointAT & vec,
const MaskAT & mask,
PointBT * bboxMin ) const
inline

Definition at line 460 of file L2Norm.h.

◆ AssignAsAABoxMinMaskInfinity()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class MaskAT, class PointBT>
void AssignAsAABoxMinMaskInfinity ( const PointAT & vec,
const MaskAT & mask,
PointBT * bboxMin ) const
inline

Definition at line 440 of file L2Norm.h.

◆ BoxSqrDistance() [1/2]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class MaskAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance ( const PointAT & a,
const MaskAT & mask,
const PointBT & min,
const PointBT & max ) const
inline

Definition at line 309 of file L2Norm.h.

+ Here is the call graph for this function:

◆ BoxSqrDistance() [2/2]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance ( const PointAT & a,
const PointBT & min,
const PointBT & max ) const
inline

Definition at line 268 of file L2Norm.h.

+ Here is the call graph for this function:

◆ Distance() [1/2]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type Distance ( const PointAT & p,
const PointBT & v ) const
inline

Definition at line 70 of file L2Norm.h.

◆ Distance() [2/2]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT, class MaskAT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type Distance ( const PointAT & p,
const PointBT & v,
const MaskAT & ma,
const MaskBT & mb ) const
inline

Definition at line 243 of file L2Norm.h.

+ Here is the call graph for this function:

◆ IncludeInAABox()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointT, class BoxPointT>
void IncludeInAABox ( const PointT & p,
BoxPointT box[2] ) const
inline

Definition at line 532 of file L2Norm.h.

◆ IncludeInAABoxMaskIgnore()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointT, class MaskT, class BoxPointT>
void IncludeInAABoxMaskIgnore ( const PointT & p,
const MaskT & mask,
BoxPointT box[2] ) const
inline

Definition at line 583 of file L2Norm.h.

◆ IncludeInAABoxMaskInfinity()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointT, class MaskT, class BoxPointT>
void IncludeInAABoxMaskInfinity ( const PointT & p,
const MaskT & mask,
BoxPointT box[2] ) const
inline

Definition at line 549 of file L2Norm.h.

◆ IncrementalBoxSqrDistance()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class DistScalarT, class DiffScalarT>
DistScalarT IncrementalBoxSqrDistance ( DistScalarT boxSqrDist,
DiffScalarT boxDiff,
DiffScalarT cutDiff ) const
inline

Definition at line 257 of file L2Norm.h.

◆ InitMaximalAABox()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class BoxPointT>
void InitMaximalAABox ( BoxPointT box[2]) const
inline

Definition at line 520 of file L2Norm.h.

◆ MaxBoxSqrDistance() [1/2]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class MaskAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance ( const PointAT & a,
const MaskAT & mask,
const PointBT & min,
const PointBT & max ) const
inline

Definition at line 353 of file L2Norm.h.

+ Here is the call graph for this function:

◆ MaxBoxSqrDistance() [2/2]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance ( const PointAT & a,
const PointBT & min,
const PointBT & max ) const
inline

Definition at line 293 of file L2Norm.h.

+ Here is the call graph for this function:

◆ RootOfDistance()

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class ScalarT>
ScalarT RootOfDistance ( ScalarT sqrDistance) const
inline

Definition at line 250 of file L2Norm.h.

◆ SqrDistance() [1/6]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT, class MaskAT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT & p,
const MaskAT & ma,
const PointBT & v,
const MaskBT & mb ) const
inline

Definition at line 128 of file L2Norm.h.

◆ SqrDistance() [2/6]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT, class MaskAT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT & p,
const MaskAT & ma,
const PointBT & v,
const MaskBT & mb,
typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist ) const
inline

Definition at line 153 of file L2Norm.h.

◆ SqrDistance() [3/6]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT & p,
const PointBT & v ) const
inline

Definition at line 88 of file L2Norm.h.

+ Here is the caller graph for this function:

◆ SqrDistance() [4/6]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT & p,
const PointBT & v,
const MaskBT & mb ) const
inline

Definition at line 186 of file L2Norm.h.

◆ SqrDistance() [5/6]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT, class MaskBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT & p,
const PointBT & v,
const MaskBT & mb,
typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist ) const
inline

Definition at line 211 of file L2Norm.h.

◆ SqrDistance() [6/6]

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize<1>>
template<class PointAT, class PointBT>
DistanceType< typenameScalarTypeDeferer< PointAT >::ScalarType, typenameScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT & p,
const PointBT & v,
typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist ) const
inline

Definition at line 106 of file L2Norm.h.


The documentation for this struct was generated from the following file: