The source codes here are provided for 3D and 2D total variation (TV) minimizations which are widely used for image denoising and restoration. In the application, Chambolle's dual approach [1] for the minimization of the cost function was deployed.
An example application is also provided here and based on simple ITK.
[1] Chambolle, A. Journal of Mathematical Imaging and Vision (2004) 20: 89. https://doi.org/10.1023/B:JMIV.0000011325.36760.1e"# TotalVariationMinimization3D"