dkazanc / TomoPhantom

Software to generate 2D/3D/4D analytical phantoms and their Radon transforms (parallel beam) for image processing
https://dkazanc.github.io/TomoPhantom/
Apache License 2.0
116 stars 53 forks source link

Change of the interface #9

Closed dkazanc closed 6 years ago

dkazanc commented 6 years ago

I've changed the interface to something more comprehensive: def Model - consists of multiple objects and def Object - just one geometrical being. Similarly def ModelSino or def ObjectSino for sinograms.

So now the model can be called as TomoP2D.Model or TomoP3D.Model for 3D Version. @paskino Regarding a new capability of creating separate objects I think @srikanthnagella already did quite a lot on that here: https://github.com/dkazanc/TomoPhantom/blob/27bfe0623cf4d23bb89c77a463f7c252bc592759/python/src/TomoP2D.pyx#L62

So I'm just want to test it and prepare an example.

dkazanc commented 6 years ago

closed with #10