Boost logo

Boost Users :

Subject: [Boost-users] [GIL] How to read fixed point channel ?
From: Eloi Du Bois (eloi.du.bois_at_[hidden])
Date: 2009-11-26 05:24:02


Hi,

I have a stream with 8.8 (16b) channels encoded with fixed point arithmetics
(http://knol.google.com/k/anonymous/fixed-point-arithmetic/1b19ktdbl6g9q/2#)
and I need to create a rgb16 view that can hold my image... I tried with
interleaved_view but this makes wrong values. I don't know how to manage
with this...
How must be encoded the shorts in a rgb16_image_t ?

If anyone could help me, that would be great.

Thanks,
Eloi.



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