StanfordMIMI / DDM2

[ICLR2023] Official repository of DDM2: Self-Supervised Diffusion MRI Denoising with Generative Diffusion Models
125 stars 20 forks source link

Question about data['condition'] #26

Open vfcerexwn opened 3 months ago

vfcerexwn commented 3 months ago

I encounter some trouble when trying to read your code. I plan to change the dataset to my version, but I do not understand what does 'condition' mean? Could you please explain it to me? ret = dict(X=raw_input[[-1], :, :], condition=raw_input[:-1, :, :])

vfcerexwn commented 3 months ago

Does it mean the same image with different noise?

tiangexiang commented 3 months ago

Intrinsically yes. condition implies the same underlying structure as X but with different observation noise. condition and X are the same indexed slices from different MRI acquisitions, which contain different noise. However, only condition is used as inputs to the model and X here is used as reference that the model is optimized towards.