vision.Minimum
Find minimum values in input or sequence of inputs
Description
Find the minimum values in an input or sequence of inputs.
To track a set of points:
Create the
vision.Minimum
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
returns an object,
minObj
= vision.MinimumminObj
, that computes the value and index of the maximum elements
in an input or a sequence of inputs.
sets properties using one or more name-value pairs. Enclose each property name in
quotes. For example, minObj
= vision.Minimum(Name,Value
)minObj =
vision.Maximum('RunningMinimum',false)
Properties
Usage
Syntax
Description
[___] = minObj(
returns the minimum value in the input image within the given region of interest.I
,ROI
)
[___] = minObj(
returns the minimum of the input image for a region the labels specified in the
I
,label
,labelNumbers
)labelNumbers
vector. The regions are defined and labeled in the
label
matrix.
[___,
additionally returns a flag to indicate whether the input label numbers are
valid.flag
] = minObj(I
,label
,labelNumbers
)
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object™ as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Extended Capabilities
Version History
Introduced in R2012a