> Speaking of the Area patches: how efficient/accurate are they, Efficiency depends on context --- but, being Core Image-based, they're going to run on the GPU when possible, so they're probably about as efficient as is reasonable for a generalized solution. Depending on the specific use, it may be beneficial to develop a custom version with an algorithm better suited to that particular use. Profiling is required.
Having tested these patches on several degenerate cases I thought of offhand, I'm pretty confident in their accuracy. One example attached --- averaging a single-pixel checkerboard gives 50% grey (well, it actually gives 49.80392% grey, presumably because it's averaging 8bit extrema). > and is there a more efficient way to handle calculating area average/min/max > values? Once OpenCL becomes viable, it may be possible to develop a more efficient version, given the greater workunit context and functionality available with that language. But for now, these CI filters are probably the best option for accomplishing the task. Steve -- Steve Mokris [ [email protected] ] http://kineme.net/
areaaverage-checkerboard.qtz
Description: application/quartzcomposer
<<inline: areaaverage-checkerboard.png>>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

