find largest cluster?
- From: bugbear <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 09 Apr 2008 11:35:10 +0100
Given a list of RGB (or other triple) colours,
rgb0, rgb1... rgbN I would like to be able
to detect what the largest "common" colour.
I think this would need to be within a tolerance
(e.g. from a list of 10, 4 are identical
within +- 2 in each channel).
There are some obvious nested loop
algorithms, but they're very inefficient
(essentially form and calculate all permutations
of the list).
Is this a standard problem, or does
anyone have an ah-hah algorithm?
BugBear
.
- Follow-Ups:
- Re: find largest cluster?
- From: ImageAnalyst
- Re: find largest cluster?
- From: mauro
- Re: find largest cluster?
- From: Martin Brown
- Re: find largest cluster?
- From: bugbear
- Re: find largest cluster?
- Prev by Date: a tube, or not a tube: that is the question
- Next by Date: Re: find largest cluster?
- Previous by thread: a tube, or not a tube: that is the question
- Next by thread: Re: find largest cluster?
- Index(es):
Relevant Pages
|