Home | Trees | Indices | Help |
---|
|
The :mod:`parsimony.functions.nesterov.L1TV` module contains the loss function for the L1 + TV penalty, smoothed together using Nesterov's technique.
Created on Mon Feb 3 17:04:14 2014
Copyright (c) 2013-2014, CEA/DSV/I2BM/Neurospin. All rights reserved.
Author: Tommy Löfstedt, Vincent Guillemot, Edouard Duchesnay and Fouad Hadj-Selem
License: BSD 3-clause.
|
|||
L1TV The proximal operator of the smoothed sum of the TV and L1 functions |
|
|||
|
|||
|
|||
|
|||
|
|
|||
__package__ =
|
|
|
Generates the linear operator for the total variation Nesterov function from a mask for a 3D image. Parameters ---------- mask : Numpy array. The mask. The mask does not involve any intercept variables. num_variables : Positive integer. The total number of variables, including the intercept variable(s). penalty_start : Non-negative integer. The number of variables to exempt from penalisation. Equivalently, the first index to be penalised. Default is 0, all variables are included. |
|
Generates the linear operator for the total variation Nesterov function from the shape of a 3D image. Parameters ---------- shape : List or tuple with 1, 2 or 3 elements. The shape of the 1D, 2D or 3D image. shape has the form (Z, Y, X), where Z is the number of "layers", Y is the number of rows and X is the number of columns. The shape does not involve any intercept variables. num_variables : Positive integer. The total number of variables, including the intercept variable(s). penalty_start : Non-negative integer. The number of variables to exempt from penalisation. Equivalently, the first index to be penalised. Default is 0, all variables are included. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Apr 6 23:52:10 2015 | http://epydoc.sourceforge.net |