simpa icon indicating copy to clipboard operation
simpa copied to clipboard

Support for heterogeneous background

Open leoyala opened this issue 3 years ago • 5 comments

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.

leoyala avatar Mar 01 '22 15:03 leoyala

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.

jgroehl avatar Apr 27 '22 14:04 jgroehl

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.

leoyala avatar Apr 27 '22 15:04 leoyala

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 :)

jgroehl avatar Apr 27 '22 15:04 jgroehl

#154 is a duplicate of this, I just realised. Have you made any progress @leoyala?

jgroehl avatar Jun 23 '22 08:06 jgroehl

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?

leoyala avatar Jun 23 '22 12:06 leoyala