Comments (3)
I guess we should also think whether we want to do this in C or in Python.
If in Python it shouldn't be too difficult.
from tomophantom.
yes, worth talking about it. Probably we should come up with a convenient parametrisation. If in python then this can be similar to this script, where just linear vertical shift is implemented. However the vector of shifts (translations, rotations) can be of any trajectory.
from tomophantom.
If we want to support a C API (or wrappers for other languages as MATLAB) would be the ability to set each parameter as:
- float or constant in time
- a tuple (p0,p1), implying linear change within the time frame
- a "list" of values the object assumes. In this case there is scope for interpolation when each parameter may vary with a different number of timeframes.
Worth having a look at what the CCPPETMR numerical simulation implementation.
https://youtu.be/UXrAVnTw7lo?t=3752
I suggest to change the current implementation which assumes equal steps to use generic arrays where the value of the parameter at each step is defined.
TODO, update these lines:
TomoPhantom/Core/TomoP2DModelSino_core.c
Line 436 in 8e9d0c3
TomoPhantom/Core/TomoP2DModel_core.c
Line 283 in 8e9d0c3
TomoPhantom/Core/TomoP2DModelSino_core.c
Line 424 in 8e9d0c3
TomoPhantom/Core/TomoP3DModel_core.c
Line 367 in 8e9d0c3
from tomophantom.
Related Issues (20)
- Adding Fresnel propagator
- Print instead of error HOT 1
- Error with "compile_mex_windows.m" HOT 5
- TomoP3D.object on Windows crashes for large phantom sizes >1500^3 HOT 1
- Possible mistake in poisson noise generation HOT 1
- TomoP2D.ModelSino expects angles in degrees HOT 4
- import of ArtifactClass is cumbersome HOT 1
- It should be possible to seed the random noise HOT 1
- CNN-based denoising example for random phantoms
- Artifacts: Partial stripes simulation with variant intensity
- Enable partial objects cutoffs
- reconstruct 3d point cloud from sinogram images
- Negative amplitude? HOT 2
- add verbosity option HOT 5
- 3D Projection of phantoms with shapes of elliptical cylinder and cuboid don't have tilting rectangular shapes whatever Euler angles set HOT 8
- Add motion averaging of projections to simulate fast imaging conditions
- Problem with installation for Windows via Anaconda (No module named 'tomophantom') HOT 10
- Adding modelling based on speckle simulation
- can't create cylinder objects HOT 7
- Adding partial volume effect simulator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomophantom.