Back to Aurora Vision Library website

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

DivideHistogram


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Divides each bin value by a number.

Syntax

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

Parameters

Name Type Default Description
Input value inHistogram const Histogram& Input histogram
Input value inValue const double 2.0D Input value
Output 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.