Boost logo

Boost :

From: Malte Clasen (news_at_[hidden])
Date: 2006-10-27 14:47:33


Lubomir Bourdev wrote:
> Fernando Cacciola wrote:
>> (1) rename the pixel<> class as color<>.
>> (2) rename the planar_ptr<> class as planar_pixel_iterator<>
>> (3) rename the planar_ref<> class as planar_pixel_handle<>
>
> I am hesitating to do (1). Using color is very strange when inside the
> image. Color iterators? Looking at several other libraries I see the
> terms pixel, pixel iterators, used frequently...

I agree with Lubomir. Although they might not be images in the
traditional meaning, normal maps and bump maps can be handled similar to
color maps at the level GIL addresses. However, the pixel of a normal
map represents a direction, not a color.

Malte


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk