Modifying Images

Image type conversion, colormap modification

Functions

im2double Convert image to double precision
ind2rgb Convert indexed image to RGB image
rgb2gray Convert RGB image or colormap to grayscale
rgb2ind Convert RGB image to indexed image
imapprox Approximate indexed image by reducing number of colors
dither Convert image, increasing apparent color resolution by dithering
cmpermute Rearrange colors in colormap
cmunique Eliminate duplicate colors in colormap; convert grayscale or truecolor image to indexed image

Concepts

Was this topic helpful?