[GRASS-dev] Re: [bug #3112] r.watershed hangs
hamish_nospam at yahoo.com
Sun Oct 29 01:42:38 EST 2006
> Charles Ehlschlaeger wrote:
> > The best fix would be to write an algorithm that chooses category
> > color based on adjacent cell values. Here is a psuedo code solution:
> The random case doesn't do too poorly. (256^3 color possibilities vs.
> the four-color theorem)
(the code makes that 960 +- 64 in practice)
but that 1024 color palette is made up of RGB triplets from 256^3 space.
More information about the grass-dev