summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-08-07 16:47:28 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-11 15:38:09 +0100
commit8094acfff8659e5c959066495936a8d5aff56fd5 (patch)
tree36a4ced8a95034de347cc2ad5522414b04bff79f
parentc20554d5bec0168a54a6c472c0cc2f378511eccc (diff)
downloadregularization-8094acfff8659e5c959066495936a8d5aff56fd5.tar.gz
regularization-8094acfff8659e5c959066495936a8d5aff56fd5.tar.bz2
regularization-8094acfff8659e5c959066495936a8d5aff56fd5.tar.xz
regularization-8094acfff8659e5c959066495936a8d5aff56fd5.zip
removed copyIm
-rw-r--r--main_func/regularizers_CPU/TGV_PD_core.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/main_func/regularizers_CPU/TGV_PD_core.c b/main_func/regularizers_CPU/TGV_PD_core.c
index 1164b73..4139d10 100644
--- a/main_func/regularizers_CPU/TGV_PD_core.c
+++ b/main_func/regularizers_CPU/TGV_PD_core.c
@@ -186,14 +186,6 @@ float UpdV_2D(float *V1, float *V2, float *P1, float *P2, float *Q1, float *Q2,
}}
return 1;
}
-/* Copy Image */
-float copyIm(float *A, float *U, int dimX, int dimY, int dimZ)
-{
- int j;
-#pragma omp parallel for shared(A, U) private(j)
- for(j=0; j<dimX*dimY*dimZ; j++) U[j] = A[j];
- return *U;
-}
/*********************3D *********************/
/*Calculating dual variable P (using forward differences)*/