You are here : matlabImage Processinggetrangefromclass

getrangefromclass() - Image Processing

range = getrangefromclass(I) returns
the default display range of the image I, based
on its class type. The function returns range,
a two-element vector specifying the display range in the form [min
max].Code Generation support:
Yes.MATLAB Function Block support:
Yes.


Syntax

range = getrangefromclass(I)


Example

CT = dicomread('CT-MONO2-16-ankle.dcm');
r = getrangefromclass(CT)
r =

      -32768       32767


Output / Return Value


Limitations


Alternatives / See Also


Reference