Why is the default value of monai sliding window inference sigma_scale is 0.125? #5923
rishabhsharma22
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @rishabhsharma22, thanks for your interest here. IMO when blending overlapping windows, gaussian mode actually means to assign smaller weights to the edges. The edges' lesser weight is also a result of the possibility that the segmentation of the edges during sliding window inference is not very precise. The sigma scale is actually the standard variance coefficient of guassian in this case. The weight assigned to the edges will increase as this value rises. Additionally, because sigma only impacts the window's edges, the value of sigma does not directly correlate with the size of the window. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been playing around with monai to get an idea and feel of how the tool works. I learned that the sigma_scale argument for the sliding window inference is very important when we use the gaussian mode of blending the windows. However, I would like to know if there was a scientific reason behind setting the default value to 0.125 for the sigma scale and what will be the difference of using this sigma_Scale for a window size of 64 vs a window size of 128 not visually on the images but the theoretical reasoning behind the default sigma_scale argument value.
Beta Was this translation helpful? Give feedback.
All reactions