Back to FabImage Library website
You are here: Start » Function Reference » Histogram » Histogram Point Transforms » SubtractFromHistogram

SubtractFromHistogram
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Decreases each bin value by a number.
Syntax
C++
C#
void fil::SubtractFromHistogram ( const fil::Histogram& inHistogram, const double inValue, fil::Histogram& outHistogram )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
inValue | const double | 2.0D | 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.