summaryrefslogtreecommitdiffstats
path: root/main_func
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-08-07 16:47:28 +0100
commit0ce5b086d137761f2c31b9ae1c271c9aeb8d8fb8 (patch)
tree3ac34227aaab92759e4937b8c178881954160f25 /main_func
parent29bb545f32e625d74faee46b45095809b948fc9e (diff)
downloadregularization-0ce5b086d137761f2c31b9ae1c271c9aeb8d8fb8.tar.gz
regularization-0ce5b086d137761f2c31b9ae1c271c9aeb8d8fb8.tar.bz2
regularization-0ce5b086d137761f2c31b9ae1c271c9aeb8d8fb8.tar.xz
regularization-0ce5b086d137761f2c31b9ae1c271c9aeb8d8fb8.zip
removed copyIm
Diffstat (limited to 'main_func')
-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 4c0427c..ec7cadb 100644
--- a/main_func/regularizers_CPU/TGV_PD_core.c
+++ b/main_func/regularizers_CPU/TGV_PD_core.c
@@ -187,14 +187,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)*/