Chess with "Greedy Edi"
07 Nov 2009
24 Jan 2012)
Play chess against "Greedy Edi".
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).
- X ... uint8 nxm matrix (m>2)
- value2rep ... a single value which is to replace
- with_values ... the values to put instead (for dimension a value)
- Y ... uint8 nxm matrix with replaced value
Given is an uint8 image matrix (which was loaded with imread), with Y = mirrorImage(X) you get the image upside down.
mirrorImage, image, imread