step

System object: dsp.Minimum
Package: dsp

Operate on inputs to calculate outputs

Syntax

[VAL,IND] = step(H,X)
VAL = step(H,X)
IND = step(H,X)
VAL = step(H,X,R)
[...] = step(H,I,ROI)
[...] = step(H,I,LABEL,LABELNUMBERS)
[...,FLAG] = step(H,I,ROI)
[...,FLAG] = step(H,I,LABEL,LABELNUMBERS)

Description

[VAL,IND] = step(H,X) returns the minimum value, VAL, and the index or position of the minimum value, IND, along the specified Dimension of X.

VAL = step(H,X) returns the minimum value, VAL, of the input X. When the RunningMinimum property is true, VAL corresponds to the minimum value over successive calls to the step method.

IND = step(H,X) returns the zero- or one-based index IND of the minimum value when the IndexOutputPort property is true and the ValueOutputPort property is false. You must set the RunningMinimum property to false to use this syntax.

VAL = step(H,X,R) resets the state of H based on the value of reset signal, R, and the ResetCondition property. To enable this type of processing, set the RunningMinimum property to true and the ResetInputPort property to true.

[...] = step(H,I,ROI) computes the minimum of an input image, I, within the given region of interest, ROI. To enable this type of processing, set the ROIProcessing property to true and the ROIForm property to Lines, Rectangles or Binary mask.

[...] = step(H,I,LABEL,LABELNUMBERS) computes the minimum of an input image, I, for a region whose labels are specified in the vector LABELNUMBERS. This property applies only when you set the ROIProcessing property to true and the ROIForm property to Label matrix.

[...,FLAG] = step(H,I,ROI) returns FLAG, indicating whether the given region of interest is within the image bounds. To enable this type of processing, set the ROIProcessing and ValidityOutputPort properties to true and the ROIForm property to Lines, Rectangles or Binary mask.

[...,FLAG] = step(H,I,LABEL,LABELNUMBERS) returns FLAG, indicating whether the input label numbers are valid. To enable this type of processing, set the ROIProcessing and ValidityOutputPort properties to true and the ROIForm property to Label matrix.

For full ROI processing support, install the Computer Vision System Toolbox™ product. If you have only the DSP System Toolbox™ product installed, you can only specify the value of the ROIForm property as Rectangles.

    Note:   H specifies the System object™ on which to run this step method.

    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?