Properties in Milena

From LRDE

Abstract

Getting both high performance and genericity at the same time is one of the major research field at the LRDE. Milena, the Olena platform library, faces that issue in the context of image processing. Furthermore Milena has for extra objective to remain simple to use for a practitioner. A solution, experimented since several years, is based on properties. Properties are a set of features statically bound to a type. For instance, image types in Milena have a property named speed that gives information at compile time about the value access time. In this seminar, we focus on the image properties. We detail the definition of those properties and justify them. We show how those properties help in improving efficiency while maintaining genericity. For that, we take as illustration the implementation of low level routines in the library.