how to create a white image?
I would like to create a NxM white image. But how to put color vectors [256 256 256] into a 2D array?
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
Try this to create a grayscale image:
whiteImage = 255 * ones(N, M, 'uint8');
imshow(whiteImage);
To create an RGB image, try this:
whiteImage = 255 * ones(480, 640, 3, 'uint8');
imshow(whiteImage);
SEE COMPLETE ANSWER CLICK THE LINK