Skip to content

Multi-session datasets with multiple lesion masks #58

Open
@effigies

Description

@effigies

Our current workflow seems to assume that when there's a lesion mask, there's only one T1w image and only one mask. In Neurostars #3776, where there are multiple sessions with anatomicals and masks, this results in an illegal list of lesion masks being passed to t1_2_mni.

mri_robust_register (used under the hood of mri_robust_template) was actually designed for the case of tumors [1], where the changing size would wreak havoc with cost functions. (The solution was to identify outlier voxels and exclude them from the cost function.)

So as long as the template looks reasonable, then the appropriate thing to do is to apply the transforms from each of the input T1w images to their corresponding lesion masks, and take the union of the masks.

Do we currently produce a figure for the report showing the lesion mask overlay? If we're going to do any manipulation of the masks, I think this will be an important addition.

@danlurie Your thoughts on this would be very appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort:mediumEstimated medium effort taskimpact:lowEstimated low impact task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions