Visual Servoing Platform  version 3.6.1 under development (2025-01-11)
vpColorHistogram::Builder Class Reference

#include <visp3/rbt/vpColorHistogram.h>

Public Member Functions

 Builder (unsigned int N)
 
void add (const vpRGBa &color)
 
void build (vpColorHistogram &histogram)
 

Detailed Description

Definition at line 56 of file vpColorHistogram.h.

Constructor & Destructor Documentation

◆ Builder()

vpColorHistogram::Builder::Builder ( unsigned int  N)
inline

Definition at line 59 of file vpColorHistogram.h.

Member Function Documentation

◆ add()

void vpColorHistogram::Builder::add ( const vpRGBa color)
inline

Definition at line 60 of file vpColorHistogram.h.

References vpRGBa::B, vpRGBa::G, and vpRGBa::R.

◆ build()

BEGIN_VISP_NAMESPACE void vpColorHistogram::Builder::build ( vpColorHistogram histogram)