• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Matlab image question

SONYFX

Senior member
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;
 
Back
Top