Main Content

getDisplayRange

Get display range of image from image model

Description

disp_range = getDisplayRange(imgmodel), returns the display range associated with a grayscale image in imgmodel.

Input Arguments

collapse all

Image model, specified as a scalar imagemodel object.

Output Arguments

collapse all

Image display range, returned as a 2-element numeric vector of the form [min max] for grayscale images. For other image types, the value returned is an empty array, [].

Data Types: double

Introduced before R2006a