Quantcast

Documentation Center

  • Trial Software
  • Product Updates

step

System object: dsp.StandardDeviation
Package: dsp

Calculate 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,Y, of input X. The object computes the standard deviation over successive calls to the step method when the RunningStandardDeviation property is true.

Y = step(H,X,R) resets its state based on the value of reset signal R and the ResetCondition property. You can use this option only when the RunningStandardDeviation property is true.

Y = step(H,X,ROI) uses additional input ROI as the region of interest when the ROIProcessing property is set to true and the ROIForm property is set 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 is available when the ROIProcessing property is set to true and the ROIForm property is set to Label matrix.

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

[Y, FLAG] = step(H,X,LABEL,LABELNUMBERS) returns FLAG which indicates whether the input label numbers are valid when the ValidityOutputPort property is 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?