Code covered by the BSD License
-
Nonlinear_Diffusion(U_0,tau,e...
function [U,minv,SS] = Nonlinear_Diffusion(U_0,tau,eps,p,T, theta, sigma, fig_handle)
-
test_nonlinear_diffusion.m
-
View all files
Nonlinear Coupled Diffusion
by Omid Aghazadeh
13 May 2010
(Updated 18 May 2010)
This package implements isotropic nonlinear scalar valued/ coupled vector/matrix valued diffusion.
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Nonlinear Diffusion Toolbox, Sparse set of Features for Texture Discrimination
This submission has inspired the following:
Sparse set of Features for Texture Discrimination
|
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 15 May 2010 |
Criterion for keeping the total mass constant was lacking an abs. |
| 18 May 2010 |
Implemented the Thomas algorithm in mex and made some modifications for the case of left-right neighbors to make AA exactly tri-diagonal. |
|
Contact us at files@mathworks.com