CN104392422B - A MRI Inhomogeneous Field Estimation Method Based on Image Gradient Fitting - Google Patents
A MRI Inhomogeneous Field Estimation Method Based on Image Gradient Fitting Download PDFInfo
- Publication number
- CN104392422B CN104392422B CN201410779041.5A CN201410779041A CN104392422B CN 104392422 B CN104392422 B CN 104392422B CN 201410779041 A CN201410779041 A CN 201410779041A CN 104392422 B CN104392422 B CN 104392422B
- Authority
- CN
- China
- Prior art keywords
- image
- gradient
- region
- interest
- log
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000000694 effects Effects 0.000 claims description 6
- 238000005481 NMR spectroscopy Methods 0.000 claims description 5
- 230000035945 sensitivity Effects 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 3
- 238000013213 extrapolation Methods 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 239000002131 composite material Substances 0.000 claims 1
- 230000008520 organization Effects 0.000 abstract 1
- 238000002595 magnetic resonance imaging Methods 0.000 description 7
- 238000003745 diagnosis Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000013334 tissue model Methods 0.000 description 3
- 210000001015 abdomen Anatomy 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000005865 ionizing radiation Effects 0.000 description 1
- 230000003902 lesion Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000006833 reintegration Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Landscapes
- Magnetic Resonance Imaging Apparatus (AREA)
Abstract
Description
技术领域technical field
对核磁共振图像中由于磁场不均匀或线圈灵敏度造成的非均匀场进行快速估计并进行校正。Quickly estimate and correct for inhomogeneous fields in MRI images due to magnetic inhomogeneity or coil sensitivity.
背景技术Background technique
核磁共振成像由于其高分辨率、无电离辐射损伤以及任意角度成像等特点而被广泛地应用于医疗诊断和科学研究。但核磁共振成像系统由于受到磁场不均匀,线圈灵敏度等干扰,重建影像表现出一定的非均匀性,对医生诊断和计算机辅助分析如配准、分类等都会产生一定的影像。随着对更高分辨率扫描图像的需求,扫描仪的磁场强度越来越高、磁场梯度也越来越精细,随之而来的问题是核磁共振图像所遭受的非均匀场的干扰也越来越严重。非均匀场是由发射的空间磁场不均匀或接收线圈的不均匀灵敏度所引起的偏差场,这种偏差场一般被假设为一种平滑的、缓慢变化的乘性偏差场,会导致图像的灰度值与真实值之间存在一定的偏差。一些较强的非均匀场会降低图像的对比度,淹没病灶细节,从而导致错误的诊断结果或配准、分割误差。因此,非均匀场的校正对每一幅核磁共振图像都是必不可少的。Magnetic resonance imaging is widely used in medical diagnosis and scientific research because of its high resolution, no ionizing radiation damage, and imaging at any angle. However, due to the interference of magnetic field inhomogeneity and coil sensitivity, etc., the reconstructed image of the MRI system shows certain inhomogeneity, which will produce certain images for doctor diagnosis and computer-aided analysis such as registration and classification. With the demand for higher-resolution scanning images, the magnetic field strength of the scanner is getting higher and higher, and the magnetic field gradient is getting finer. It's getting serious. The inhomogeneous field is the deviation field caused by the inhomogeneity of the transmitted spatial magnetic field or the inhomogeneity of the receiving coil sensitivity. This deviation field is generally assumed to be a smooth, slowly changing multiplicative deviation field, which will lead to gray images. There is a certain deviation between the degree value and the real value. Some strong non-uniform fields will reduce the contrast of the image and drown out the details of the lesion, which will lead to wrong diagnosis results or registration and segmentation errors. Therefore, correction of inhomogeneous fields is essential for every MRI image.
非均匀场校正方法一般通过对图像的非均匀特性进行曲面拟合获得非均匀场估计。一种基于梯度滤波的非均匀性估计,利用MRI的低频梯度与组织模型无关的特点,直接求取图像的二阶偏导并进行低通滤波操作,对滤波后的梯度图像进行重新积分,但滤波并不能完全提出图像边缘造成的梯度高频信息,剩余的高频梯度信息也会对重积分造成较大的误差。第二种出基于二阶梯度拟合的快速非均匀场估计,同样利用第一种方法中MRI的低频梯度与组织模型无关的特点,选取图像的二阶导数图中较小的值作为非均匀场造成的梯度的估计,用低阶多项式直接拟合得出非均匀场。其缺点是梯度采用阈值法选取,容易将图像细节错误地划分进去。若图像的非均匀场较小,而确定的拟合数据中又包含较多的图像细节,则造成的二阶梯度进行拟合误差较大,校正图像可能非均匀度更加严重。另外一种基于逐行逐列拟合的非均匀场校正假设非均匀场引起图像灰度的微小变化,则梯度场中较小的值则代表由非均匀场引起,较大的值为图像细节。通过提取图像的梯度场中的每一行每一列的较小的值,作为非均匀场梯度的估计,通过一维多项式拟合得到x方向和y方向的非均匀场估计,二者相乘得到图像的非均匀场。缺点是行与行之间无法保证对齐,对于一些行其高频特性占大多数时无法提取足够的拟合点,造成拟合误差过大。本发明依然利用了图像中低频梯度与组织模型无关的特性,改进了上述方法,主要特点有:The non-uniform field correction method generally obtains the non-uniform field estimation by performing surface fitting on the non-uniform characteristics of the image. A non-uniformity estimation based on gradient filtering, which uses the characteristics that the low-frequency gradient of MRI has nothing to do with the tissue model, directly obtains the second-order partial derivative of the image and performs low-pass filtering operation, and re-integrates the filtered gradient image, but Filtering cannot fully extract the gradient high-frequency information caused by the edge of the image, and the remaining high-frequency gradient information will also cause large errors in the reintegration. The second method is a fast non-uniform field estimation based on second-order gradient fitting. It also uses the characteristics that the low-frequency gradient of MRI has nothing to do with the tissue model in the first method, and selects the smaller value in the second-order derivative map of the image as the non-uniform field. The gradient caused by the field is estimated, and the non-uniform field is obtained by direct fitting of a low-order polynomial. Its disadvantage is that the gradient is selected by the threshold method, and it is easy to mistakenly divide the image details into it. If the non-uniform field of the image is small, and the determined fitting data contains more image details, the resulting second-order gradient fitting error will be larger, and the non-uniformity of the corrected image may be more serious. Another non-uniform field correction based on row-by-column fitting assumes that the non-uniform field causes a small change in image grayscale, then the smaller value in the gradient field represents the cause of the non-uniform field, and the larger value is the image detail . By extracting the smaller value of each row and column in the gradient field of the image, as an estimate of the gradient of the non-uniform field, the non-uniform field estimation in the x direction and the y direction is obtained by one-dimensional polynomial fitting, and the image is obtained by multiplying the two non-uniform field. The disadvantage is that the alignment between rows cannot be guaranteed, and for some rows whose high-frequency characteristics account for the majority, it is impossible to extract enough fitting points, resulting in excessive fitting errors. The present invention still utilizes the characteristic that the low-frequency gradient in the image is irrelevant to the tissue model, improves the above-mentioned method, and has the following main features:
1)本发明能够较为精确地估计出非均匀场并校正图像。1) The present invention can more accurately estimate the non-uniform field and correct the image.
2)估计方法不依赖于其他设备和先验知识。2) The estimation method does not depend on other equipment and prior knowledge.
3)估计方法运算速度满足实时要求。3) The calculation speed of the estimation method meets the real-time requirements.
发明内容Contents of the invention
本发明提出一种基于图像梯度拟合的MRI非均匀场估计方法,用于对核磁共振图像中由磁场不均匀或线圈灵敏度造成的灰度不均匀性进行快速校正。该方法首先对图像求对数,转换到对数域,将乘性的非均匀场变为加性,这样就对图像信息和非均匀场信息进行了解耦。然后选取一系列灰度值相差不大的区域,提取其中的x-方向和y-方向梯度,通过最小二乘法最小化一个特殊的目标函数,直接获得全图像的非均匀场的拟合估计,具体流程如下:The invention proposes an MRI inhomogeneous field estimation method based on image gradient fitting, which is used for fast correction of the gray level inhomogeneity in the nuclear magnetic resonance image caused by the inhomogeneity of the magnetic field or the sensitivity of the coil. This method first calculates the logarithm of the image, converts it to the logarithmic domain, and turns the multiplicative non-uniform field into an additive, thus decoupling the image information and the non-uniform field information. Then select a series of areas with little difference in gray value, extract the gradients in the x-direction and y-direction, and minimize a special objective function through the least square method to directly obtain the fitting estimation of the non-uniform field of the whole image. The specific process is as follows:
步骤一、去噪处理Step 1, denoising processing
核磁共振原始图像由收集的k空间信号进行傅立叶变换得到。由于设备和环境影响,受到噪声。本发明为基于梯度的非均匀场估计,而梯度对噪声十分敏感。在进行估计之前要对原始图像进行去噪处理,预处理还包括了图像的轮廓提取,剔除边缘的背景区域和一些低信噪比区域。The original NMR image is obtained by Fourier transform of the collected k-space signal. Noise due to equipment and environment. The present invention is gradient-based non-uniform field estimation, and the gradient is very sensitive to noise. Before the estimation, the original image should be denoised. The preprocessing also includes the contour extraction of the image, removing the background area of the edge and some low signal-to-noise ratio areas.
步骤二、计算梯度场Step 2. Calculate the gradient field
估计非均匀场需要对区域内的梯度值进行拟合操作。因此首先计算出图像的梯度场,包括x-方向梯度和y-方向梯度。图像梯度一般采用差分法或sobel算子求取,为了减少噪声干扰,本发明提出一种新的基于高斯核的梯度算子来计算图像的梯度,在计算某一点的梯度时考虑其周围点的影响。以x-方向为例,假设原始图像为v,对数操作后为vlog,计算公式为:Estimating an inhomogeneous field requires a fitting operation on the gradient values in the region. Therefore, the gradient field of the image is first calculated, including the x-direction gradient and the y-direction gradient. The image gradient is generally obtained by difference method or sobel operator. In order to reduce noise interference, the present invention proposes a new gradient operator based on Gaussian kernel to calculate the gradient of the image. When calculating the gradient of a certain point, the surrounding points are considered influences. Taking the x-direction as an example, assuming that the original image is v, after the logarithmic operation is v log , the calculation formula is:
其中△x为求微分符号,表示对图像x方向求微分,vlog为原始图像v的对数域图像,(x,y)代表图像的像素点坐标,m,n为梯度算子的大小,ωi,j为高斯系数,满足 Among them, △ x is the differential symbol, which means to differentiate the image in the x direction, v log is the logarithmic domain image of the original image v, (x, y) represents the pixel coordinates of the image, m, n are the size of the gradient operator, ω i,j are Gaussian coefficients, satisfying
步骤三、感兴趣区域的确定Step 3. Determination of the region of interest
计算出梯度场之后,可以利用它来确定感兴趣区域。利用区域增长法,首先感兴趣区域通过确定一些种子点来初始化,通过对这些种子点的邻居判断是否与种子相似来决定是否将其加入感兴趣区域,感兴趣区域的确定方法如下:Once the gradient field has been calculated, it can be used to identify regions of interest. Using the region growing method, the region of interest is first initialized by determining some seed points, and whether the neighbors of these seed points are similar to the seeds is used to determine whether to add it to the region of interest. The method of determining the region of interest is as follows:
首先、选取种子区域First, select the seed region
种子点组成了种子区域,种子点以较大的概率属于同一组织区域,定义一个指示器M(r)来标记某个体素是否属于种子区域,当某个体素r属于种子区域时,M(r)=1,否则,M(r)=0,通过以下的规则决定M(r):The seed points form the seed area, and the seed points belong to the same tissue area with a greater probability. An indicator M(r) is defined to mark whether a voxel belongs to the seed area. When a voxel r belongs to the seed area, M(r )=1, otherwise, M(r)=0, M(r) is determined by the following rules:
其中I0(r)代表初始图像中体素r的灰度值,初始图像由上次迭代重建的图像得到,第一次迭代利用各线圈图像的简单平均得到,p是合成图像直方图中去除背景区域之后的峰值,σ为合成图像的噪声方差,最终的种子区域表示为这就是区域增长算法的初始化区域。Among them, I 0 (r) represents the gray value of voxel r in the initial image, the initial image is obtained from the image reconstructed in the last iteration, and the first iteration is obtained by simple average of each coil image, p is the removal of The peak after the background area, σ is the noise variance of the synthetic image, and the final seed area is expressed as This is the initialization region for the region growing algorithm.
其次、区域增长Second, regional growth
一旦确定了种子区域,就可以以种子点为初始感兴趣区域,不断地将相似的点加入进来以扩展感兴趣区域,通过对每个感兴趣区域内的点与它的八邻域点行比较,如果二者的梯度差小于某个阈值,则认为此点是与感兴趣区域内的点是相似的,将其加入感兴趣区域,如果遇到边界或与其他组织的临界处,则由于梯度值过大而不会将其作为相似点加入,通过不断的迭代,感兴趣区域不断增长,直至其不再变化为止,假设在确定第R个感兴趣区域,迭代到第n次,则第n次的感兴趣区域更新如下:Once the seed region is determined, the seed point can be used as the initial region of interest, and similar points can be continuously added to expand the region of interest, by comparing the points in each region of interest with its eight neighbor points , if the gradient difference between the two is less than a certain threshold, it is considered that this point is similar to the point in the region of interest, and it will be added to the region of interest. If it encounters a boundary or a critical point with other tissues, due to the gradient If the value is too large, it will not be added as a similar point. Through continuous iteration, the region of interest will continue to grow until it no longer changes. Assuming that the Rth region of interest is determined and iterated to the nth time, then the nth The region of interest is updated as follows:
其中,是用于初始化的种子区域,δ是允许的最大梯度,其值由经验值决定,可根据不同的图像进行调节,设置为种子区域内所有点的梯度值的一半。Neigh(q)代表点q的八邻域内的点,Grad(p)是利用上述梯度算子算出的点p的梯度值当新加入的点的数量不再变化时,停止区域增长。in, Is the seed area used for initialization, δ is the maximum gradient allowed, its value is determined by experience, can be adjusted according to different images, set to half of the gradient value of all points in the seed area. Neigh(q) represents the point in the eight-neighborhood of point q, and Grad(p) is the gradient value of point p calculated using the above gradient operator Stop growing the region when the number of newly added points no longer changes.
步骤四、非均匀场估计Step 4. Inhomogeneous field estimation
假设非均匀场b,真实图像为u,原始图像为v,噪声为n,则它们的关系为v(x)=b(x)u(x)+n(x),进行去噪处理后可以忽略噪声影响。对三者关系进行对数操作,得到vlog(x)=blog(x)+ulog(x)。由于同一感兴趣区域包含的像素点灰度值彼此类似,排除了图像的边缘和细节,因此感兴趣区域M内的点的梯度值可以假设为非均匀场的梯度。Assuming a non-uniform field b, the real image is u, the original image is v, and the noise is n, then their relationship is v(x)=b(x)u(x)+n(x), after denoising processing can be Noise effects are ignored. Logarithmic operation is performed on the relationship among the three, and v log (x)=b log (x)+u log (x) is obtained. Since the gray values of the pixels contained in the same region of interest are similar to each other, the edges and details of the image are excluded, so the gradient value of the points in the region of interest M can be assumed to be the gradient of the non-uniform field.
假设非均匀场可以用2维的k阶多项式来表示,则共包含K=(k+1)(k+2)/2个多项式基,分别表示为xpyq,其中p+q≤K,p≥0,q≥0,我们记做Fi(x,y),0<i<K,假设各项系数为wi,i=1,...,K,则对数域的非均匀场可以表示为:Assuming that the non-uniform field can be represented by a 2-dimensional k-order polynomial, it contains K=(k+1)(k+2)/2 polynomial bases, which are expressed as x p y q , where p+q≤K , p≥0, q≥0, we record it as F i (x,y), 0<i<K, assuming that the coefficients are w i , i=1,...,K, then the non uniform field It can be expressed as:
假设在确定的感兴趣区域M内共有N个点,分别记作r1,r2,…,rl,ri代表(xi,yi),为了估计出参数wi,i=1,...,K,考虑最小化如下的最小二乘方程:Assume that there are N points in the determined region of interest M, which are respectively denoted as r 1 , r 2 ,..., r l , and ri represents ( xi , y i ), in order to estimate the parameter w i , i=1, ...,K, consider minimizing the following least squares equation:
其中和分别是多项式基Fi的x-方向导数和y-方向导数,△x和△y为图像x方向和y方向的微分,vlog为原始图像v的对数域图像,(x,y)代表图像的像素点坐标。为了求解这一最小二乘问题,我们考虑以下的线性关系式:in with are the x-direction derivative and y-direction derivative of the polynomial basis F i respectively, △ x and △ y are the differentials in the x-direction and y-direction of the image, v log is the logarithmic domain image of the original image v, (x, y) represents The pixel coordinates of the image. To solve this least squares problem, we consider the following linear relationship:
△Blog=△FW,ΔB log = ΔFW,
其中上述公式的求解如下:in The solution to the above formula is as follows:
W=(△Ft△F)-1△Ft△Blog.W=(△F t △F) -1 △F t △B log .
其中△Ft代表矩阵△F的转置。where ΔF t represents the transpose of matrix ΔF.
步骤五、校正Step 5. Calibration
获得多项式系数之后,就可以通过外推得到全图像的非均匀估计,After obtaining the polynomial coefficients, the non-uniform estimation of the full image can be obtained by extrapolation,
校正后的图像为:The corrected image is:
步骤六、迭代Step 6. Iteration
校正后的图像虽然非均匀场有所改善,但有时非均匀场并未完全消除。将校正后的图像用来进行下一轮校正,根据经验,迭代2次可获得较好的校正效果。Although the non-uniform field of the corrected image has been improved, sometimes the non-uniform field has not been completely eliminated. The corrected image is used for the next round of correction. According to experience, better correction effect can be obtained after two iterations.
本发明技术方案的优点和积极效果Advantages and positive effects of the technical solution of the present invention
1)通过对数域梯度进行非均匀场估计,使得拟合元素与组织类型无关,消除了由于组织区域的分类错误对非均匀场估计造成的误差。1) By estimating the non-uniform field on the gradient of the number domain, the fitting elements are independent of the tissue type, and the error caused by the classification error of the tissue region on the non-uniform field estimation is eliminated.
2)通过设计特殊的目标函数同时最小化x-方向和y-方向的梯度误差,避免了重积分带来的误差,提高估计精度。2) By designing a special objective function to minimize the gradient errors in the x-direction and y-direction at the same time, the error caused by the heavy integration is avoided and the estimation accuracy is improved.
方法易于实现,复杂度低,实际运用时耗时极低。The method is easy to implement, has low complexity, and is extremely time-consuming in practical application.
附图说明Description of drawings
图1:本发明算法流程图Figure 1: Algorithm flow chart of the present invention
图2:脑部,脊椎,肩膀和腹部的校正效果对比,第一行为非均匀图像,第二行为校正后图像。Figure 2: Comparison of the correction effects of the brain, spine, shoulders and abdomen, the first row is the non-uniform image, and the second row is the corrected image.
具体实施方式detailed description
步骤一、去噪处理Step 1, denoising processing
核磁共振原始图像由收集的k空间信号进行傅立叶变换得到。由于设备和环境影响,受到噪声。本发明为基于梯度的非均匀场估计,而梯度对噪声十分敏感。在进行估计之前要对原始图像进行去噪处理,预处理还包括了图像的轮廓提取,剔除边缘的背景区域和一些低信噪比区域。The original NMR image is obtained by Fourier transform of the collected k-space signal. Noise due to equipment and environment. The present invention is gradient-based non-uniform field estimation, and the gradient is very sensitive to noise. Before the estimation, the original image should be denoised. The preprocessing also includes the contour extraction of the image, removing the background area of the edge and some low signal-to-noise ratio areas.
步骤二、计算梯度场Step 2. Calculate the gradient field
估计非均匀场需要对区域内的梯度值进行拟合操作。因此首先计算出图像的梯度场,包括x-方向梯度和y-方向梯度。图像梯度一般采用差分法或sobel算子求取,为了减少噪声干扰,本发明提出一种新的基于高斯核的梯度算子来计算图像的梯度,在计算某一点的梯度时考虑其周围点的影响。以x-方向为例,假设原始图像为v,对数操作后为vlog,计算公式为:Estimating an inhomogeneous field requires a fitting operation on the gradient values in the region. Therefore, the gradient field of the image is first calculated, including the x-direction gradient and the y-direction gradient. The image gradient is generally obtained by difference method or sobel operator. In order to reduce noise interference, the present invention proposes a new gradient operator based on Gaussian kernel to calculate the gradient of the image. When calculating the gradient of a certain point, the surrounding points are considered influences. Taking the x-direction as an example, assuming that the original image is v, after the logarithmic operation is v log , the calculation formula is:
其中△x为求微分符号,表示对图像x方向求微分,vlog为原始图像v的对数域图像,(x,y)代表图像的像素点坐标,m,n为梯度算子的大小,ωi,j为高斯系数,满足 Among them, △ x is the differential symbol, which means to differentiate the image in the x direction, v log is the logarithmic domain image of the original image v, (x, y) represents the pixel coordinates of the image, m, n are the size of the gradient operator, ω i,j are Gaussian coefficients, satisfying
步骤三、感兴趣区域的确定Step 3. Determination of the region of interest
计算出梯度场之后,可以利用它来确定感兴趣区域。利用区域增长法,首先感兴趣区域通过确定一些种子点来初始化,通过对这些种子点的邻居判断是否与种子相似来决定是否将其加入感兴趣区域,感兴趣区域的确定方法如下:Once the gradient field has been calculated, it can be used to identify regions of interest. Using the region growing method, the region of interest is first initialized by determining some seed points, and whether the neighbors of these seed points are similar to the seeds is used to determine whether to add them to the region of interest. The method of determining the region of interest is as follows:
首先、选取种子区域First, select the seed region
种子点组成了种子区域,种子点以较大的概率属于同一组织区域,定义一个指示器M(r)来标记某个体素是否属于种子区域,当某个体素r属于种子区域时,M(r)=1,否则,M(r)=0,通过以下的规则决定M(r):The seed points form the seed area, and the seed points belong to the same tissue area with a greater probability. An indicator M(r) is defined to mark whether a voxel belongs to the seed area. When a voxel r belongs to the seed area, M(r )=1, otherwise, M(r)=0, M(r) is determined by the following rules:
其中I0(r)代表初始图像中体素r的灰度值,初始图像由上次迭代重建的图像得到,第一次迭代利用各线圈图像的简单平均得到,p是合成图像直方图中去除背景区域之后的峰值,σ为合成图像的噪声方差,最终的种子区域表示为这就是区域增长算法的初始化区域。Among them, I 0 (r) represents the gray value of voxel r in the initial image, the initial image is obtained from the image reconstructed in the last iteration, and the first iteration is obtained by simple average of each coil image, p is the removal of The peak after the background area, σ is the noise variance of the synthetic image, and the final seed area is expressed as This is the initialization region for the region growing algorithm.
其次、区域增长Second, regional growth
一旦确定了种子区域,就可以以种子点为初始感兴趣区域,不断地将相似的点加入进来以扩展感兴趣区域,通过对每个感兴趣区域内的点与它的八邻域点行比较,如果二者的梯度差小于某个阈值,则认为此点是与感兴趣区域内的点是相似的,将其加入感兴趣区域,如果遇到边界或与其他组织的临界处,则由于梯度值过大而不会将其作为相似点加入,通过不断的迭代,感兴趣区域不断增长,直至其不再变化为止,假设在确定第R个感兴趣区域,迭代到第n次,则第n次的感兴趣区域更新如下:Once the seed region is determined, the seed point can be used as the initial region of interest, and similar points can be continuously added to expand the region of interest, by comparing the points in each region of interest with its eight neighbor points , if the gradient difference between the two is less than a certain threshold, it is considered that this point is similar to the point in the region of interest, and it will be added to the region of interest. If it encounters a boundary or a critical point with other tissues, due to the gradient If the value is too large, it will not be added as a similar point. Through continuous iteration, the region of interest will continue to grow until it no longer changes. Assuming that the Rth region of interest is determined and iterated to the nth time, then the nth The region of interest is updated as follows:
其中,是用于初始化的种子区域,δ是允许的最大梯度,其值由经验值决定,可根据不同的图像进行调节,设置为种子区域内所有点的梯度值的一半。Neigh(q)代表点q的八邻域内的点,Grad(p)是利用上述梯度算子算出的点p的梯度值当新加入的点的数量不再变化时,停止区域增长。in, Is the seed area used for initialization, δ is the maximum gradient allowed, its value is determined by experience, can be adjusted according to different images, set to half of the gradient value of all points in the seed area. Neigh(q) represents the point in the eight-neighborhood of point q, and Grad(p) is the gradient value of point p calculated using the above gradient operator Stop growing the region when the number of newly added points no longer changes.
步骤四、非均匀场估计Step 4. Inhomogeneous field estimation
假设非均匀场b,真实图像为u,原始图像为v,噪声为n,则它们的关系为v(x)=b(x)u(x)+n(x),进行去噪处理后可以忽略噪声影响。对三者关系进行对数操作,得到vlog(x)=blog(x)+ulog(x)。由于同一感兴趣区域包含的像素点灰度值彼此类似,排除了图像的边缘和细节,因此感兴趣区域M内的点的梯度值可以假设为非均匀场的梯度。Assuming a non-uniform field b, the real image is u, the original image is v, and the noise is n, then their relationship is v(x)=b(x)u(x)+n(x), after denoising processing can be Noise effects are ignored. Logarithmic operation is performed on the relationship among the three, and v log (x)=b log (x)+u log (x) is obtained. Since the gray values of the pixels contained in the same region of interest are similar to each other, the edges and details of the image are excluded, so the gradient value of the points in the region of interest M can be assumed to be the gradient of the non-uniform field.
假设非均匀场可以用2维的k阶多项式来表示,则共包含K=(k+1)(k+2)/2个多项式基,分别表示为xpyq,其中p+q≤K,p≥0,q≥0,我们记做Fi(x,y),0<i<K,假设各项系数为wi,i=1,...,K,则对数域的非均匀场可以表示为:Assuming that the non-uniform field can be represented by a 2-dimensional k-order polynomial, it contains K=(k+1)(k+2)/2 polynomial bases, which are expressed as x p y q , where p+q≤K , p≥0, q≥0, we record it as F i (x,y), 0<i<K, assuming that the coefficients are w i , i=1,...,K, then the non uniform field It can be expressed as:
假设在确定的感兴趣区域M内共有N个点,分别记作r1,r2,...,rN,ri代表(xi,yi),为了估计出参数wi,i=1,...,K,考虑最小化如下的最小二乘方程:Assuming that there are a total of N points in the determined region of interest M, denoted as r 1 , r 2 ,..., r N , r i represents ( xi , y i ), in order to estimate the parameter w i , i= 1,...,K, consider minimizing the following least squares equation:
其中和分别是多项式基Fi的x-方向导数和y-方向导数,△x和△y为图像x方向和y方向的微分,vlog为原始图像v的对数域图像,(x,y)代表图像的像素点坐标。为了求解这一最小二乘问题,我们考虑以下的线性关系式:in with are the x-direction derivative and y-direction derivative of the polynomial basis F i respectively, △ x and △ y are the differentials in the x-direction and y-direction of the image, v log is the logarithmic domain image of the original image v, (x, y) represents The pixel coordinates of the image. To solve this least squares problem, we consider the following linear relationship:
△Blog=△FW,ΔB log = ΔFW,
其中上述公式的求解如下:in The solution to the above formula is as follows:
W=(△Ft△F)-1△Ft△Blog.W=(△F t △F) -1 △F t △B log .
其中△Ft代表矩阵△F的转置。where ΔF t represents the transpose of matrix ΔF.
步骤五、校正Step 5. Calibration
获得多项式系数之后,就可以通过外推得到全图像的非均匀估计,After obtaining the polynomial coefficients, the non-uniform estimation of the full image can be obtained by extrapolation,
校正后的图像为:The corrected image is:
步骤六、迭代Step 6. Iteration
校正后的图像虽然非均匀场有所改善,但有时非均匀场并未完全消除。将校正后的图像用来进行下一轮校正,根据经验,迭代2次可获得较好的校正效果。Although the non-uniform field of the corrected image has been improved, sometimes the non-uniform field has not been completely eliminated. The corrected image is used for the next round of correction. According to experience, better correction effect can be obtained after two iterations.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779041.5A CN104392422B (en) | 2014-12-15 | 2014-12-15 | A MRI Inhomogeneous Field Estimation Method Based on Image Gradient Fitting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779041.5A CN104392422B (en) | 2014-12-15 | 2014-12-15 | A MRI Inhomogeneous Field Estimation Method Based on Image Gradient Fitting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104392422A CN104392422A (en) | 2015-03-04 |
CN104392422B true CN104392422B (en) | 2017-06-27 |
Family
ID=52610320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410779041.5A Expired - Fee Related CN104392422B (en) | 2014-12-15 | 2014-12-15 | A MRI Inhomogeneous Field Estimation Method Based on Image Gradient Fitting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104392422B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101862490B1 (en) * | 2016-12-13 | 2018-05-29 | 삼성전기주식회사 | image correct processor and computer readable recording medium |
CN108765547B (en) * | 2018-04-23 | 2021-11-30 | 北京林业大学 | Method for correcting form space of blade and application thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6208138B1 (en) * | 1998-06-11 | 2001-03-27 | Siemens Corporate Research, Inc. | Bias field estimation for intensity inhomogeneity correction in MR images |
CN103632345A (en) * | 2013-11-27 | 2014-03-12 | 中国科学技术大学 | MRI image inhomogeneity correction method based on regularization |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150131124A (en) * | 2013-03-15 | 2015-11-24 | 오하이오 스테이트 이노베이션 파운데이션 | Signal inhomogeneity correction and performance evaluation apparatus |
-
2014
- 2014-12-15 CN CN201410779041.5A patent/CN104392422B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6208138B1 (en) * | 1998-06-11 | 2001-03-27 | Siemens Corporate Research, Inc. | Bias field estimation for intensity inhomogeneity correction in MR images |
CN103632345A (en) * | 2013-11-27 | 2014-03-12 | 中国科学技术大学 | MRI image inhomogeneity correction method based on regularization |
Non-Patent Citations (2)
Title |
---|
Image background inhomogeneity correction in MRI via intensity standardization;Ying Zhuge et al;《Computerized Medical Imaging and Graphics》;20090131;第33卷(第1期);7-16 * |
磁共振图像中非均匀场的校正;李音;《磁共振图像中非均匀场的校正》;20021231;第25卷(第6期);241-245 * |
Also Published As
Publication number | Publication date |
---|---|
CN104392422A (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Song et al. | A review of methods for bias correction in medical images | |
Prados et al. | A multi-time-point modality-agnostic patch-based method for lesion filling in multiple sclerosis | |
Mohan et al. | A survey on the magnetic resonance image denoising methods | |
Wang et al. | Automatic segmentation of neonatal images using convex optimization and coupled level sets | |
Tomas-Fernandez et al. | A model of population and subject (MOPS) intensities with application to multiple sclerosis lesion segmentation | |
Wiest-Daesslé et al. | Non-local means variants for denoising of diffusion-weighted and diffusion tensor MRI | |
CN107248155A (en) | A kind of Cerebral venous dividing method based on SWI images | |
Ramathilagam et al. | Modified fuzzy c-means algorithm for segmentation of T1–T2-weighted brain MRI | |
Cifor et al. | Smoothness-guided 3-D reconstruction of 2-D histological images | |
CN103632345B (en) | A kind of MRI image inhomogeneity correction method based on regularization | |
US10698065B2 (en) | System, method and computer accessible medium for noise estimation, noise removal and Gibbs ringing removal | |
CN103632367B (en) | A kind of MRI coil sensitivity estimation method based on the matching of many tissue regions | |
Zheng et al. | Automatic correction of intensity nonuniformity from sparseness of gradient distribution in medical images | |
Chen et al. | Brain magnetic resonance image segmentation based on an adapted non-local fuzzy c-means method | |
CN104392422B (en) | A MRI Inhomogeneous Field Estimation Method Based on Image Gradient Fitting | |
Prados et al. | A modality-agnostic patch-based technique for lesion filling in multiple sclerosis | |
Adhikari et al. | A nonparametric method for intensity inhomogeneity correction in MRI brain images by fusion of Gaussian surfaces | |
Tong et al. | A general strategy for anisotropic diffusion in MR image denoising and enhancement | |
Wang et al. | Rapid and automatic detection of brain tumors in MR images | |
Adhikari et al. | Segmentation of MRI brain images by incorporating intensity inhomogeneity and spatial information using probabilistic fuzzy c-means clustering algorithm | |
Liu et al. | Liver MRI segmentation with edge-preserved intensity inhomogeneity correction | |
CN104392473B (en) | MRI (Magnetic resonance imaging) nonuniform field estimation method based on line-by-line gradient fitting | |
Farzana et al. | Performance analysis of bias correction techniques in brain MR images | |
Kahali et al. | Convolution of 3D Gaussian surfaces for volumetric intensity inhomogeneity estimation and correction in 3D brain MR image data | |
Joshi et al. | Optimization of Nonlocal Means Filtering Technique for Denoising Magnetic Resonance Images: A Review |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170627 |