Medical-Image-Analysis-Laboratory / mialsuperresolutiontoolkit

The Medical Image Analysis Laboratory Super-Resolution ToolKit (MIALSRTK) consists of a set of C++ and Python processing and workflow tools necessary to perform motion-robust super-resolution fetal MRI reconstruction in the BIDS Apps framework.
BSD 3-Clause "New" or "Revised" License
26 stars 12 forks source link

Implement functionality to specify interfaces to be connected in the workflow in the parameter file #27

Closed sebastientourbier closed 3 years ago

sebastientourbier commented 3 years ago

The idea would be to be able the specify which interface is enabled in the parameter file such that the workflow is build accordingly. This will allow to be more flexible and skip processing steps.

pdedumast commented 3 years ago

What do you mean by "specify which interface is enabled in the parameter file"? Isn't the workflow built accordingly, for instance when we chose to use manual/automatic masks?

hamzake commented 3 years ago

Also which parameter file exactly?

sebastientourbier commented 3 years ago

@pdedumast @hamzake The current workflow consists of number of interfaces that one might want to skip especially in the preprocessing phase.

For instance Hélène might want to skip histogram normalization for quantitative imaging (not sure thought which steps were exactly skipped by her, please @HeleneMIAL could you clarify this point?) or in the case of simulated data free of motion to skip the slice-to-volume registration step in mialsrtkImageReconstruction.

Or any other interface that you might think it's good to have such a control.

The parameter file in question is the following: https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/blob/88f726d64c71aaedc17da401af3e97de7f51ac6f/data/code/participants_params.json#L1-L9

We could think of being able to process such a file:

{ 
   "01": [ 
     { "sr-id":1, 
       "stacksOrder": [1, 3, 5], 
       "paramTV": {  
         "lambdaTV": 0.75,  
         "deltatTV": 0.01 } ,
       "steps": {  
         "HistogramNormalization": False,  
         "S2VRegistration": False} 
     }] 
 } 

Any step that would not be listed in the parameter file are considered to be True and performed in the workflow.

pdedumast commented 3 years ago

@sebastientourbier Ok, I understand the point now, thanks for clarifying!

helenelajous commented 3 years ago

This would be great indeed!!

As @sebastientourbier suggested:


De : Priscille de Dumast notifications@github.com Envoyé : mardi 10 novembre 2020 15:46:29 À : Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit Cc : Hélène Lajous; Mention Objet : Re: [Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit] Implement functionality to specify interfaces to be connected in the workflow in the parameter file (#27)

@sebastientourbierhttps://github.com/sebastientourbier Ok, I understand the point now, thanks for clarifying!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/issues/27#issuecomment-724747892, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOB62IF2M336LP2FXVZAB6LSPFG4LANCNFSM4TLMMYWA.

sebastientourbier commented 3 years ago

@hamzake This would requires to: