MATLAB: Get pixel where the intensity is 255 MATLABpixel intensity print point Hi I have an immage 2048×2448 grayscale, I want to find all the pixel where the intensity is "255". After i have find them i want to print this point on the immage Best Answer img; % 2048x2448 matrix[r, c] = find(img==255); % r and c contain all row and columnsIf you want to mark these points on the imageplot(c, r, '+')It will draw '+' marker at those locations. Related SolutionsMATLAB: How to find an element in a matrix that meets a condition then call its entire row Use find with two output arguments:N = ...;[r,c] = find(DT==N);This is the easiest way, especially if you don’t know the column the value you want is in. Here, ‘r’ is the row and ‘c’ the column of every occurrence of ‘N’. MATLAB: I want to creat the loop of background substraction. Place all images into a cell array.for m=2:length(image) k{m-1}=image{1}-image{m};end Related QuestionIs it possible to crop image parallel with angleHow to draw a line through a set of points
Best Answer