From: Ish Khan on
Hi, How can i find the upper edge of an image? the 1st x and y cordinate? mine is a binary image....
From: Walter Roberson on
Ish Khan wrote:
> Hi, How can i find the upper edge of an image? the 1st x and y
> cordinate? mine is a binary image....


FirstRow = find(any(YourImage,2),1);
FirstColOfFirstRow = find(YourImage(FirstRow,:),1);