vision.Mean
(Removed) Find mean values in input or sequence of inputs
function has been removed. Use the
vision.Mean
mean
and movmean
functions to find mean values,
instead.
Description
Find the mean values in an input or sequence of inputs.
To track a set of points:
Create the
vision.Mean
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.MeanminObj
, 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.Mean(Name,Value
)minObj =
vision.Maximum('RunningMean',false)
Properties
Usage
Syntax
Description
[___] = minObj(
returns the mean value in the input image within the given region of interest.I
,ROI
)
[___] = minObj(
returns the mean 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)