summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace signal-based abort handling by query-based handlingWillem Jan Palenstijn2019-08-1428-188/+48
| | | | | | | | 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.
* Build updates for Debian 8 + CUDA10.1Willem Jan Palenstijn2019-07-084-40/+17
| | | | | | | 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.
* Build updates for Win10 + VS2017 + CUDA9 + Matlab R2018bWillem Jan Palenstijn2019-07-0823-150/+151
|
* Update matlab function signatureWillem Jan Palenstijn2019-07-081-2/+2
| | | | The previous one was an undocumented educated guess.
* Replace absolute path by relative path in builder.pyWillem Jan Palenstijn2019-07-081-3/+3
| | | | | | 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.
* Fix composite EMode enum order in experimental.pyxWillem Jan Palenstijn2019-06-182-3/+3
|
* Update conda builds for cuda 10 and numpy 1.16Willem Jan Palenstijn2019-04-128-10/+43
|
* Fix scaling for fan/strip projectorWillem Jan Palenstijn2019-03-292-9/+72
| | | | | | | | | | | | 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.
* Clean up projector unit testsWillem Jan Palenstijn2019-03-251-151/+191
|
* Add linear projector testsWillem Jan Palenstijn2019-03-231-15/+90
|
* Flip wrong detector orientation for fan2d_stripWillem Jan Palenstijn2019-03-231-2/+2
| | | | | | There are still some remaining fan2d_strip unit test failures, with suspicious slightly too large numerical deviations around 45 degree projections.
* Add strip projector testsWillem Jan Palenstijn2019-03-231-0/+89
|
* Make ParStripProjector2D::getProjectionWeightsCount safer for very thin stripsWillem Jan Palenstijn2019-03-131-1/+1
|
* Fix rounding error in ParStripProjector2D::getProjectionWeightsCountWillem Jan Palenstijn2019-03-121-2/+2
| | | | | | | | | 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.
* Regenerate Windows build filesWillem Jan Palenstijn2019-03-053-0/+13
|
* Merge pull request #183 from wjp/par2d_ddWillem Jan Palenstijn2019-02-1926-716/+764
|\ | | | | Add basic implementation of par2d CPU Distance Driven projector
| * test_line2d: Add tests for distance_driven projectorWillem Jan Palenstijn2019-01-301-73/+174
| |
| * Some basic optimizationsWillem Jan Palenstijn2019-01-241-46/+41
| |
| * Remove largely unimplemented CProjector2D::projectPoint methodWillem Jan Palenstijn2019-01-2421-667/+6
| | | | | | | | This includes the astra_mex_projector('splat') matlab function.
| * Add basic implementation of par2d CPU Distance Driven projectorWillem Jan Palenstijn2019-01-247-2/+615
|/
* Add DartMask helper connectivity option checkWillem Jan Palenstijn2018-12-232-3/+5
|
* Add error checking to numeric vector config parsingWillem Jan Palenstijn2018-12-231-0/+2
|
* Fix exception propagation in python dictToConfigWillem Jan Palenstijn2018-12-232-7/+10
|
* Improve config error handlingWillem Jan Palenstijn2018-12-2324-118/+264
|
* More gracefully handle config errors in geometriesWillem Jan Palenstijn2018-12-2318-123/+259
|
* Remove unused fileWillem Jan Palenstijn2018-12-231-285/+0
|
* Fix return value order in sampleWillem Jan Palenstijn2018-12-231-1/+1
|
* Install DART algorithmWillem Jan Palenstijn2018-12-121-1/+1
|
* Merge branch 'geom_visualizer'Willem Jan Palenstijn2018-12-1238-0/+2112
|\ | | | | | | This adds a matlab geometry visualizer, and a sample showing how to use it.
| * Reorganize functions into packages/private functionsWillem Jan Palenstijn2018-12-1237-81/+41
| | | | | | | | This also replaces modifying the path with a request to the user to modify the path.
| * add astra_plot_geom command and sample s024Tim2018-12-1215-154/+181
| | | | | | | | Signed-off-by: Tim <tim.elberfeld@uantwerpen.be>
| * copy plot_geom files in correct folders when installingTim2018-12-121-0/+22
| |
| * add geometry draw files without changesTim2018-12-1239-0/+2103
| |
* | Remove unused array allocation in data3d.get_sharedWillem Jan Palenstijn2018-12-121-1/+0
| | | | | | | | Thanks to @ahendriksen.
* | Add new CUDA compute modelsWillem Jan Palenstijn2018-12-121-2/+2
| |
* | Merge pull request #180 from wjp/filter_configWillem Jan Palenstijn2018-12-077-50/+98
|\ \ | |/ |/| Read filter config for FBP from cfg.options
| * Improve detection of unused config options for filtersWillem Jan Palenstijn2018-12-062-34/+67
| | | | | | | | | | The FilterSinogramId, FilterParameter and FilterD options now only get marked used if they are actually used, based on the value of FilterType.
| * Read filter config for FBP from cfg.optionsWillem Jan Palenstijn2018-12-066-44/+59
|/ | | | | | | 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.
* Add install-dev to READMEWillem Jan Palenstijn2018-11-132-0/+28
|
* Add install-dev make target for installing headers/pkgconfig/libraryWillem Jan Palenstijn2018-11-133-7/+55
|
* Fix python set_gpu_index default memory argumentWillem Jan Palenstijn2018-11-071-1/+1
|
* Loosen numpy dependency for conda packageWillem Jan Palenstijn2018-11-011-1/+1
|
* Add minimal GPU Array interfaceWillem Jan Palenstijn2018-11-017-11/+189
| | | | | This extension (only) allows creating a CUDA 3D array, copying projection data into it, performing a BP from the array, and freeing the array.
* Fix missing python lib path for matlab moduleWillem Jan Palenstijn2018-10-241-1/+6
|
* Merge pull request #170 from wjp/feature_flagsWillem Jan Palenstijn2018-10-2315-13/+167
|\ | | | | Add support for checking features at run-time
| * Add support for checking features at run-timeWillem Jan Palenstijn2018-09-2510-3/+163
| |
| * Unify USE_MATLAB_UNDOCUMENTED defineWillem Jan Palenstijn2018-09-255-10/+4
|/
* Raise exception when setting GPU memory unrealistically smallWillem Jan Palenstijn2018-09-251-0/+2
|
* Avoid broken scipy package for testsWillem Jan Palenstijn2018-08-311-0/+2
|
* Drop numpy 1.12/1.13 packagesWillem Jan Palenstijn2018-08-311-2/+0
| | | | Anaconda doesn't have these for python 3.7 apparently