|
Boost Users : |
Subject: Re: [Boost-users] [GIL] How to create (and read) a 4 pixels per sample image type?
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-06-04 16:43:44
Hi Olivier,
On Fri, Jun 4, 2010 at 6:35 AM, Olivier Tournaire <olitour_at_[hidden]> wrote:
> Hi all,
>
> I am currently trying to create and read an image which has 4 pixels per
> sample. Here is the output of tiffinfo on such an image :
>
> TIFF Directory at offset 0x8 (8)
> Image Width: 2273 Image Length: 2256
> Resolution: 72, 72 pixels/inch
> Bits/Sample: 16
> Sample Format: unsigned integer
> Compression Scheme: None
> Photometric Interpretation: RGB color
> Extra Samples: 1<unspecified>
> Samples/Pixel: 4
> Rows/Strip: 2256
> Planar Configuration: single image plane
>
>
> How can I achieve this gola with GIL?
I understand you have a 4 channels per pixel which of each channel is
16bits. Is that correct? Also, the color space is rgb. Did you try to
use a rgba16_image_t?
Regards,
Christian
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