tvreg: Variational Imaging Methods. The tvreg package performs total variation (TV) regularized image denoising, deconvolution, and inpainting. Three different noise models are supported: Gaussian (L2), Laplace (L1), and Poisson. The implementation solves the general TV restoration problem: min_u TV(u) + int lambda F(K*u,f) dx .to perform denoising, deconvolution, and inpainting as special cases. It is efficiently solved using the recent split Bregman method. Also included is an efficient implementation of Chan-Vese two-phase segmentation. All functions support grayscale, color, and arbitrary multichannel images.