MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 User's Guide Page 21

  • Download
  • Add to my manuals
  • Print
  • Page
    / 252
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 20
Key Blockset Con cepts
Defining Intensity and Color
The values in a binary, intensity, or RGB image can be different d ata types.
The data type of the image values determines which values correspond to
black and white as well as the absence or saturation of color. The following
table summarizes the interpretation of the upper and low er bound of each
data type. To view the data types of the signals at each p ort, from the Format
menu, point to Port/Sig nal Displays,andselectPort Data Types.
Data Type
Black or Absence of
Color
White or Saturation
of Color
Fixed point Minimum data type
value
Maximum data type
value
Floating point
01
Note Video and Image Processing Blockset considers any data type other
than double-precision floating point and single-precision floating point to be
fixed point.
For examp le, for a n intensity image wh ose image va lues are 8-bit unsigned
integers, 0 is black and 255 is w hite. For an intensity image whose image
values are double-precision floating point, 0 is black and 1 is white. For an
intensity image whose image values are 16-bit signed integers, -32768 is
black and 32767 is white.
For an RGB image whose image values are 8-bit unsigned integers, 0 0 0
isblack,255255255iswhite,25500isred,02550isgreen,and00255
is blue. For an RGB image whose image values are double-precision
floatingpoint,000isblack,111iswhite,100isred,010isgreen,
and 0 0 1 is blue. For an RGB image whose image v alues are 16-bit
signed integers, -32768 -32768 -32768 is black, 32767 32767 32767 is
white, 32767 -32768 -32768 is red, -32768 32767 -32768 is green, and
-32768 -32768 32767 is blue.
1-13
Page view 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 251 252

Comments to this Manuals

No comments