Closed petteriTeikari closed 4 years ago
And as the written segmentation outputs are in the resetted space
instead of "truly" native in which my other segmentation masks are, is there some options missing, or am I missing something?
https://github.com/WCHN/CTseg/blob/c6cd2dab61d6c37b45adde90a7050d0a6da61c10/spm_segment_ct.m#L14
% Write - What results to write to DirOut:
% Write.image = [native image, warped image] [1 0]
% Write.native = [native seg, dartel seg] [1 0]
% Write.warped = [] [warped seg, warped modulated seg] [0 0]
So which mat
is actually propagated there with the default options, the origin reset is applied I assumed, and is there an easy way to turn that off?
Hello @petteriTeikari ,
The recent major update+refactoring of the code should have solved this issue.
I am sorry that resolving it took so long. The code was in a very experimental phase when I first uploaded it to GitHub (as you know) and has required significant modifications to work in a general way (improvements to the underlying mathematical models, re-training of the atlas, etc.). However, now it should work well as I have tested it on a large cohort of routine clinical CT images.
Best wishes,
Mikael
Is it intentional that in the preprocessing, the
realign2mni()
is not actually applying the MNI alignment to the input data?Both transformation matrices (origin reset and MNI alignment) are computed, but only the reset origin one is applied to the CT volume?
And similarly it seems that in the output folder, only the reset origin is saved to the header?