This paper presents a broad outline and some implementation techniques of the literate programming system CDS.Compared with the previous ones (e.g.WEB,Cweb),CDS has two main characteristics:1) A Chinese-English typesetting system was developed to produce the documentation.This makes the Chinese documentation possible.2) A suitable method for automatic formatting was introduced to generate the software documentation automatically.This frees the programmer from typesetting details while still allowing programmer‘s interference. 相似文献
Due to the orientation feature of diffusion tensor images (DTI), tensors need to be reoriented during an affine registration. There exists two active reorientation schemes: finite strain (FS) and preserving principal direction (PPD). However, FS scheme limits its application on rigid deformation and PPD scheme suffers from computation load caused by the iteration. In order to overcome these shortcomings, we propose a canonical form-based affine registration of DTI, named as CFARD. We transform voxel sets into canonical forms where an affine registration is simplified as a rigid registration, while still preserves the effects of non-rigid components. This transforming thus extends the application of FS scheme to affine deformation. Furthermore, to reduce computation load, the quaternion technique is skillfully employed to seek a closed-form solution of the optimal rotation where no iteration is required. Extensive experiments are conducted on synthetic and real DTI data from the human brain. In contrast to four existing algorithms, the proposed CFARD improves the consistency between tensor orientation and the anatomical structures after deformation, and performs a better balance between accuracy and computational complexity.
Multi-hop localization schemes are low cost, easy to implement and suitable for large-scale application. However, in practical applications, the performances of multi-hop localizations are often affected by anisotropic networks, such as irregular deployment of nodes and uneven distribution of nodes. The anisotropic problem makes the application of multi-hop localization limited, so we propose a new multi-hop approach for anisotropic network. This scheme constructs the mapping relation between hop-counts and physical distance and this algorithm views the process of location estimation as a regression prediction. In addition, we employ the geometric precision factor (Geometric Dilution Precision) to select the anchors, and effectively avoid the problem of the error amplification of the geometric relations of the anchors. Theoretical analysis and simulation results show that our proposed method can adapt to different environments, and the method has the advantages of small overhead, high precision without setting complex parameters. 相似文献