中国医学物理学杂志
中國醫學物理學雜誌
중국의학물이학잡지
CHINESE JOURNAL OF MEDICAL PHYSICS
2012年
1期
3145-3149
,共5页
韩凤禹%勾成俊%侯氢%吴章文
韓鳳禹%勾成俊%侯氫%吳章文
한봉우%구성준%후경%오장문
三维图像重建%轮廓插值%GPU加速计算%距离变换
三維圖像重建%輪廓插值%GPU加速計算%距離變換
삼유도상중건%륜곽삽치%GPU가속계산%거리변환
目的:针对传统的的轮廓插值算法在CPU上计算效率低的缺点,将基于距离图像的轮廓插值算法做基于GPU的并行计算加速.方法:基于形状的插值算法主要过程有:(1)轮廓平移使上下两层原始轮廓图像的形心对齐;(2)对原始轮廓图像建立一个对应的标记图像;(3)对原始轮廓图像进行距离变换,得到有不同符号标记的距离图像;(4)对距离图像进行线性插值;(5)从得到的插值距离图像中提取出插值层轮廓;(6)将插值层轮廓回移.将轮廓插值算法中的距离变换过程进行GPU并行化,使距离图像像素标识与GPU线程标识一一对应.GPU的每个线程分别计算距离图像中的一个像素;从显存中读取标记与轮廓坐标,计算出最小欧氏距离,并将有标记的距离结果保存在显存中,作为距离图像的一个像素.结果:测试表明,该方法在测验平台上加速最高达到600倍.结论:该方法加速效果明显,满足实际应用中的实时交互要求.
目的:針對傳統的的輪廓插值算法在CPU上計算效率低的缺點,將基于距離圖像的輪廓插值算法做基于GPU的併行計算加速.方法:基于形狀的插值算法主要過程有:(1)輪廓平移使上下兩層原始輪廓圖像的形心對齊;(2)對原始輪廓圖像建立一箇對應的標記圖像;(3)對原始輪廓圖像進行距離變換,得到有不同符號標記的距離圖像;(4)對距離圖像進行線性插值;(5)從得到的插值距離圖像中提取齣插值層輪廓;(6)將插值層輪廓迴移.將輪廓插值算法中的距離變換過程進行GPU併行化,使距離圖像像素標識與GPU線程標識一一對應.GPU的每箇線程分彆計算距離圖像中的一箇像素;從顯存中讀取標記與輪廓坐標,計算齣最小歐氏距離,併將有標記的距離結果保存在顯存中,作為距離圖像的一箇像素.結果:測試錶明,該方法在測驗平檯上加速最高達到600倍.結論:該方法加速效果明顯,滿足實際應用中的實時交互要求.
목적:침대전통적적륜곽삽치산법재CPU상계산효솔저적결점,장기우거리도상적륜곽삽치산법주기우GPU적병행계산가속.방법:기우형상적삽치산법주요과정유:(1)륜곽평이사상하량층원시륜곽도상적형심대제;(2)대원시륜곽도상건립일개대응적표기도상;(3)대원시륜곽도상진행거리변환,득도유불동부호표기적거리도상;(4)대거리도상진행선성삽치;(5)종득도적삽치거리도상중제취출삽치층륜곽;(6)장삽치층륜곽회이.장륜곽삽치산법중적거리변환과정진행GPU병행화,사거리도상상소표식여GPU선정표식일일대응.GPU적매개선정분별계산거리도상중적일개상소;종현존중독취표기여륜곽좌표,계산출최소구씨거리,병장유표기적거리결과보존재현존중,작위거리도상적일개상소.결과:측시표명,해방법재측험평태상가속최고체도600배.결론:해방법가속효과명현,만족실제응용중적실시교호요구.