diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2017-08-04 16:13:19 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2017-10-11 15:32:34 +0100 |
commit | 87fdeb59a0fd3456eabe3ebf045f989f1d833cab (patch) | |
tree | 2a2d5f3e800da149a6b4faf5c2948b8c922cbc6a | |
parent | 846e09d5c27736a4af80af7f9a3adcda3c6d4bf0 (diff) | |
download | regularization-87fdeb59a0fd3456eabe3ebf045f989f1d833cab.tar.gz regularization-87fdeb59a0fd3456eabe3ebf045f989f1d833cab.tar.bz2 regularization-87fdeb59a0fd3456eabe3ebf045f989f1d833cab.tar.xz regularization-87fdeb59a0fd3456eabe3ebf045f989f1d833cab.zip |
removed definition of CopyImage
-rw-r--r-- | main_func/regularizers_CPU/FGP_TV_core.c | 13 | ||||
-rw-r--r-- | main_func/regularizers_CPU/LLT_model_core.c | 11 |
2 files changed, 4 insertions, 20 deletions
diff --git a/main_func/regularizers_CPU/FGP_TV_core.c b/main_func/regularizers_CPU/FGP_TV_core.c index 9cde327..03cd445 100644 --- a/main_func/regularizers_CPU/FGP_TV_core.c +++ b/main_func/regularizers_CPU/FGP_TV_core.c @@ -3,7 +3,7 @@ This work is part of the Core Imaging Library developed by Visual Analytics and Imaging System Group of the Science Technology Facilities Council, STFC -Copyright 2017 Daniil Kazanteev +Copyright 2017 Daniil Kazantsev Copyright 2017 Srikanth Nagella, Edoardo Pasca Licensed under the Apache License, Version 2.0 (the "License"); @@ -263,13 +263,4 @@ float Rupd_func3D(float *P1, float *P1_old, float *P2, float *P2_old, float *P3, return 1; } -/* General Functions */ -/*****************************************************************/ -/* Copy Image */ -float copyIm(float *A, float *B, int dimX, int dimY, int dimZ) -{ - int j; -#pragma omp parallel for shared(A, B) private(j) - for (j = 0; j<dimX*dimY*dimZ; j++) B[j] = A[j]; - return *B; -} + diff --git a/main_func/regularizers_CPU/LLT_model_core.c b/main_func/regularizers_CPU/LLT_model_core.c index 7a1cdbe..3a853d2 100644 --- a/main_func/regularizers_CPU/LLT_model_core.c +++ b/main_func/regularizers_CPU/LLT_model_core.c @@ -3,7 +3,7 @@ This work is part of the Core Imaging Library developed by Visual Analytics and Imaging System Group of the Science Technology Facilities Council, STFC -Copyright 2017 Daniil Kazanteev +Copyright 2017 Daniil Kazantsev Copyright 2017 Srikanth Nagella, Edoardo Pasca Licensed under the Apache License, Version 2.0 (the "License"); @@ -314,12 +314,5 @@ float cleanMap(unsigned short *Map, int dimX, int dimY, int dimZ) return *Map; } -/* 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 *********************/
\ No newline at end of file |