caiyuanhao1998 / MST

A toolbox for spectral compressive imaging reconstruction including MST (CVPR 2022), CST (ECCV 2022), DAUHST (NeurIPS 2022), BiSCI (NeurIPS 2023), HDNet (CVPR 2022), MST++ (CVPRW 2022), etc.
MIT License
571 stars 71 forks source link

mask 3d shift s #46

Closed dongruoyu1 closed 7 months ago

dongruoyu1 commented 7 months ago

在阅读代码的时候,看到了mask_3d_shift_s,我清楚mask是初始二维掩码660×660,mask_3d是mask经过28次复制后得到的660×660×28,而mask_3d_shift是经过平移后得到的660×714×28,那么mask_3d_shift_s是将mask_3d_shift每一个像素平方后,在图片维度相加,得到的尺寸为660×714,我不太理解mask_3d_shift_s为什么要通过平方操作获得,以及mask_3d_shift_s的意义是什么?希望能得到您的解答!非常感谢。 27909e90906266c95f7c96dac7f3089

caiyuanhao1998 commented 7 months ago

这个是TSA-Net搜集数据时保留的操作,我们follow了他们