|
Boost : |
Subject: Re: [boost] [GIL] integration between boost libraries (gil / multiarray)
From: David Abrahams (dave_at_[hidden])
Date: 2010-06-21 12:54:19
At Mon, 21 Jun 2010 17:40:31 +0200 (CEST),
fabien.castan_at_[hidden] wrote:
>
> I'm a big fan of gil. It's one of the best library I know. It has
> really improved my work, which consists of writing image processing
> algorithms. Thanks to the authors.
>
> I have only one criticism: the integration with other boost
> libraries and firstly with multiarray. Because manipulating an
> image consists of manipulating an array of pixels. Many gil's
> operations are not present in multiarray: flip_view,
> subsampled_view, subimage_view, n_channel_view, x_iterator,
> y_iterator, xy_locator, cache_locator, plannar or interleaved
> arrays, virtual views, static_for_each, ...
If GIL is truly a generic library (I am not familiar with it), it
should be possible to make your own types (and MultiArrays) model its
concepts, and use all these kinds of algorithms.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk