Hi, I would like to generate a 3D visualization of GLM computed for HbO/HbR at brain vertices.
As far as I understand, in order to obtain brain vertex-level data, I can use this example with Image recosntruction.
Provided I compute the matrix, allowing me to produce concentration at vertices from optical density at channels, the steps would be (I drop preprocessing intentionally here, to simplify the picture - normally I do it):
Raw data -> optical density -> concentration at vertices -> GLM coefficients at vertices
As dimensionality of the data at vertices is very high(15k vertices with is_brain=True), computing GLM would have high computational cost.
How do you think, would it be correct to process the data in the following way:
Raw data -> optical density -> GLM coefficients of optical density -> GLM coefficients at vertices?
Thanks in advance
Regards
Michał
We are going to release a parcellation scheme that reduces from # of vertices to # of parcels (in our case 600). This will make it easier to run the GLM in image space, but the release will be only later this year. Until then you would have to define your own ROIs across vertices to reduce dimensionality. Alternatively, what often has been done in Homer/AtlasViewer, for instance, is that you do the GLM in lower dimensional channel space and the image recon on the estimated HRF (plus residual).
@mtok fyi, the new Cedalion release v2026.05 is out since yesterday and now has full support of GLM at vertex and parcel level in image space




