summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-16Improve logging of mex detection to config.logWillem Jan Palenstijn
2019-08-16Check for the mex -R2017b option in configureWillem Jan Palenstijn
Since we use mex for linking, but CXX for compiling, we also need to set a preprocessor macro to emulate the -R2017b option. Currently we use -DMATLAB_MEXCMD_RELEASE=700, but it is unclear if this is the recommended way. This is required to build with Matlab R2018a and newer.
2019-08-14Replace signal-based abort handling by query-based handlingWillem Jan Palenstijn
The abort handling is currently only used to process Ctrl-C from Matlab. Since Matlab R2019a, it appears that calling utIsInterruptPending() from a thread other than the main thread will crash. The previous approach of checking utIsInterruptPending() in a thread, and then signalling the running algorithm was therefore broken.
2019-07-08Build updates for Debian 8 + CUDA10.1Willem Jan Palenstijn
Debian 7 is EOL, and CUDA 10.1 doesn't support its version of glibc. Hardcoded conda=4.6.14 for now, since 4.7.5 seems to be downloading corrupted packages when running in docker/linux-64.
2019-07-08Build updates for Win10 + VS2017 + CUDA9 + Matlab R2018bWillem Jan Palenstijn
2019-07-08Update matlab function signatureWillem Jan Palenstijn
The previous one was an undocumented educated guess.
2019-07-08Replace absolute path by relative path in builder.pyWillem Jan Palenstijn
A recent setuptools is using the full path as part of the name of the temporary build directory, which made the full temp path too long when called from conda-build in Windows.
2019-06-18Fix composite EMode enum order in experimental.pyxWillem Jan Palenstijn
2019-04-12Update conda builds for cuda 10 and numpy 1.16Willem Jan Palenstijn
2019-03-29Fix scaling for fan/strip projectorWillem Jan Palenstijn
The strip model for a fan beam geometry wasn't taking pixel magnification into account. Among other things, this resulted in diagonals through rectangles being weighted the same as hor/ver lines. This commit fixes this by scaling each pixel contribution by its magnification on the detector. This is only an approximation (since the magnification isn't constant inside the pixel), but since pixels are usually small, the error is also small. Unfortunately, computing this scaling factor is relatively expensive because it introduces a square root in the inner loop.
2019-03-25Clean up projector unit testsWillem Jan Palenstijn
2019-03-23Add linear projector testsWillem Jan Palenstijn
2019-03-23Flip wrong detector orientation for fan2d_stripWillem Jan Palenstijn
There are still some remaining fan2d_strip unit test failures, with suspicious slightly too large numerical deviations around 45 degree projections.
2019-03-23Add strip projector testsWillem Jan Palenstijn
2019-03-13Make ParStripProjector2D::getProjectionWeightsCount safer for very thin stripsWillem Jan Palenstijn
2019-03-12Fix rounding error in ParStripProjector2D::getProjectionWeightsCountWillem Jan Palenstijn
In the worst case this would lead to (nearly) empty storage for getMatrix(), resulting in (near) explicit projection matrices. (These are only used for exporting explicit sparse projection matrices to matlab/python; not for FP/BP/reconstruction.) This is a quick fix; ideally the affected code would use dynamic storage.
2019-03-05Regenerate Windows build filesWillem Jan Palenstijn
2019-02-19Merge pull request #183 from wjp/par2d_ddWillem Jan Palenstijn
Add basic implementation of par2d CPU Distance Driven projector
2019-01-30test_line2d: Add tests for distance_driven projectorWillem Jan Palenstijn
2019-01-24Some basic optimizationsWillem Jan Palenstijn
2019-01-24Remove largely unimplemented CProjector2D::projectPoint methodWillem Jan Palenstijn
This includes the astra_mex_projector('splat') matlab function.
2019-01-24Add basic implementation of par2d CPU Distance Driven projectorWillem Jan Palenstijn
2018-12-23Add DartMask helper connectivity option checkWillem Jan Palenstijn
2018-12-23Add error checking to numeric vector config parsingWillem Jan Palenstijn
2018-12-23Fix exception propagation in python dictToConfigWillem Jan Palenstijn
2018-12-23Improve config error handlingWillem Jan Palenstijn
2018-12-23More gracefully handle config errors in geometriesWillem Jan Palenstijn
2018-12-23Remove unused fileWillem Jan Palenstijn
2018-12-23Fix return value order in sampleWillem Jan Palenstijn
2018-12-12Install DART algorithmWillem Jan Palenstijn
2018-12-12Merge branch 'geom_visualizer'Willem Jan Palenstijn
This adds a matlab geometry visualizer, and a sample showing how to use it.
2018-12-12Reorganize functions into packages/private functionsWillem Jan Palenstijn
This also replaces modifying the path with a request to the user to modify the path.
2018-12-12add astra_plot_geom command and sample s024Tim
Signed-off-by: Tim <tim.elberfeld@uantwerpen.be>
2018-12-12copy plot_geom files in correct folders when installingTim
2018-12-12add geometry draw files without changesTim
2018-12-12Remove unused array allocation in data3d.get_sharedWillem Jan Palenstijn
Thanks to @ahendriksen.
2018-12-12Add new CUDA compute modelsWillem Jan Palenstijn
2018-12-07Merge pull request #180 from wjp/filter_configWillem Jan Palenstijn
Read filter config for FBP from cfg.options
2018-12-06Improve detection of unused config options for filtersWillem Jan Palenstijn
The FilterSinogramId, FilterParameter and FilterD options now only get marked used if they are actually used, based on the value of FilterType.
2018-12-06Read filter config for FBP from cfg.optionsWillem Jan Palenstijn
Since these settings are optional, they should have been in cfg.options instead of directly in cfg. The old syntax remains a fallback. This has the side-effect that the tomopy/astra interface can also supply them.
2018-11-13Add install-dev to READMEWillem Jan Palenstijn
2018-11-13Add install-dev make target for installing headers/pkgconfig/libraryWillem Jan Palenstijn
2018-11-07Fix python set_gpu_index default memory argumentWillem Jan Palenstijn
2018-11-01Loosen numpy dependency for conda packageWillem Jan Palenstijn
2018-11-01Add minimal GPU Array interfaceWillem Jan Palenstijn
This extension (only) allows creating a CUDA 3D array, copying projection data into it, performing a BP from the array, and freeing the array.
2018-10-24Fix missing python lib path for matlab moduleWillem Jan Palenstijn
2018-10-23Merge pull request #170 from wjp/feature_flagsWillem Jan Palenstijn
Add support for checking features at run-time
2018-09-25Add support for checking features at run-timeWillem Jan Palenstijn
2018-09-25Unify USE_MATLAB_UNDOCUMENTED defineWillem Jan Palenstijn
2018-09-25Raise exception when setting GPU memory unrealistically smallWillem Jan Palenstijn