Closed petteriTeikari closed 4 years ago
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
This error occurred when getting to the GMM estimation part
With default values, the
K = 6
, andlkp
has 14 elements, and the max (8) is not equal to 8:This seems to correspond to this setting: https://github.com/WCHN/CTseg/blob/c6cd2dab61d6c37b45adde90a7050d0a6da61c10/spm_segment_ct.m#L354
But then the default
K
is 6, which of them should be changed? I changed this to 8 and made it work: https://github.com/WCHN/CTseg/blob/c6cd2dab61d6c37b45adde90a7050d0a6da61c10/toolboxes/segmentation-model/code/default_opt.m#L343