Skip to content

FastSurfer output: NaNs for holes_lh/holes_rh and cc_size in FSQC #90

@julii-a

Description

@julii-a

Question/Support Request

Although fsqc finishes successfully without any error messages, I am still getting NaN values for the following variables: holes_lh, holes_rh, cc_size

My data are cross-sectional, and the recon-all.done file is present in each subject directory.

Following the guidance from this issue thread (#82), I checked the corresponding FastSurfer log output, and I can see the Euler number results for both hemispheres:

mris_euler_number ../surf/lh.orig.premesh 

euler # = v-e+f = 2g-2: 95232 - 285690 + 190460 = 2 --> 0 holes
      F =2V-4:          190460 = 190464-4 (0)
      2E=3F:            571380 = 571380 (0)

total defect index = 0
Sun Jan 18 10:30:45 UTC 2026


mris_euler_number ../surf/rh.orig.premesh 

euler # = v-e+f = 2g-2: 96823 - 290463 + 193642 = 2 --> 0 holes
      F =2V-4:          193642 = 193646-4 (0)
      2E=3F:            580926 = 580926 (0)

total defect index = 0
Sun Jan 18 10:31:10 UTC 2026

From my understanding, the --> 0 holes part indicates that the number of holes is zero for both hemispheres.
However, holes_lh and holes_rh are still reported as NaN in the fsqc output.

Could you please clarify:

  1. Does the --> 0 holes output above indeed mean that the surface has 0 holes (and thus holes_lh/rh should be 0 rather than NaN)?

  2. I am also getting cc_size = NaN. Is there a way to verify / extract the cc_size manually from FastSurfer(and also FreeSurfer) outputs (e.g., aseg.stats) in a way that matches how fsqc defines cc_size?

  3. Is there a recommended way to obtain holes_lh/holes_rh, cc_size values correctly when using FastSurfer outputs?

Environment

  • qatools-python Version: fsqc version 2.1.4
  • OS: Windows 10 / Ubuntu 22.04
  • FastSurfer Version: 2.4.2
  • FreeSurfer: 7.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions