The Insight Journal logo

Multidimensional Arrays and the nArray Package

Sadowsky, Ofri, Li, Daniel, Deguet, Anton, Kazanzides, Peter
Johns Hopkins University
The Insight Journal logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/553
New: Prefer using the following doi: https://doi.org/10.54294/3pq5o5
Submitted by Ofri Sadowsky on 2007-07-02.

At the Johns Hopkins University’s Engineering Research Center for Computer-Integrated Surgical Systems and Technology (ERC-CISST) laboratory, we have designed and developed a platformindependent C++ software package, called the nArray library, that provides a unified framework for efficiently working with multidimensional data sets. In this paper, we present and discuss the core elements of the library, including its intuitive and uniform API, efficient arithmetic engine algorithm, and efficient sub-volume algorithm. We then compare the performance of the nArray library with that of an existing multidimensional array toolkit, ITK. We conclude that the nArray library is more efficient than ITK in many situations, especially in operations on sub-arrays, and that the two packages have comparable performance in many other scenarios. The underlying algorithms, if incorporated in ITK, can help improve its performance.