https://123dok.net/document/yd78o0gy-fully-bayesian-joint-model-for-mr-brain-scan-tissue-and-structure-segmentation.html