chapter 11 Flashcards
ndims
returns number of dimensions in input array
size
returns size of each dimension of input
size(array, 1)
returns number of rows
size(array, 2)
returns number of columns
pixel element
regions of uniform color
RGB image
stored as an n by 3 array, first two indices are the location of pixel and this is color plane (RGB triple)
RGB triple
set of red, green, and blue intensities
[1, 0, 0]
saturated red
[0, 1, 0]
saturated green
[0, 0, 1]
saturated blue
grayscale image
shows lightness of colors in image through shades ranging from white (lightest, 1.0) to black (darkest, 0.0)
hue
measurement of color
saturation
measurement of purity
lumination
measurement of intensity
rgb2gray(imageRGB)
eliminates situation and hue from RGB