2JONAS / In2SET

5 stars 1 forks source link

The relationship between mask.mat and mask_3d_shift.mat #1

Open Saitamaonefist opened 3 months ago

Saitamaonefist commented 3 months ago

Your work is commendable, demonstrating . The attention to detail and the clarity of your findings are truly impressive. I was particularly intrigued by the utilization of "mask.mat" and "mask_3d_shift.mat" in your research. Could you please elaborate on the relationship between these two files? Understanding their interplay could potentially shed further light on the mechanisms underlying your results.

2JONAS commented 3 months ago

These two files describe the parameters for the forward model of the CASSI (Coded Aperture Snapshot Spectral Imaging) branch. Specifically, the relationship between these files can be explained as follows:

The mask_3d_shift file represents a 3D version of the mask file, where each channel is obtained by shifting the mask accordingly. In the formula:

mask_3d_shift(i,j,c)=mask(i,j−c)

This means that each channel of mask_3d_shift is derived by shifting the mask file by c columns to the right.

I hope this explanation clarifies the relationship between the two files.