Boost的成員Generic Image Library映像庫

來源:互聯網
上載者:User

原帖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的視頻介紹。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.