Support for heterogeneous background
SIMPA allows including homogeneous background during volume creation. This is generally not the case in real scenarios. A more complete approach would involve the possibility to define heterogeneous background.
The main issue for heterogeneous structures is that these have to be reproducible over multiple wavelengths. We might get away by defining a random "distortion map" that modifies e.g. the volume fraction of the structure in a certain location by a certain fraction, thereby introducing heterogeneity? A combination of different noise models could be used to mimick the characteristic distributions of target tissue types.
As for the reproducibility over wavelength - if we include this step during the volume creation process, it should be reproducible when setting a fixed seed during volume creation.
I think that including it during volume creation would be the way to go. I believe there is already a seed parameter in the Tags right? Then that seed could be used during volume creation.
We're already fixing the seed during simulation:
https://github.com/IMSY-DKFZ/simpa/blob/979b532266ba475ae389e2c16c4fcd8686d5422a/simpa/core/simulation.py#L69-L72
As such there should be no need to re-do this and we "just" need to find an elegant way of enabling heterogeneity of the SIMA structures :)
#154 is a duplicate of this, I just realised. Have you made any progress @leoyala?
No, I did not work on it. I put it more as a feature request, and I believe that @kdreher and @TomTomRixRix are working on something like this, am I right?