diff --git a/mri_segstats/mri_segstats.cpp b/mri_segstats/mri_segstats.cpp index 2c17fc7c94b..cbc00ed2f97 100644 --- a/mri_segstats/mri_segstats.cpp +++ b/mri_segstats/mri_segstats.cpp @@ -492,6 +492,15 @@ int main(int argc, char **argv) exit(1); } } + else { + if(seg->ct){ + ctab = seg->ct; + printf("Using embedded color table (and excluding seg 0)\n"); + ExclSegIdList[nExcl] = 0; + nExcl ++; + DoExclSegId = 1; + } + } if (gcafile != NULL) {