how i can find these branching point
Show older comments
Hi all
Who i can find these four points?
Note: the extention of this image in matlab is logical

Answers (1)
[I,J] = find(binaryimg<max(binaryimg(:))/2);
IJ = [I,J];
[~,idx] = min(IJ*[1 1; -1 1; 1 -1; -1 -1].');
Corners = IJ(idx,:);
For some elaboration on why this works, see this thread,
6 Comments
mohammed alany
on 15 Apr 2019
mohammed alany
on 15 Apr 2019
mohammed alany
on 15 Apr 2019
Matt J
on 15 Apr 2019
That wouldn't leave any fun for you ;)
mohammed alany
on 15 Apr 2019
Categories
Find more on Detect, Extract, and Match Features in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!