Skip to content

Simplify saving ROI as .nii in createRoi #43

@JeanneCaronGuyon

Description

@JeanneCaronGuyon

Is there an existing issue for this?

  • I have searched the existing issues

New feature

createROI : From line 301, to save ROI
use the more simple function "save_as_image" from mars bar

saveroi(roiObject, ...
          fullfile(outputDir,  [roiName '.mat'])); % in .mat format
save_as_image(roiObject, ...
          fullfile(outputDir, [roiName '.nii'])); % in .nii format

Unclear documentation

No response

Activity

changed the title [-]Simplify saving ROI as .nii in createROI[/-] [+]Simplify saving ROI as .nii in createRoi[/+] on Jun 2, 2022
added a commit that references this issue on Jun 3, 2022
68a541e
linked a pull request that will close this issue[REF] refactor the way the ROIs are saved #44on Jun 3, 2022
Remi-Gau

Remi-Gau commented on Jun 3, 2022

@Remi-Gau
Contributor

Suggestion added in #44

Thanks @JeanneCaronGuyon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Remi-Gau@JeanneCaronGuyon

      Issue actions

        Simplify saving ROI as .nii in createRoi · Issue #43 · cpp-lln-lab/CPP_ROI