
That looks similar however the proposal would be to generalize a capability similar to that one and abstract the functionality into its own data structures. On Thu, Mar 18, 2010 at 3:46 PM, Christian Henning <chhenning@gmail.com>wrote:
Hi there,
I think these would be great components of a "bit-based" proposal. I think I'd like to see a compact or compressed vector to replace the 1- and 2-bit color maps in Boost (and generalize the concept), and a compact tuple, which (I think) is basically what you described for the RGB structure.
Boost::GIL offers such functionality already. There, you can create bit_aligned images with up to 5 channels in all combinations possible. Like:
typedef bit_aligned_image1_type< 11, gray_layout_t>::type gray11_image_t;
or
typedef bit_aligned_image1_type< 10, 11, 12, rgb_layout_t>::type rgb101112_image_t;
etc.
Were you thinking of such a functionality?
Regards, Christian _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost