Matlab image question

SONYFX

Senior member
May 14, 2003
403
0
0
I'm trying to create a pure 256x256 blue image (RGB value (0,0,256)), but I am getting a black image, anyone know why?

----------------------------------------------

a = zeros(256, 256, 3);

a(2:145, 200:225,2) = 256;

image(uint8(a));

axis image;