X-ray图像模拟(Simulation of X-Ray NDT Imaging Techniques)

这边文章的目的在于如何用代码实现X-ray图像的技术原理。#####

说明:本文主要讨论的就是文献1的内容以及结合自己的一些理解,如果偏差,还望指正


正文###

  1. 前言:

The simulation is based on ray-tracing and on the X-ray attenuation law. The use of Computer Aided Drawing (CAD) models enables simulations to be carried out with complex three-dimensional (3D) objects.
模拟的数据基于cad模型,模拟xray光线追踪(实际上这篇文章只用到了光线投射,不考虑其他反射之类的部分)的原理绘制图像

  1. 基本定律
    原理

注解:Fig 1: (a) Principle of the simulation. A set of rays is emitted towards every pixel of the detector. The object is described with triangular meshes. For each ray, geometrical calculations enable the attenuation path length to be determined. (b) Simulated radiograph.
上面的图说明了每一个像素是如何生成的,每一个像素发射一堆射线(实际上只需要考虑一条射线,因为计算机需要简化过程),上面也说到了一个关键的元素 path length,这是一个影响成像的重要计算因素

公式1

原文解释:

In this formula, NÇ(E) refers to the number of photons with energy E, emitted by the source per solid angle unit; D W is the solid angle that corresponds to the pixel, observed from the source point; mi(E) designates the linear attenuation coefficient associated with the material i at the energy E, and xi the total path length through the material i.

如何进行描述:

N(e):像素值
δΩ:立体角
Nd(E): 光子数目
μ:常数(对于均匀介质)

公式简化:
Es = α * exp(-μ*PathLength)

pathLength:光线经过的路径的长度
代表没经过一段均匀的材质对像素的贡献
总的贡献结果为多段Es的乘积
E = Es1 * Es2 * Es3 ...

效果###

cad
xray

这条光线
文献参考

  1. http://www.ndt.net/article/wcndt00/papers/idn256/idn256.htm
posted @ 2017-06-29 08:22  kalluwa  阅读(469)  评论(0编辑  收藏  举报