Nonlinear Coupled Diffusion

版本 1.2.0.0 (159.4 KB) 作者: Omid Aghazadeh
This package implements isotropic nonlinear scalar valued/ coupled vector/matrix valued diffusion.
4.0K 次下载
更新时间 2010/5/18

查看许可证

The code supports homogeneous and linear and nonlinear (Total Variation and Edge Enhancing flow) isotropic diffusion of arbitrary dimensioned fields(scalar~grayscale image, vector ~ color image and matrix~structure tensor). Additive Operator Splitting(AOS) as well as Gaussian regularization are implemented to speedup the computations.
Two point 1 sided differences is implemented for spatial discretization which is more accurate than the central differences. A semi implicit time discretization as well as epsilon regularization is utilized to make the diffusion process stable for arbitrary time-step sizes. The code is commented, the definition and dimensions of the input/output variables can be found in the header of the nonlinear_diffusion.m. A sample script is provided to visualize the diffusion process of two sample images.
The AOS implementation uses the Thomas algorithm implemented in mex to achieve the fastest speed.

引用格式

Omid Aghazadeh (2024). Nonlinear Coupled Diffusion (https://www.mathworks.com/matlabcentral/fileexchange/27604-nonlinear-coupled-diffusion), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Implemented the Thomas algorithm in mex and made some modifications for the case of left-right neighbors to make AA exactly tri-diagonal.

1.1.0.0

Criterion for keeping the total mass constant was lacking an abs.

1.0.0.0