MATLAB: After obtaining the pixel values of an image..how to store those pixel values in an array array After obtaining the pixel values of an image..how to store those pixel values in an array? Best Answer pixel = cell(1,rows);ctr = 1;for R=1:rows for C=1:columns pixel{ctr}=my_image(R,C); disp (R) end ctr = ctr+1;endcelldisp(pixel)[pixel{:}] % double array Related SolutionsMATLAB: How to convert a gray level to another gray level in matlab my_image =imread('YourImage.tif');my_image(my_image == 128) = 0; MATLAB: How to store pixels of MxN bitmap image into MxN array YourImage = imread('NameOfImage.tif');grayImage = rgb2gray(YourImage);level = graythresh(grayImage);bwImage = im2bw(grayImage, level);now bwImage is a binary image the same number of rows and columns as your original image. Related QuestionMatlab Image Cropping problemMontage of two ImagesChanging values of pixels in an image pixel by pixel ( Thresholding )Set color to imaga with maskHow to make the binarized image clearer
Best Answer