replaceRGBValue A value is replaced in an image matrix
Y = replaceRGBValue(X, value2rep, with_values)
A certain value is replaced by several values (for each dimension a value is possible) in an image matrix (dimension>2).
Inputs:
Outputs:
Given is an uint8 image matrix (which was loaded with imread), with Y = mirrorImage(X) you get the image upside down.