ClassesClassesClassesClasses | | | | Operators

deviation_ndeviation_nDeviationNdeviation_nDeviationNDeviationN (Operator)

Name

deviation_ndeviation_nDeviationNdeviation_nDeviationNDeviationN — Calculate standard deviation over several channels.

Signature

deviation_n(Image : ImageDeviation : : )

Herror deviation_n(const Hobject Image, Hobject* ImageDeviation)

Herror T_deviation_n(const Hobject Image, Hobject* ImageDeviation)

Herror deviation_n(Hobject Image, Hobject* ImageDeviation)

HImage HImage::DeviationN() const

HImageArray HImageArray::DeviationN() const

void DeviationN(const HObject& Image, HObject* ImageDeviation)

HImage HImage::DeviationN() const

void HOperatorSetX.DeviationN(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*ImageDeviation)

IHImageX* HImageX.DeviationN()

static void HOperatorSet.DeviationN(HObject image, out HObject imageDeviation)

HImage HImage.DeviationN()

Description

deviation_ndeviation_nDeviationNdeviation_nDeviationNDeviationN generates the pixel-by-pixel standard deviation of a multichannel gray value image. For each coordinate point p the expected value is defined as the arithmetic mean:

where g_{c}(p) denominates the gray value at p on channel c. n is the number of channels in the image.

The standard deviation itself is then calculated as:

Note that this formula produces the sample standard deviation. The factor 2 is used to make better use of the range of values of the output image format. The output image has one channel.

Attention

Note that filter operators may return unexpected results if an image with a reduced domain is used as input. Please refer to the chapter Filters.

Parallelization

Parameters

ImageImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte / int2 / uint2 / int4 / real)

Multichannel gray image.

ImageDeviationImageDeviationImageDeviationImageDeviationImageDeviationimageDeviation (output_object)  image(-array) objectHImageHImageHImageHImageXHobject * (byte / int2 / uint2 / int4 / real)

Result of calculation.

Possible Predecessors

compose2compose2Compose2compose2Compose2Compose2, compose3compose3Compose3compose3Compose3Compose3, compose4compose4Compose4compose4Compose4Compose4, compose5compose5Compose5compose5Compose5Compose5, add_channelsadd_channelsAddChannelsadd_channelsAddChannelsAddChannels

See also

mean_nmean_nMeanNmean_nMeanNMeanN

Module

Foundation


ClassesClassesClassesClasses | | | | Operators