|
Boost Users : |
Subject: Re: [Boost-users] [GIL] Image of doubles
From: Brice Rivé (bricerive_at_[hidden])
Date: 2008-09-23 10:54:34
Thanks Christian,
I just want to store doubles that are the result of computations, no color
space (gray values).
Here's what I ended up doing:
typedef double bits64f;
GIL_DEFINE_BASE_TYPEDEFS(64f,gray)
which is probably overkill. I'll try what you suggested (without the planar
version)
Thanks again,
Brice.
Christian Henning wrote:
>
>
> This is very easy in gil. I don't know what color space you're in but
> for a single channel image you can define the image type by:
>
> typedef pixel< double, gray_layout_t > gray64f_pixel_t;
> typedef image< gray64f_pixel_t, false > gray64f_image_t;
> typedef image< gray64f_pixel_t, true > gray64f_planar_image_t;
>
>
-- View this message in context: http://www.nabble.com/-GIL--Image-of-doubles-tp19607063p19629534.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net