oa::FnImage::posterize

posterize: Quantize an intensity interval to a fixed number of levels.

Function Documentation

oa::Matrix oa::FnImage::posterize( oa::Engine & inEngine, const oa::Matrix & inImage, oa::U32 inLevels, oa::F32 inLow = 0.0F, oa::F32 inHigh = 1.0F ) oa::Matrix oa::FnImage::posterize( const oa::Matrix & inImage, oa::U32 inLevels, oa::F32 inLow = 0.0F, oa::F32 inHigh = 1.0F )
posterize: Quantize an intensity interval to a fixed number of levels.

Parameters

inEngine
oa::Engine &

inImage
const oa::Matrix &

inLevels
oa::U32

inLow
oa::F32

Default: 0.0F

inHigh
oa::F32

Default: 1.0F

Returns

oa::Matrix

The declared return value.