MATLAB: How can i find the number of pixels in any RGB image image processingMATLAB I want to compare algorithms for face setection for which i want to find the number of pixels in it Best Answer image = imread('image.jpg');[height, width, channels] = size(image);pixels = height * width Related SolutionsMATLAB: Number of pixels in a threshold image It's trivial to do:pixelcount = nnz(yourimage > yourthreshold) MATLAB: How to find pixel in of the line on the image improfile can be used to pixel-value cross-section along line segments. This can be used to set the line segement interactively and get the sample pixel values. Related QuestionHow to find the pixel value at any point on a greyscale image(not on an rgb image?)How to handle montage image
Best Answer