Back to Adaptive Vision Library website

You are here: Start » Function Reference » Histogram Point Transforms » DivideHistogram

DivideHistogram


Header:AVL.h
Namespace:avl

Divides each bin value by a number.

Syntax

C++
C#
 
void avl::DivideHistogram
(
	const avl::Histogram& inHistogram,
	const float inValue,
	avl::Histogram& outHistogram
)

Parameters

Name Type Default Description
inHistogram const Histogram& Input histogram
inValue const float 2.0f Input value
outHistogram Histogram& Output histogram

In-place Processing

This function supports in-place data processing - you can pass the same reference to inHistogram and outHistogram

Read more about In-place Computation.

Errors

List of possible exceptions:

Error type Description
DomainError Divisor is equal to zero on input in DivideHistogram.