Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/albarji/proxTV
/ functions
Functions
140 in github.com/albarji/proxTV
⨍
Functions
140
◇
Types & classes
1
↓ 41 callers
Function
getDoubleWorkspace
Returns a vector of double memory from the workspace. New memory is allocated on-demand @argument ws pointer to workspace */
src/utils.cpp:131
↓ 25 callers
Function
_call
(fn, *args)
prox_tv/__init__.py:70
↓ 24 callers
Function
resetWorkspace
Resets the memory assignments in the workspace @argument ws pointer to workspace to reset */
src/utils.cpp:120
↓ 19 callers
Function
LPnorm
Computes the value of the Lp norm for a given vector. If the value of p is too similar to 1, the norm is approximated as an L1 norm. If the va
src/LPopt.cpp:43
↓ 12 callers
Function
TV
General function for 1 dimensional unweighted TV optimization. Invokes different algorithms depending on the TV norm p. @param y input signal
src/TVgenopt.cpp:30
↓ 9 callers
Function
force_float_scalar
r"""Forces an scalar value into float format Parameters ---------- x: scalar value to check Returns ------- float Fl
prox_tv/__init__.py:80
↓ 8 callers
Function
tv1_2d
r"""2D proximal oprator for :math:`\ell_1`. Specifically, this optimizes the following program: .. math:: \mathrm{min}_y \frac{1}{2
prox_tv/__init__.py:355
↓ 7 callers
Function
force_float_matrix
r"""Forces a numpy matrix into float format Parameters ---------- x: numpy array matrix to check Returns ------- num
prox_tv/__init__.py:98
↓ 7 callers
Function
newWorkspace
Creates and initiallizes a workspace structure @argument n dimension of data vectors. @returns pointer to new workspace */
src/utils.cpp:79
↓ 6 callers
Function
_generate2d
Generates a 2D array for the test
prox_tv/prox_tv_test.py:99
↓ 6 callers
Function
newWorkspaces
Allocs memory for an array of p workspaces */
src/utils.cpp:206
↓ 6 callers
Function
sign
Returns the sign of a number. @argument s input number @returns -1 if number is negative, +1 if positive, 0 if exactly 0 */
src/utils.cpp:21
↓ 5 callers
Function
PN_LPp
PN_LPp Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x||_p ,
src/LPopt.cpp:212
↓ 5 callers
Function
getIntWorkspace
Returns a vector of int memory from the workspace. New memory is allocated on-demand @argument ws pointer to workspace */
src/utils.cpp:159
↓ 5 callers
Function
max
Returns the maximum of two numbers @argument x @argument y @returns value of the maximum number */
src/utils.cpp:46
↓ 4 callers
Function
LPp_project
LPp_project Given a point y, computes its euclidean projection onto the ||x||_p = lambda ball min_x ||x-y||^2 s.t. ||x||_p <= lambda
src/LPopt.cpp:888
↓ 4 callers
Function
tv1_1d
r"""1D proximal operator for :math:`\ell_1`. Specifically, this optimizes the following program: .. math:: \mathrm{min}_y \frac{1}{
prox_tv/__init__.py:124
↓ 4 callers
Function
tv1w_2d
r"""2D weighted proximal operator for :math:`\ell_1` using DR splitting. Specifically, this optimizes the following program: .. math::
prox_tv/__init__.py:445
↓ 4 callers
Function
tvgen
r"""General TV proximal operator for multidimensional signals Specifically, this optimizes the following program: .. math:: \min_X \f
prox_tv/__init__.py:533
↓ 3 callers
Function
PN_LPpGap
PN_LPpGap Computes the dual gap of the current PN-Lp prox solution. @argument x current PN-Lp prox solution @argument y reference point
src/LPopt.cpp:748
↓ 3 callers
Function
_condatchambollepock_tv2d
Wrapper function for general implementaton of Chambolle-Pock + Condat
prox_tv/__init__.py:440
↓ 3 callers
Function
min
Returns the minimum of two numbers @argument x @argument y @returns value of the minimum number */
src/utils.cpp:32
↓ 3 callers
Function
morePG_TV2
morePG_TV2 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i -
src/TVL2opt.cpp:190
↓ 2 callers
Function
DR2_TV
DR2_TV Applies a variant of the Douglas Rachford algorithm, a.k.a. Alternating Reflections method, to solve the 2D TV proximity problem.
src/TV2Dopt.cpp:352
↓ 2 callers
Function
DR_columnsPass
Performs the columns proximity step in the DR algorithm. @param M number of rows in input signal @param N number of columns in input signal
src/TV2DWopt.cpp:152
↓ 2 callers
Function
DR_columnsPass
Projection agains the base polyhedron of the columns in the DR algorithm. proj[B_{cols}](z) = z - prox_cols(z) @param M number of rows in in
src/TV2Dopt.cpp:459
↓ 2 callers
Function
DR_proxDiff
Applies the weighted L1-TV proximity operator to the given 1D input and returns the difference between input and output of prox. @param n length of
src/TV2DWopt.cpp:232
↓ 2 callers
Function
DR_proxDiff
Applies the TV proximity operator to the given 1D input and returns the difference between input and output of prox. This is equivalent to computing
src/TV2Dopt.cpp:539
↓ 2 callers
Function
DR_rowsPass
Performs the rows proximity step in the DR algorithm. @param M number of rows in input signal @param N number of columns in input signal
src/TV2DWopt.cpp:191
↓ 2 callers
Function
DR_rowsPass
Projection agains the base polyhedron of the (modified) rows in the DR algorithm. proj[B_{-rows*}](z) = z + prox_row(-z+y) @param M numb
src/TV2Dopt.cpp:498
↓ 2 callers
Function
GPFW_TVp
GPFW_TVp Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i - x
src/TVLPopt.cpp:1111
↓ 2 callers
Function
GP_TVp
GP_TVp Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i - x_(
src/TVLPopt.cpp:37
↓ 2 callers
Function
LP1_project
LP1_project Given a point y, computes its euclidean projection onto the ||x||_1 = lambda ball min_x ||x-y||^2 s.t. ||x||_1 <= lambda
src/LPopt.cpp:804
↓ 2 callers
Function
PD2_TV
PD2_TV Optimized version of Proximal Dykstra for the case where only 1 or 2 penalty terms appear. Given a reference multidimensional signal
src/TV2Dopt.cpp:59
↓ 2 callers
Function
TV1D_denoise
This function implements the 1D total variation denoising algorithm described in the paper referenced above. If output=input, the process is performed
src/condat_fast_tv.cpp:78
↓ 2 callers
Function
_blockysignal
Generates a blocky signal for the demo
prox_tv/demos/demo_filter_signal.py:7
↓ 2 callers
Function
_test_tv1_methods
For given input signal and weight, all TV1 methods must be similar
prox_tv/prox_tv_test.py:55
↓ 2 callers
Function
_test_tv1w_1d_uniform_weights
(min, max)
prox_tv/prox_tv_test.py:26
↓ 2 callers
Function
freePB
Frees all memory reserved by a Buffer */
src/TVL1opt_tautstring.cpp:61
↓ 2 callers
Function
hybridTautString_TV1
src/TVL1opt_hybridtautstring.cpp:237
↓ 2 callers
Function
mxGetInf
src/general.h:27
↓ 2 callers
Function
newPB
Creates a new Buffer of the given size */
src/TVL1opt_tautstring.cpp:49
↓ 2 callers
Function
solveLinearLP
Solves the linear problem with Lp ball constraint argmin_s s · z s.t. ||s||_p <= lambda This is done in O(n) time. @argument z l
src/LPopt.cpp:1000
↓ 2 callers
Function
tautString_TV1_Weighted
tautString_TV1_Weighted Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + s
src/TVL1Wopt.cpp:364
↓ 2 callers
Function
tv1w_1d
r"""Weighted 1D proximal operator for :math:`\ell_1`. Specifically, this optimizes the following program: .. math:: \mathrm{min}_y
prox_tv/__init__.py:218
↓ 1 callers
Function
CondatChambollePock2_TV
CondatChambollePock2_TV Application of Condat's or Chambolle-Pock generic proximal algorithm for 2D TV-L1. min_X 0.5 ||X-Y||^2 + lambda
src/TV2Dopt.cpp:587
↓ 1 callers
Function
DR2L1W_TV
src/TV2DWopt.cpp:46
↓ 1 callers
Function
Kolmogorov2_TV
Kolmogorov2_TV Application of Kolmogorov et al's proximal algorithm for 2D TV-L1. min_X 0.5 ||X-Y||^2 + TV_cols(X) + TV_rows(X) Thi
src/TV2Dopt.cpp:907
↓ 1 callers
Function
PDR_TV
src/TVNDopt.cpp:280
↓ 1 callers
Function
PD_TV
PD_TV Given a reference multidimensional signal y and a series of penalty terms P(x,lambda,d,p), solves the generalized Total Variation proxi
src/TVNDopt.cpp:48
↓ 1 callers
Function
PG_TV2
PG_TV2 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i - x_(
src/TVL2opt.cpp:446
↓ 1 callers
Function
PN_LP1
PN_LP1 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x||_1 ,
src/LPopt.cpp:95
↓ 1 callers
Function
PN_LP2
PN_LP2 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x||_2 ,
src/LPopt.cpp:127
↓ 1 callers
Function
PN_LPinf
PN_LPinf Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x||_inf
src/LPopt.cpp:175
↓ 1 callers
Function
PN_TV1
PN_TV1 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda sum_i |x_i
src/TVL1opt.cpp:37
↓ 1 callers
Function
PN_TV1_Weighted
PN_TV1_Weighted Given a reference signal y and a weight vector lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + sum_i lambda_
src/TVL1Wopt.cpp:37
↓ 1 callers
Function
SolveTVConvexQuadratic_a1_nw
non-weighted version
src/TVL1opt_kolmogorov.cpp:133
↓ 1 callers
Function
TV1D_denoise_tautstring
This function implements 1D total variation denoising by the taut string algorithm. It was adapted from the Matlab code written by Lutz Duembgen, whic
src/condat_fast_tv.cpp:133
↓ 1 callers
Function
Yang2_TV
Yang2_TV Application of Yags's et al ADMM method for 2D TV-L1. min_X 0.5 ||X-Y||^2 + lambda * TV_cols(X) + lambda * TV_rows(X) The
src/TV2Dopt.cpp:787
↓ 1 callers
Function
Yang3_TV
Yang3_TV Application of Yags's et al ADMM method for 3D TV-L1. min_X 0.5 ||X-Y||^2 + lambda * TV_cols(X) + lambda * TV_rows(X) + lambda
src/TVNDopt.cpp:678
↓ 1 callers
Function
classicTautString_TV1
Solves the Total-Variation l1 problem. To do so an efficient implementation of the classic taut-string method is used. Arguments: -
src/TVL1opt_tautstring.cpp:355
↓ 1 callers
Function
classicTautString_TV1_offset
Solves the Total-Variation l1 problem To do so an efficient implementation of the classic taut-string method is used. Arguments: - s
src/TVL1opt_tautstring.cpp:256
↓ 1 callers
Function
dp
src/johnsonRyanTV.cpp:9
↓ 1 callers
Function
freeWorkspace
Frees a workspace structure */
src/utils.cpp:182
↓ 1 callers
Function
hybridTautString_TV1_custom
Solves the Total-Variation l1 problem through a hybrid method that selects the best approach for each case. The method starts by running Cond
src/TVL1opt_hybridtautstring.cpp:56
↓ 1 callers
Function
linearizedTautString_TV1
linearizedTautString_TV1 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 +
src/TVL1opt.cpp:359
↓ 1 callers
Function
more_TV2
more_TV2 Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i - x
src/TVL2opt.cpp:35
↓ 1 callers
Function
newknot
Returns a new taut-string knot for given crossing majorant/minorant */
src/TVL1opt_tautstring.cpp:187
↓ 1 callers
Function
tv2_1d
r"""1D proximal operator for :math:`\ell_2`. Specifically, this optimizes the following program: .. math:: \mathrm{min}_y \frac{1}{
prox_tv/__init__.py:257
↓ 1 callers
Function
tvp_1d
r"""1D proximal operator for any :math:`\ell_p` norm. Specifically, this optimizes the following program: .. math:: \mathrm{min}_y
prox_tv/__init__.py:311
↓ 1 callers
Function
tvp_2d
r"""2D proximal operator for any :math:`\ell_p` norm. Specifically, this optimizes the following program: .. math:: \mathrm{min}_y
prox_tv/__init__.py:484
Function
FISTA_TVp
FISTA_TVp Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i -
src/TVLPopt.cpp:583
Function
FW_TVp
FW_TVp Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i - x_(
src/TVLPopt.cpp:871
Function
OGP_TVp
OGP_TVp Given a reference signal y and a penalty parameter lambda, solves the proximity operator min_x 0.5 ||x-y||^2 + lambda ||x_i - x_
src/TVLPopt.cpp:295
Function
SolveTVConvexQuadratic_a1
src/TVL1opt_kolmogorov.cpp:38
Function
TVval
TVval Given a reference multidimensional signal y and a series of penalty terms P(x,lambda,d,p), computes the value of the generalized Total
src/TVNDopt.cpp:524
Function
_chambollepock_tv2d
Chambolle and Pock's method for 2D TV proximity
prox_tv/__init__.py:432
Function
_chambollepockacc_tv2d
Accelerated Chambolle and Pock's method for 2D TV proximity
prox_tv/__init__.py:436
Function
_classictautstring_TV1
Classic taut string method for TV1 proximity
prox_tv/__init__.py:181
Function
_condat_TV1
Condat's method for TV1 proximity
prox_tv/__init__.py:202
Function
_condat_tv2d
Condat's method for 2D TV proximity
prox_tv/__init__.py:428
Function
_condattautstring_TV1
Condat's implementation of the taut string method for TV1 proximity
prox_tv/__init__.py:206
Function
_dp_TV1
Johnson's dynamic programming method for TV1 proximity
prox_tv/__init__.py:214
Function
_dr_tv2d
Douglas Rachford parallel projections method for 2D TV proximity
prox_tv/__init__.py:413
Function
_hybridtautstring_TV1
Hybrid taut string method for TV1 proximity
prox_tv/__init__.py:189
Function
_kolmogorov_TV1
Kolmogorov's method for TV1 proximity
prox_tv/__init__.py:210
Function
_kolmogorov_tv2d
Kolmogorov's method for 2D TV proximity
prox_tv/__init__.py:423
Function
_linearizedtautstring_TV1
Linearized taut string method for TV1 proximity
prox_tv/__init__.py:185
Function
_ms_tv2
More-Sorensen method for TV2 proximity
prox_tv/__init__.py:299
Function
_mspg_tv2
More-Sorensen + Projected Gradient hybrid method for TV2 proximity
prox_tv/__init__.py:307
Function
_pd_tv2d
Proximal dykstra method for 2D TV proximity
prox_tv/__init__.py:418
Function
_pg_tv2
Projected Gradient method for TV2 proximity
prox_tv/__init__.py:303
Function
_pn_TV1
Projected Newton method for TV1 proximity
prox_tv/__init__.py:197
Function
_yang_tv2d
Yang's method for 2D TV proximity
prox_tv/__init__.py:409
Function
compareDoublesReversed
Comparison of floating point numbers, in reversed sense (to allow for descending sorting) */
src/utils.cpp:240
Function
freeWorkspaces
Frees an array of p workspaces */
src/utils.cpp:228
Function
if
src/LPopt.cpp:321
Function
mexFunction
solveTV1_kolmogorov.cpp Solves the TV-L1 proximity problem by applying a message passing algorithm by Kolmogorov et al. Parameters: -
matlab/solveTV1_kolmogorov.cpp:25
Function
mexFunction
solveTV2d_DR.cpp Solves the 2 dimensional TV proximity problem by applying a Douglas-Rachford splitting algorithm. Parameters: - 0: bidim
matlab/solveTV2D_DR.cpp:29
Function
mexFunction
solveTV2_morec.cpp Solves the TV-L2 proximity problem by applying a More-Sorensen algorithm. Parameters: - 0: reference signal y. -
matlab/solveTV2_morec.cpp:24
next →
1–100 of 140, ranked by callers