To model deformation of anatomical shapes, non-linear statistics are required to take into account the non-linear structure of the data space. Computer implementations of non-linear statistics and differential geometry algorithms often lead to long and complex code sequences. The aim of the paper is to show how the Theano framework can be used for simple and concise implementation of complex differential geometry algorithms while being able to handle complex and high-dimensional data structures. We show how the Theano framework meets both of these requirements. The framework provides a symbolic language that allows mathematical equations to be directly translated into Theano code, and it is able to perform both fast CPU and GPU computations on high-dimensional data. We show how different concepts from non-linear statistics and differential geometry can be implemented in Theano, and give examples of the implemented theory visualized on landmark representations of Corpus Callosum shapes.
翻译:为了模拟解剖形状的变形,需要非线性统计,以考虑到数据空间的非线性结构。计算机实施非线性统计和不同的几何算法往往导致长而复杂的代码序列。文件的目的是说明Theano框架如何用于简单简洁地实施复杂的差分几何算法,同时能够处理复杂和高维的数据结构。我们展示Theano框架如何满足这两个要求。框架提供了一种象征性语言,使数学方程式能够直接转换为Theano代码,并且能够对高维数据进行快速的CPU和GPU计算。我们展示了如何在Theano实施与非线性统计不同的概念和差异几何法,并举例说明了Corpus Callosum形状里程碑式的可视化理论。