Boost的成员Generic Image Library图像库

原帖http://ihome.ust.hk/~fuhb/cgi-bin/index.php?entry=entry061114-141001

如果你没有一个用的称手的图像库,你可能会在CImg,Devil,FreeImage等图像库之间徘徊,不知道哪个库更加适合自己。最近由Adobe开发的Generic Image Library (简称GIL)刚刚通过boost的认证,被boost接受成为其一部分。这个对于经常使用stl的编程人员来说无疑是一个好消息。下面是GIL的设计目标:
* Generality: Abstracts image representations from algorithms on images. It allows for writing code once and have it work for any image type.
* Performance: Speed has been instrumental to the design of the library. The generic algorithms provided in the library are comparable in speed to hand-coding the algorithm for a specific image type.
* Flexibility: Compile-type parameter resolution results in faster code, but severely limits code flexibility. The library allows for any image parameter to be specified at run time (for a minor performance cost comparable to a virtual call overhead).
* Extensibility: GIL is concept-based and allows virtually every component - channels, color spaces, pixels, pixel iterators, locators, views, images and algorithms - to be replaced.
* Compatibility: The library is designed as an STL and Boost complement. Generic STL algorithms can be used for pixel manipulation, and they are especially optimized. The library works natively on existing raw pixel data.

在Adobe Open Source的官方网站有对GIL的详细介绍(http://opensource.adobe.com/gil),包括Source code,Tutorial,Design Guide,还有一个55的视频介绍。
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值