Dear all,

I am trying to do the 4D phase-correlated CBCT reconstruction under Python 
environment. What I have are the projection data(.mha), geometry info(.xml) and 
the repiratory info(.txt). You can check the attachment for the phase file. I 
want just to simply ‘divide’ the projections and geometry into different bins 
according to the phase information and perform FDK recon separately, to get 
several different 3D images with streaks artifacts of course. The Rooster is 
not necessary for me.

I have spent lot of time on the given ‘4DROOSTERReconstruction’ example. I 
think it used the ReorderProjectionsImageFilter order to do the separation. 
However, I am stuck on how to perform it for Python since I didn’t figure out 
how to read the phase.txt. Could you please give me some hints and is it 
correct to call this order to achieve my goals?

Additionally, I also saw another test 
example(https://github.com/SimonRit/RTK/blob/master/test/rtkwarpprojectionstacktofourdtest.cxx)
 which seems using ‘PhasesToInterpolationWeights’ ,  
‘BackProjectionImageFilter’ and ‘DivideImageFilter ‘ to do this. I am confused 
I should follow which way. And I also want to make sure why here using 
BackProjectionImageFilter rather than FDKConeBeamReconstructionFilter.

Sorry for these cumbersome questions. Really hope to get some help, which means 
a lot for me. Thank you very much.

Sincerely,
Zhehao

0.863636
0.886364
0.909091
0.931818
0.954545
0.977273
0
0.0227273
0.0454545
0.0681818
0.0909091
0.113636
0.136364
0.159091
0.181818
0.204545
0.227273
0.25
0.272727
0.295455
0.318182
0.340909
0.363636
0.386364
0.409091
0.431818
0.454545
0.477273
0.5
0.522727
0.545455
0.568182
0.590909
0.613636
0.636364
0.659091
0.681818
0.704545
0.727273
0.75
0.772727
0.795455
0.818182
0.840909
0.863636
0.886364
0.909091
0.931818
0.954545
0.977273
0
0.0181818
0.0363636
0.0545455
0.0727273
0.0909091
0.109091
0.127273
0.145455
0.163636
0.181818
0.2
0.218182
0.236364
0.254545
0.272727
0.290909
0.309091
0.327273
0.345455
0.363636
0.381818
0.4
0.418182
0.436364
0.454545
0.472727
0.490909
0.509091
0.527273
0.545455
0.563636
0.581818
0.6
0.618182
0.636364
0.654545
0.672727
0.690909
0.709091
0.727273
0.745455
0.763636
0.781818
0.8
0.818182
0.836364
0.854545
0.872727
0.890909
0.909091
0.927273
0.945455
0.963636
0.981818
0
0.0217391
0.0434783
0.0652174
0.0869565
0.108696
0.130435
0.152174
0.173913
0.195652
0.217391
0.23913
0.26087
0.282609
0.304348
0.326087
0.347826
0.369565
0.391304
0.413043
0.434783
0.456522
0.478261
0.5
0.521739
0.543478
0.565217
0.586957
0.608696
0.630435
0.652174
0.673913
0.695652
0.717391
0.73913
0.76087
0.782609
0.804348
0.826087
0.847826
0.869565
0.891304
0.913043
0.934783
0.956522
0.978261
0
0.0227273
0.0454545
0.0681818
0.0909091
0.113636
0.136364
0.159091
0.181818
0.204545
0.227273
0.25
0.272727
0.295455
0.318182
0.340909
0.363636
0.386364
0.409091
0.431818
0.454545
0.477273
0.5
0.522727
0.545455
0.568182
0.590909
0.613636
0.636364
0.659091
0.681818
0.704545
0.727273
0.75
0.772727
0.795455
0.818182
0.840909
0.863636
0.886364
0.909091
0.931818
0.954545
0.977273
0
0.0185185
0.037037
0.0555556
0.0740741
0.0925926
0.111111
0.12963
0.148148
0.166667
0.185185
0.203704
0.222222
0.240741
0.259259
0.277778
0.296296
0.314815
0.333333
0.351852
0.37037
0.388889
0.407407
0.425926
0.444444
0.462963
0.481481
0.5
0.518519
0.537037
0.555556
0.574074
0.592593
0.611111
0.62963
0.648148
0.666667
0.685185
0.703704
0.722222
0.740741
0.759259
0.777778
0.796296
0.814815
0.833333
0.851852
0.87037
0.888889
0.907407
0.925926
0.944444
0.962963
0.981481
0
0.0172414
0.0344828
0.0517241
0.0689655
0.0862069
0.103448
0.12069
0.137931
0.155172
0.172414
0.189655
0.206897
0.224138
0.241379
0.258621
0.275862
0.293103
0.310345
0.327586
0.344828
0.362069
0.37931
0.396552
0.413793
0.431034
0.448276
0.465517
0.482759
0.5
0.517241
0.534483
0.551724
0.568966
0.586207
0.603448
0.62069
0.637931
0.655172
0.672414
0.689655
0.706897
0.724138
0.741379
0.758621
0.775862
0.793103
0.810345
0.827586
0.844828
0.862069
0.87931
0.896552
0.913793
0.931034
0.948276
0.965517
0.982759
0
0.015625
0.03125
0.046875
0.0625
0.078125
0.09375
0.109375
0.125
0.140625
0.15625
0.171875
0.1875
0.203125
0.21875
0.234375
0.25
0.265625
0.28125
0.296875
0.3125
0.328125
0.34375
0.359375
0.375
0.390625
0.40625
0.421875
0.4375
0.453125
0.46875
0.484375
0.5
0.515625
0.53125
0.546875
0.5625
0.578125
0.59375
0.609375
0.625
0.640625
0.65625
0.671875
0.6875
0.703125
0.71875
0.734375
0.75
0.765625
0.78125
0.796875
0.8125
0.828125
0.84375
0.859375
0.875
0.890625
0.90625
0.921875
0.9375
0.953125
0.96875
0.984375
0
0.0147059
0.0294118
0.0441176
0.0588235
0.0735294
0.0882353
0.102941
0.117647
0.132353
0.147059
0.161765
0.176471
0.191176
0.205882
0.220588
0.235294
0.25
0.264706
0.279412
0.294118
0.308824
0.323529
0.338235
0.352941
0.367647
0.382353
0.397059
0.411765
0.426471
0.441176
0.455882
0.470588
0.485294
0.5
0.514706
0.529412
0.544118
0.558824
0.573529
0.588235
0.602941
0.617647
0.632353
0.647059
0.661765
0.676471
0.691176
0.705882
0.720588
0.735294
0.75
0.764706
0.779412
0.794118
0.808824
0.823529
0.838235
0.852941
0.867647
0.882353
0.897059
0.911765
0.926471
0.941176
0.955882
0.970588
0.985294
0
0.0142857
0.0285714
0.0428571
0.0571429
0.0714286
0.0857143
0.1
0.114286
0.128571
0.142857
0.157143
0.171429
0.185714
0.2
0.214286
0.228571
0.242857
0.257143
0.271429
0.285714
0.3
0.314286
0.328571
0.342857
0.357143
0.371429
0.385714
0.4
0.414286
0.428571
0.442857
0.457143
0.471429
0.485714
0.5
0.514286
0.528571
0.542857
0.557143
0.571429
0.585714
0.6
0.614286
0.628571
0.642857
0.657143
0.671429
0.685714
0.7
0.714286
0.728571
0.742857
0.757143
0.771429
0.785714
0.8
0.814286
0.828571
0.842857
0.857143
0.871429
0.885714
0.9
0.914286
0.928571
0.942857
0.957143
0.971429
0.985714
0
0.015625
0.03125
0.046875
0.0625
0.078125
0.09375
0.109375
0.125
0.140625
0.15625
0.171875
0.1875
0.203125
0.21875
0.234375
0.25
0.265625
0.28125
0.296875
0.3125
0.328125
0.34375
0.359375
0.375
0.390625
0.40625
0.421875
0.4375
0.453125
0.46875
0.484375
0.5
0.515625
0.53125
0.546875
0.5625
0.578125
0.59375
0.609375
0.625
0.640625
0.65625
0.671875
0.6875
0.703125
0.71875
0.734375
0.75
0.765625
0.78125
0.796875
0.8125
0.828125
0.84375
0.859375
0.875
0.890625
0.90625
0.921875
0.9375
0.953125
0.96875
0.984375
0
0.0217391
0.0434783
0.0652174
0.0869565
0.108696
0.130435
0.152174
0.173913
0.195652
0.217391
0.23913
0.26087
0.282609
0.304348
0.326087
0.347826
0.369565
0.391304
0.413043
0.434783
0.456522
0.478261
0.5
0.521739
0.543478
0.565217
0.586957
0.608696
0.630435
0.652174
0.673913
0.695652
0.717391
0.73913
0.76087
0.782609
0.804348
0.826087
0.847826
0.869565
0.891304
0.913043
0.934783
0.956522
0.978261
0
0.0175439
0.0350877
0.0526316
0.0701754
0.0877193
0.105263
0.122807
0.140351
0.157895
0.175439
0.192982
0.210526
0.22807
0.245614
0.263158
0.280702
0.298246
0.315789
0.333333
0.350877
0.368421
0.385965
0.403509
0.421053
0.438596
0.45614
0.473684
0.491228
0.508772
0.526316
0.54386
0.561404
0.578947
0.596491
0.614035
0.631579
0.649123
0.666667
0.684211
0.701754
0.719298
0.736842
0.754386
0.77193
0.789474
0.807018
0.824561
0.842105
0.859649
0.877193
0.894737
0.912281
0.929825
0.947368
0.964912
0.982456
0
0.0178571
0.0357143
0.0535714
0.0714286
0.0892857
0.107143
0.125
0.142857
0.160714
0.178571
0.196429
0.214286
0.232143
0.25
0.267857
0.285714
0.303571
0.321429
0.339286
0.357143
0.375
0.392857
0.410714
0.428571
0.446429
0.464286
0.482143
0.5
0.517857
0.535714
0.553571
0.571429
0.589286
0.607143
0.625
0.642857
0.660714
0.678571
0.696429
0.714286
0.732143
0.75
0.767857
0.785714
0.803571
0.821429
0.839286
0.857143
0.875
0.892857
0.910714
0.928571
0.946429
0.964286
0.982143
0
0.0217391
0.0434783
0.0652174
0.0869565
0.108696
0.130435
0.152174
0.173913
0.195652
0.217391
0.23913
0.26087
0.282609
0.304348
0.326087
0.347826
0.369565
0.391304
0.413043
0.434783
0.456522
0.478261
0.5
0.521739
0.543478
0.565217
0.586957
0.608696
0.630435
0.652174
0.673913
0.695652
0.717391
0.73913
0.76087
0.782609
0.804348
0.826087
0.847826
0.869565
0.891304
0.913043
0.934783
0.956522
0.978261
0
0.0169492
0.0338983
0.0508475
0.0677966
0.0847458
0.101695
0.118644
0.135593
0.152542
0.169492
0.186441
0.20339
0.220339
0.237288
0.254237
0.271186
0.288136
0.305085
0.322034
0.338983
0.355932
0.372881
0.389831
0.40678
0.423729
0.440678
0.457627
0.474576
0.491525
0.508475
0.525424
0.542373
0.559322
0.576271
0.59322
0.610169
0.627119
0.644068
0.661017
0.677966
0.694915
0.711864
0.728814
0.745763
0.762712
0.779661
0.79661
0.813559
0.830508
0.847458
0.864407
0.881356
0.898305
0.915254
0.932203
0.949153
0.966102
0.983051
0
0.0217391
0.0434783
0.0652174
0.0869565
0.108696
0.130435
0.152174
0.173913
0.195652
0.217391
0.23913
0.26087
0.282609
0.304348
0.326087
0.347826
0.369565
0.391304
0.413043
0.434783
0.456522
0.478261
0.5
0.521739
0.543478
0.565217
0.586957
0.608696
0.630435
0.652174
0.673913
0.695652
0.717391
0.73913
0.76087
0.782609
0.804348
0.826087
0.847826
0.869565
0.891304
0.913043
0.934783
0.956522
0.978261
0
0.0217391
0.0434783
0.0652174
0.0869565
0.108696
0.130435
0.152174
0.173913
0.195652
0.217391
0.23913
_______________________________________________
Rtk-users mailing list
Rtk-users@public.kitware.com
https://public.kitware.com/mailman/listinfo/rtk-users

Reply via email to