JCruan519 / VM-UNet

(ARXIV24) This is the official code repository for "VM-UNet: Vision Mamba UNet for Medical Image Segmentation".
Apache License 2.0
393 stars 12 forks source link

detail compute method about dataset's mean and std #38

Open wakakkakak opened 3 months ago

wakakkakak commented 3 months ago

Hello,I met some problems about ‘class myNormalize’. I want to work with my own dataset.

The mean and std calculation methods of the input image dataset are not given in code, and the corresponding values are directly given.I calculate the mean and value values in the following way. mean_std The results are as follows: mean_result

The mean value obtained is consistent with or extremely similar to that given in the code, but the std value is very different, I would like to ask what is the problem, and could you please tell me your specific calculation method of mean and std?

Looking forward to hearing from you!