segmentation.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "setVariables":["__tempBase__","__segBase__","__roiFile__","__petFile__","__ctFile__","__segFile__","__modelName__","__suffix__"],
  3. "setVariablesComment":"this variables will get updated with local values like home and can be used to set variables further on",
  4. "__tempBase__":"__home__/temp/segmentation",
  5. "__segBase__":"/home/andrej/software/src/irAEMM/segmentation",
  6. "__roiFile__":"testMask",
  7. "__ctFile__":"testCT",
  8. "__petFile__":"testPET",
  9. "__segFile__":"segmentation",
  10. "__modelName__":"DM_defaults.DM_train_VISCERAL16_Fold1.final.2019-10-01.07.46.19.932616.model.ckpt",
  11. "__suffix__":"nii.gz",
  12. "tempBase":"__tempBase__",
  13. "model":"__model__",
  14. "project":"iPNUMMretro/Study",
  15. "targetSchema":"study",
  16. "targetQuery":"Imaging1",
  17. "participantField":"PatientId",
  18. "imageDir":"preprocessedImages",
  19. "segmentationSchema":"study",
  20. "segmentationQuery":"Segmentations",
  21. "version":"v3",
  22. "images":{
  23. "comment":"weight is coded as a sequence of intervals and [k,n] of linear function inbetween",
  24. "images":{
  25. "CT":{
  26. "queryField":"ctResampled",
  27. "tempFile":"__tempBase__/__ctFile__.__suffix__",
  28. "fileList":"__tempBase__/testChannels_CT.cfg"
  29. },
  30. "patientmask":{
  31. "queryField":"ROImask",
  32. "tempFile":"__tempBase__/__roiFile__.__suffix__",
  33. "fileList":"__tempBase__/testRoiMasks.cfg"
  34. },
  35. "segmentations":{
  36. "tempFile":"__segFile__.__suffix__",
  37. "fileList":"__tempBase__/testNamesOfPredictions.cfg"
  38. }
  39. }
  40. },
  41. "replacePattern":{
  42. "__workDir__":"__tempBase__",
  43. "__roi__":"__tempBase__/__roiFile__.__suffix__",
  44. "__pet__":"__tempBase__/__petFile__.__suffix__",
  45. "__ct__":"__tempBase__/__ctFile__.__suffix__",
  46. "__seg__":"__segFile__.__suffix__",
  47. "__model__":"__modelName__",
  48. "__segmentBase__":"__segBase__",
  49. "__sfx__":"__suffix__"
  50. },
  51. "deepmedic": {
  52. "config":{
  53. "model":{
  54. "template":"__segBase__/model/modelConfig.cfg.template",
  55. "out":"__tempBase__/modelConfig.cfg"
  56. },
  57. "test":{
  58. "template":"__segBase__/test/testConfig.cfg.template",
  59. "out":"__tempBase__/testConfig.cfg"
  60. }
  61. }
  62. }
  63. }