Re: Random and Multithreading
- From: "John Herbster" <herb-sci1_at_sbcglobal.net>
- Date: Thu, 12 Apr 2007 14:23:36 -0500
"John" <NoSpam@xxxxxxxxxx> wrote
... I have to apply a graphic filter on a Bitmap ...
John,
I just noticed the above line in your OP. Are you
trying to do dithering to smooth out gradient steps?
If so, I believe that there are better ways to do this
than recomputing the random function each time.
Using a PRNG (pseudo-random number generator)
to do this is often an easy way to find correlations
in the generated random number sequence, which
is usually what you do *not* want when doing image
dithering.
Regards, JohnH
.
- Follow-Ups:
- Re: Random and Multithreading
- From: John
- Re: Random and Multithreading
- References:
- Random and Multithreading
- From: John
- Random and Multithreading
- Prev by Date: Re: FastMM and strange stack
- Next by Date: Re: FastMM and strange stack
- Previous by thread: Re: Random and Multithreading
- Next by thread: Re: Random and Multithreading
- Index(es):
Relevant Pages
|