Replies: 6 comments 5 replies
-
anyone?? |
Beta Was this translation helpful? Give feedback.
-
try "4-8" https://rentry.org/drfar |
Beta Was this translation helpful? Give feedback.
-
I still dont understand, what it does exactly :( |
Beta Was this translation helpful? Give feedback.
-
It's still a good question. Anyone? |
Beta Was this translation helpful? Give feedback.
-
When stable diffusion is working on inpainting a region, there's some shared areas around the edge of the mask which it can't change as strongly in each loop, to force a smoother blend with the original image, and force the regions inside to match up more smoothly with the parts at the edges which aren't changing as much. Whether the mask blur works inwards or outwards I'm unsure of (e.g. if you have a masked area 8 pixels wide, and have a mask blur of 4, then you might get no changes because the blur works in 4 pixels from every side). |
Beta Was this translation helpful? Give feedback.
-
To answer, this is the relevant code snippet where it gets applied: if self.mask_blur > 0:
self.image_mask = self.image_mask.filter(ImageFilter.GaussianBlur(self.mask_blur)) It basically just applies a gaussian blur on the section of the image that has the mask. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Could someone explain exactly how to use the "mask blur" option and give hints about when to use what values ? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions