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

An option to create non-cubic 3D phantoms #21

Closed dkazanc closed 6 years ago

dkazanc commented 6 years ago

moving from: a) TomoP3DModel(ModelNo,N,pathTP)where N is a scalar leading to N x N x N phantom to: b) TomoP3DModel(ModelNo, DIM ,pathTP) where DIM is a tuple [N1, N1, N2] leading to N1 x N1 x N2 phantom. Version a) needs to be supported as well with DIM[1] = N

dkazanc commented 6 years ago

Here I'm trying to deal with a tuple or a scalar passed from python to C code. @paskino please help.