segmentation.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "setVariables":["__tempBase__","__segBase__","__roiFile__","__petFile__","__ctFile__","__segFile__","__modelName__"],
  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/segmentationdm",
  5. "__segBase__":"/home/studen/software/src/irAEMM/segmentation",
  6. "__roiFile__":"testMask.nii.gz",
  7. "__ctFile__":"testCT.nii.gz",
  8. "__petFile__":"testPET.nii.gz",
  9. "__segFile__":"segmentation.nii.gz",
  10. "__modelName__":"DM_defaults.DM_train_VISCERAL16_Fold1.final.2019-10-01.07.46.19.932616.model.ckpt",
  11. "tempBase":"__tempBase__",
  12. "model":"__model__",
  13. "project":"IPNUMMprospektiva/Study",
  14. "targetSchema":"study",
  15. "targetQuery":"Imaging1",
  16. "participantField":"ParticipantId",
  17. "imageDir":"preprocessedImages",
  18. "images":{
  19. "CT":{
  20. "queryField":"ctResampled",
  21. "tempFile":"__ctFile__"},
  22. "PET":{
  23. "queryField":"petResampled",
  24. "tempFile":"__petFile__"},
  25. "patientmask":{
  26. "queryField":"ROImask",
  27. "tempFile":"__roiFile__"
  28. },
  29. "segmentation":{
  30. "tempFile":"__segFile__",
  31. "comment":"no queryField not to download segmentation"
  32. }
  33. },
  34. "replacePattern":{
  35. "__workDir__":"__tempBase__",
  36. "__roi__":"__tempBase__/__roiFile__",
  37. "__pet__":"__tempBase__/__petFile__",
  38. "__ct__":"__tempBase__/__ctFile__",
  39. "__seg__":"__tempBase__/__segFile__",
  40. "__model__":"__modelName__"
  41. },
  42. "deepmedic": {
  43. "dockerWorkDir": "/home/studen/temp/segmentationdm",
  44. "dockerYAML":"/home/studen/scripts/docker/segmentationdm.yaml",
  45. "config":{
  46. "model":{
  47. "template":"__segBase__/model/modelConfig.cfg.template",
  48. "out":"__tempBase__/modelConfig.cfg"
  49. },
  50. "test":{
  51. "template":"__segBase__/test/testConfig.cfg.template",
  52. "out":"__tempBase__/testConfig.cfg"
  53. },
  54. "predictions":{
  55. "template":"__segBase__/test/testNamesOfPredictions.cfg.template",
  56. "out":"__tempBase__/testNamesOfPredictions.cfg"
  57. },
  58. "CT":{
  59. "template":"__segBase__/test/testChannels_CT.cfg.template",
  60. "out":"__tempBase__/testChannels_CT.cfg"
  61. },
  62. "ROI":{
  63. "template":"__segBase__/test/testRoiMasks.cfg.template",
  64. "out":"__tempBase__/testRoiMasks.cfg"
  65. }
  66. }
  67. }
  68. }