OpenCV: cv::Hamming Struct Reference

| OpenCV 3.4.2 Open Source Computer Vision

Public Types | Public Member Functions | List of all members
cv::Hamming Struct Reference
Core functionality » Utility and system functions and macros

`#include "base.hpp"`

## Public Types
enum | { normType = NORM_HAMMING }
typedef int | ResultType
typedef unsigned char | ValueType

## Public Member Functions
ResultType | operator() (const unsigned char *a, const unsigned char *b, int size) const

## Member Typedef Documentation

## ◆ ResultType

typedef int cv::Hamming::ResultType

## ◆ ValueType

typedef unsigned char cv::Hamming::ValueType

## Member Enumeration Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
normType |

## Member Function Documentation

## ◆ operator()()

ResultType cv::Hamming::operator() | ( | const unsigned char * | a,
|  | const unsigned char * | b,
|  | int | size
| ) |  | const

this will count the bits in a ^ b

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

- core/include/opencv2/core/base.hpp