-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from dkazanc/adaptring
A better data model to supress ring artifacts
- Loading branch information
Showing
44 changed files
with
1,087 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
cmake_minimum_required (VERSION 3.0) | ||
|
||
project(tomobar) | ||
|
||
set (tomobar_VERSION $ENV{tomobar_VERSION} CACHE INTERNAL "tomobar modules" FORCE) | ||
message(STATUS "tomobar_VERSION set to " ${tomobar_VERSION}) | ||
|
||
# set the Python variables for the Conda environment | ||
option (BUILD_PYTHON_WRAPPER "Build Python Wrappers" ON) | ||
option (CONDA_BUILD "Conda Build" OFF) | ||
|
||
set(PYTHON_DEST_DIR "" CACHE PATH "Directory of the Python wrappers") | ||
if (PYTHON_DEST_DIR) | ||
set(PYTHON_DEST "${PYTHON_DEST_DIR}") | ||
else() | ||
set(PYTHON_DEST "${CMAKE_INSTALL_PREFIX}/python") | ||
endif() | ||
message(STATUS "Python wrappers will be installed in " ${PYTHON_DEST}) | ||
|
||
add_subdirectory(src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
% adding paths | ||
fsep = '/'; | ||
% TomoPhantom paths (TomoPhantom needs to be compiled first) | ||
pathtoTomoPhantom = sprintf(['..' fsep '..' fsep 'src' fsep 'Matlab' fsep 'supplementary' fsep 'TomoPhantom' fsep 'Wrappers' fsep 'MATLAB' fsep 'compiled' fsep], 1i); | ||
addpath(pathtoTomoPhantom); | ||
pathtoTomoPhantom2 = sprintf(['..' fsep '..' fsep 'src' fsep 'Matlab' fsep 'supplementary' fsep 'TomoPhantom' fsep 'Wrappers' fsep 'MATLAB' fsep 'supplem' fsep], 1i); | ||
addpath(pathtoTomoPhantom2); | ||
pathtoModels = sprintf(['..' fsep '..' fsep 'src' fsep 'Matlab' fsep 'supplementary' fsep 'TomoPhantom' fsep 'PhantomLibrary' fsep 'models' fsep 'Phantom2DLibrary.dat'], 1i); | ||
% Regularisation Toolkit path to compiled library (CCPi-RGTtk needs to be compiled first) | ||
pathtoRGLtk = sprintf(['..' fsep '..' fsep 'src' fsep 'Matlab' fsep 'supplementary' fsep 'CCPi-Regularisation-Toolkit' fsep 'Wrappers' fsep 'Matlab' fsep 'mex_compile' fsep 'installed'], 1i); | ||
addpath(pathtoRGLtk); | ||
|
||
pathmainFunc = sprintf(['..' fsep '..' fsep 'src' fsep 'Matlab' fsep 'main_func'], 1i); | ||
addpath(pathmainFunc); | ||
pathSupp = sprintf(['..' fsep '..' fsep 'src' fsep 'Matlab' fsep 'supplementary'], 1i); | ||
addpath(pathSupp); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.