replaceRGBValue

replaceRGBValue A value is replaced in an image matrix

Contents

Syntax

Y = replaceRGBValue(X, value2rep, with_values)

Description

A certain value is replaced by several values (for each dimension a value is possible) in an image matrix (dimension>2).

Inputs:

Outputs:

Example

Given is an uint8 image matrix (which was loaded with imread), with Y = mirrorImage(X) you get the image upside down.

See also

mirrorImage, image, imread

Signature