兰州交通大学学报
蘭州交通大學學報
란주교통대학학보
JOURNAL OF LANZHOU JIAOTONG UNIVERSITY(Natural Sciences)
2014年
3期
93-97,124
,共6页
邓冲%蒋佩钊%孙传庆%杜晓刚
鄧遲%蔣珮釗%孫傳慶%杜曉剛
산충%장패쇠%손전경%두효강
体数据梯度%传递函数%体绘制%CUDA
體數據梯度%傳遞函數%體繪製%CUDA
체수거제도%전체함수%체회제%CUDA
volume data gradient%transfer function%volume rendering%CUDA
在体绘制的光线投射算法中,需要传递函数确定体数据对光学属性的映射。体数据梯度是传递函数的常用参数。为了提高三维绘制精度,使用精确的三维 Sobel 算子进行体数据梯度幅值计算,但由于采用 Sobel 算子进行计算时计算量十分庞大,因此在计算统一设备构架(Compute Unified Device Architecture,CUDA)下对算法进行并行加速。在此基础上分析并研究了一种基于 CUDA 快速体数据梯度计算的体绘制算法,达到了梯度的实时计算。实验证明该算法能够在 PC 机上实现精确的序列图像实时体绘制。
在體繪製的光線投射算法中,需要傳遞函數確定體數據對光學屬性的映射。體數據梯度是傳遞函數的常用參數。為瞭提高三維繪製精度,使用精確的三維 Sobel 算子進行體數據梯度幅值計算,但由于採用 Sobel 算子進行計算時計算量十分龐大,因此在計算統一設備構架(Compute Unified Device Architecture,CUDA)下對算法進行併行加速。在此基礎上分析併研究瞭一種基于 CUDA 快速體數據梯度計算的體繪製算法,達到瞭梯度的實時計算。實驗證明該算法能夠在 PC 機上實現精確的序列圖像實時體繪製。
재체회제적광선투사산법중,수요전체함수학정체수거대광학속성적영사。체수거제도시전체함수적상용삼수。위료제고삼유회제정도,사용정학적삼유 Sobel 산자진행체수거제도폭치계산,단유우채용 Sobel 산자진행계산시계산량십분방대,인차재계산통일설비구가(Compute Unified Device Architecture,CUDA)하대산법진행병행가속。재차기출상분석병연구료일충기우 CUDA 쾌속체수거제도계산적체회제산법,체도료제도적실시계산。실험증명해산법능구재 PC 궤상실현정학적서렬도상실시체회제。
In the light casting algorithm of volume rendering,the transfer function is needed to be confirmed for the mapping from volume data to optical properties.The volume gradient is a pa-rameter often used in transfer function.In order to get precise gradient amplitude,three-dimen-sional Sobel operator is used to calculate volume gradient.Due to its large amount of calculation, the algorithm is parallelly accelerated by using CUDA (Compute Unified Device Architecture).A volume rendering algorithm is analyzed and proposed based on fast gradient calculation which u-sing CUDA to achieve the real-time calculation.Experiments prove that the algorithm can be im-plemented in PC to realize real-time precise volume rendering of sequence images.