MATLAB: How to find four coordinates of inner rectangle digital image processingimage processinglicense platelpr How to find the four inner coordinates of the white rectangle in matlab? Best Answer vsum=sum(image,1);hsum=sum(image,2);top=find(vsum,1,'first');bottom=find(vsum,1,'last');left=find(hsum,1,'first');right=find(hsum,1,'last'); Related SolutionsMATLAB: Integrating double array to cell array I cannot run your code, since I do not have all your variables.If you want to convert your numeric matrix to a cell array, use the num2cell (link) function. MATLAB: I want to mark the highest point of any non-black pixel within the image to find the max point. row=find(sum(BWImage,2)==0,1,'last')+1;col=find(BWImage(row,:)~=0);row=row*ones(size(col));Points=[row(:) col(:)];Points contains the row and column of the point or points at the top. Related QuestionHow to detect the limits of the roadHow to locate blobs upper middle and lower middle points and plot itHow to get the topmost and the bottomost coordinates in a binary image
Best Answer