Skip to content

Commit

Permalink
mri_segstats.cpp. #NF. Now uses embedded ctab unless one is passed on…
Browse files Browse the repository at this point in the history
… the cmd line
  • Loading branch information
Douglas Greve committed Jun 24, 2021
1 parent 32a2591 commit 0a7c4cf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mri_segstats/mri_segstats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0a7c4cf

Please sign in to comment.