MCPcopy Create free account

hub / github.com/albarji/proxTV / functions

Functions140 in github.com/albarji/proxTV

↓ 41 callersFunctiongetDoubleWorkspace
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 callersFunction_call
(fn, *args)
prox_tv/__init__.py:70
↓ 24 callersFunctionresetWorkspace
Resets the memory assignments in the workspace @argument ws pointer to workspace to reset */
src/utils.cpp:120
↓ 19 callersFunctionLPnorm
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 callersFunctionTV
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 callersFunctionforce_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 callersFunctiontv1_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 callersFunctionforce_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 callersFunctionnewWorkspace
Creates and initiallizes a workspace structure @argument n dimension of data vectors. @returns pointer to new workspace */
src/utils.cpp:79
↓ 6 callersFunction_generate2d
Generates a 2D array for the test
prox_tv/prox_tv_test.py:99
↓ 6 callersFunctionnewWorkspaces
Allocs memory for an array of p workspaces */
src/utils.cpp:206
↓ 6 callersFunctionsign
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 callersFunctionPN_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 callersFunctiongetIntWorkspace
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 callersFunctionmax
Returns the maximum of two numbers @argument x @argument y @returns value of the maximum number */
src/utils.cpp:46
↓ 4 callersFunctionLPp_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 callersFunctiontv1_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 callersFunctiontv1w_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 callersFunctiontvgen
r"""General TV proximal operator for multidimensional signals Specifically, this optimizes the following program: .. math:: \min_X \f
prox_tv/__init__.py:533
↓ 3 callersFunctionPN_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 callersFunction_condatchambollepock_tv2d
Wrapper function for general implementaton of Chambolle-Pock + Condat
prox_tv/__init__.py:440
↓ 3 callersFunctionmin
Returns the minimum of two numbers @argument x @argument y @returns value of the minimum number */
src/utils.cpp:32
↓ 3 callersFunctionmorePG_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 callersFunctionDR2_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 callersFunctionDR_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 callersFunctionDR_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 callersFunctionDR_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 callersFunctionDR_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 callersFunctionDR_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 callersFunctionDR_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 callersFunctionGPFW_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 callersFunctionGP_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 callersFunctionLP1_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 callersFunctionPD2_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 callersFunctionTV1D_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 callersFunction_blockysignal
Generates a blocky signal for the demo
prox_tv/demos/demo_filter_signal.py:7
↓ 2 callersFunction_test_tv1_methods
For given input signal and weight, all TV1 methods must be similar
prox_tv/prox_tv_test.py:55
↓ 2 callersFunction_test_tv1w_1d_uniform_weights
(min, max)
prox_tv/prox_tv_test.py:26
↓ 2 callersFunctionfreePB
Frees all memory reserved by a Buffer */
src/TVL1opt_tautstring.cpp:61
↓ 2 callersFunctionhybridTautString_TV1
src/TVL1opt_hybridtautstring.cpp:237
↓ 2 callersFunctionmxGetInf
src/general.h:27
↓ 2 callersFunctionnewPB
Creates a new Buffer of the given size */
src/TVL1opt_tautstring.cpp:49
↓ 2 callersFunctionsolveLinearLP
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 callersFunctiontautString_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 callersFunctiontv1w_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 callersFunctionCondatChambollePock2_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 callersFunctionDR2L1W_TV
src/TV2DWopt.cpp:46
↓ 1 callersFunctionKolmogorov2_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 callersFunctionPDR_TV
src/TVNDopt.cpp:280
↓ 1 callersFunctionPD_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 callersFunctionPG_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 callersFunctionPN_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 callersFunctionPN_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 callersFunctionPN_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 callersFunctionPN_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 callersFunctionPN_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 callersFunctionSolveTVConvexQuadratic_a1_nw
non-weighted version
src/TVL1opt_kolmogorov.cpp:133
↓ 1 callersFunctionTV1D_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 callersFunctionYang2_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 callersFunctionYang3_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 callersFunctionclassicTautString_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 callersFunctionclassicTautString_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 callersFunctiondp
src/johnsonRyanTV.cpp:9
↓ 1 callersFunctionfreeWorkspace
Frees a workspace structure */
src/utils.cpp:182
↓ 1 callersFunctionhybridTautString_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 callersFunctionlinearizedTautString_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 callersFunctionmore_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 callersFunctionnewknot
Returns a new taut-string knot for given crossing majorant/minorant */
src/TVL1opt_tautstring.cpp:187
↓ 1 callersFunctiontv2_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 callersFunctiontvp_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 callersFunctiontvp_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
FunctionFISTA_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
FunctionFW_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
FunctionOGP_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
FunctionSolveTVConvexQuadratic_a1
src/TVL1opt_kolmogorov.cpp:38
FunctionTVval
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
FunctioncompareDoublesReversed
Comparison of floating point numbers, in reversed sense (to allow for descending sorting) */
src/utils.cpp:240
FunctionfreeWorkspaces
Frees an array of p workspaces */
src/utils.cpp:228
Functionif
src/LPopt.cpp:321
FunctionmexFunction
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
FunctionmexFunction
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
FunctionmexFunction
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