Main Content

getMinIntensity

Get minimum value of image from image model

Description

minval = getMinIntensity(imgmodel) returns the minimum value of the image in imgmodel.

Input Arguments

collapse all

Image model, specified as a scalar imagemodel object.

Output Arguments

collapse all

Minimum image value, returned as a numeric scalar. For a grayscale image, the value returned is the minimum intensity, calculated as min(Image(:)). For an indexed image, the value returned is the minimum index. For any other image type, the value returned is an empty array, []. The class of minval depends on the class of the target image.

Introduced before R2006a