Image Processing Toolbox | ![]() ![]() |
Image Processing Toolbox Typographical Conventions
We often use the variable names I
, RGB
, X
, and BW
in the code examples in this User Guide. I
is used for intensity images, RGB
for RGB
images, X
for indexed images, and BW
for binary images (where it stands for "black and white"). In addition, map
is often used as a variable name for the colormap associated with an indexed image.
See Chapter 2, Introduction for more information about these different representations.
We use conventions to differentiate data ranges from MATLAB vectors. While both are enclosed by square brackets, there are the following differences: commas signify a range, the lack of commas and the use of the monospace font signify a MATLAB vector.
[0, 1] is a range of pixel values from 0 to 1.
[0, 255] is a range of pixel values from 0 to 255.
[0 1]
is a vector of two values, 0
and 1
.
![]() | Typographical Conventions | Image Processing Demos | ![]() |