Documentation Center

  • Trial Software
  • Product Updates

step

System object: vision.StandardDeviation
Package: vision

Compute standard deviation of input

Syntax

Y = step(H,X)
Y = step(H,X,R)
Y = step(H,X,ROI)
Y = step(H,X,LABEL,LABELNUMBERS)
[Y, FLAG] = step(H,X,ROI)
[Y, FLAG] = step(H,X,LABEL,LABELNUMBERS)

Description

Y = step(H,X) computes the standard deviation of input elements X. When you set the RunningStandardDeviation property to true, the output Y corresponds to the standard deviation of the input elements over successive calls to the step method.

Y = step(H,X,R) computes the standard deviation of the input elements over successive calls to the step method, and optionally resets its state based on the value of reset signal R, the ResetInputPort property and the ResetCondition property. This option applies when you set the RunningStandardDeviation property to true and the ResetInputPort property to true.

Y = step(H,X,ROI) uses additional input ROI as the region of interest when you set the ROIProcessing property to true and the ROIForm property to Lines, Rectangles or Binary mask.

Y = step(H,X,LABEL,LABELNUMBERS) computes the standard deviation of input image X for region labels contained in vector LABELNUMBERS, with matrix LABEL marking pixels of different regions. This option applies when you set the ROIProcessing property to true and the ROIForm property to Label matrix.

[Y, FLAG] = step(H,X,ROI) also returns output FLAG, which indicates whether the given region of interest is within the image bounds. This applies when you set the ValidityOutputPort property to true.

[Y, FLAG] = step(H,X,LABEL,LABELNUMBERS) also returns the output FLAG which indicates whether the input label numbers are valid when you set the ValidityOutputPort property to true.

    Note:   The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object™ issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Was this topic helpful?