#237: Provide a deterministic version of mln::labeling::colorize
-----------------------+----------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: task | Status: new
Priority: major | Milestone:
Component: Milena | Version: 1.0
Resolution: | Keywords: random
-----------------------+----------------------------------------------------
Description changed by levill_r:
Old description:
The current version of `mln::labeling::colorize` uses
`rand(3)` (and
`srand(3)`), which is not guaranteed to have the same behavior on
different platforms.
While this version is perfectly acceptable, we also need a deterministic
version, working uniformly across every target host (and the
corresponding test(s), of course).
New description:
The current version of `mln::labeling::colorize` uses `rand(3)` (and
`srand(3)`), which is not guaranteed to have the same behavior on
different platforms.
While this version is perfectly acceptable, we also need a deterministic
version, working uniformly across every target host (and the
corresponding test(s), of course).
This is especially true for Milena's documentation, of which some examples
are generated with `mln::labeling::colorize`.
--
--
Ticket URL: <https://trac.lrde.org/olena/ticket/237#comment:1>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.