| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
cv::Hamming Struct Reference
Core functionality » Utility and system functions and macros

`#include <opencv2/core/base.hpp>`

Collaboration diagram for cv::Hamming:

## Public Types
typedef int | ResultType
typedef unsigned char | ValueType

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

## Static Public Attributes
static const NormTypes | normType = NORM_HAMMING

## Member Typedef Documentation

## ◆ ResultType

int cv::Hamming::ResultType

## ◆ ValueType

unsigned char cv::Hamming::ValueType

## 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

## Member Data Documentation

## ◆ normType

const NormTypes cv::Hamming::normType = NORM_HAMMING
| static

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

- opencv2/core/base.hpp