Bioluminescence tomography (BLT) is a novel optical molecular imaging (MI) modality. It can reconstruct
the inner bioluminescent light source distribution, according to the surface light distribution. The trust region
method (TRM) can overcome the ill-posedness of BLT for its regularization property. As there exists a "TRUST"
function that can solve the trust region subproblem in Matlab and Matlab's powerful matrix operation ability
suited for TRM, the TRM is implemented in Matlab. Then the Matlab code of TRM is transformed into a
dynamic linked library (DDL) and mixed together with the C++ code of the adaptive finite element (AFE)
framework, using the mixed-language programming technology (MLPT). There are two main advantages of the
MLPT. The first is taking advantages of all the participated programming languages. The second is time efficient.
The usual way of transferring data between programmes written in different programming languages is to write
the data first into files that are stored in the hard discs in one programme, and then read the files from another
programme. Besides wasting time on writing and reading, it is difficult to keep the precision of the data. The
DLL based MLPT can eliminate the need of installing code compilers in the platform running the software.
Furthermore, in DLL, the code is implemented in C/C++ with high time efficiency, while the code in Matlab
remains relatively low time efficiency. Finally, a numerical experiment is carried out to show MLPT's usage in
the source reconstruction procedure of BLT, using the MLPT based on DLL.