AliceVision
Photogrammetric Computer Vision Framework
Public Types | Public Member Functions | Static Public Member Functions | List of all members
aliceVision::feature::Hamming< T > Struct Template Reference

Public Types

typedef T ElementType
 
typedef unsigned int ResultType
 

Public Member Functions

template<typename Iterator1 , typename Iterator2 >
ResultType operator() (Iterator1 a, Iterator2 b, size_t size) const
 

Static Public Member Functions

static unsigned int popcnt32 (uint32_t n)
 
static unsigned int popcnt64 (uint64_t n)
 

Member Function Documentation

◆ popcnt32()

template<typename T >
static unsigned int aliceVision::feature::Hamming< T >::popcnt32 ( uint32_t  n)
inlinestatic

This is popcount_3() from: http://en.wikipedia.org/wiki/Hamming_weight


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