1

I have an double array with xy coordinates for a bunch of pixels: [x1, y1; x2, y2; ... xn, yn]

I want to count the number of groups of adjacent pixels I have, number each group, and know which pixels are part of each object.

What method(s) would you recommend?

Thanks in advance for your help.

1 Answer 1

2

There is a matlab example in the help. However, you need the image processing toolbox

http://www.mathworks.de/de/help/images/image-enhancement-and-analysis.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.