Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: JD Smith <jdsmith@as...> - 2006-10-26 22:34:18
|
On Thu, 2006-10-26 at 15:14 -0700, Daniel M. German wrote: > > > Ok, let us put the code in, but in a more generalizable way. > > Instead of adding 2 parms, let us add only one (a pointer to a > struct). > > The struct will contain: > > * Any info needed (in this case the 2 thresholds) > > * A pointer to a function to call to determine if one should use the > points. This function should accept: > > What do you think? Sounds reasonable. The problem is, what does that function take as input, RGBHSV for both pixels? Pre-compute them all before deciding whether to proceed? Would slow things down a bit. JD |