I'm looking for a way to extract groups of adjacent non-white pixels (RGB < 255, 255, 255) from an image:

Diagonally neighboring pixels (
) may or may not count as adjacent.
Can you give me a few pointers?
| 1 | initial version |
I'm looking for a way to extract groups of adjacent non-white pixels (RGB < 255, 255, 255) from an image:

Diagonally neighboring pixels (
) may or may not count as adjacent.
Can you give me a few pointers?
| 2 | No.2 Revision |
I'm looking for a way Given an image, I'd like to extract groups of adjacent non-white [1] pixels by their rectangular bounding boxes: (RGB < 255, 255, 255) from an image:

Diagonally neighboring pixels (
) may or may not count as adjacent.
Can you give me a few pointers?
[1] (RGB < 255, 255, 255)
| 3 | No.3 Revision |
Given an image, I'd like to extract all groups of adjacent non-white [1] pixels by their rectangular bounding boxes:

Diagonally neighboring pixels (
) may or may not count as adjacent.
Can you give me a few pointers?
[1] (RGB < 255, 255, 255)
| 4 | No.4 Revision |
Given an image, I'd like to extract all groups of adjacent non-white [1] pixels by their rectangular bounding boxes:

Diagonally neighboring pixels (
) may or may not count as adjacent.
Can you give me a few pointers?
[1] (RGB (R, G, B < 255, 255, 255)
| 5 | No.5 Revision |
Given an image, I'd like to extract all groups of adjacent non-white [1] pixels by their rectangular bounding boxes:

Diagonally neighboring pixels (
) may or may not count as adjacent.
Can you give me a few pointers?
[1] (R, G, B < 255, 255, 255)