Hconk / DigitallyReconstructedRadiograph

DigitallyReconstructedRadiograph implementation in Python.
10 stars 1 forks source link

代码不完整 #1

Open ToFirstday opened 3 years ago

ToFirstday commented 3 years ago

你好,请问这个代码是不是不完整的?

Hconk commented 3 years ago

是完整的,是用Python重写了一下这个代码:https://gitee.com/fantianliang/SimpleExamples/ ,你可以参考。

ToFirstday commented 3 years ago

十分感谢你的回复。但我看你在169~172行定义了一个origin,但是好像缺少一行代码将origin设置到构建的filter中。

Hconk commented 3 years ago

我参考的那个代码里面origin确实没有用上,这里有份ITK官方参考的代码是有用上的,你可以加上, https://github.com/InsightSoftwareConsortium/ITK/blob/bdad19f67c63c299025f3ea3e41b7bca0d26951f/Examples/Filtering/DigitallyReconstructedRadiograph1.cxx#L695

ToFirstday commented 3 years ago

我参考的那个代码里面origin确实没有用上,这里有份ITK官方参考的代码是有用上的,你可以加上, https://github.com/InsightSoftwareConsortium/ITK/blob/bdad19f67c63c299025f3ea3e41b7bca0d26951f/Examples/Filtering/DigitallyReconstructedRadiograph1.cxx#L695

好的,谢谢~