Inpaint at full resolution padding, pixels #4637
-
What does this setting do? I can't figure it out. Can you explain it, please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
From my understanding: When the function(inpaint at full resolution) is selected, the following happens: -The smallest rectangular area that includes all pixels of the mask is determined. So if you draw a Mask over an Area of 50x64 in an 512x512 Image.... It will be exactly this area after the first step. (50x64) So the 114x128 region around your 50x64 selection will be scaled up to 456x512, processed by the ai, scaled back und put back into the image. The padding is useful to give the AI information about the outside when it should change the inside. |
Beta Was this translation helpful? Give feedback.
From my understanding:
When the function(inpaint at full resolution) is selected, the following happens:
-The smallest rectangular area that includes all pixels of the mask is determined.
-This rectangular area is expanded in each direction by "+padding" pixels.
-At the end it is looked how high it can be scaled to accommodate this rectangle in the values set under "width/height".
So if you draw a Mask over an Area of 50x64 in an 512x512 Image....
It will be exactly this area after the first step. (50x64)
Then the padding will be added and the region becomes 114x128. (assuming 32pixel padding)
114x128 can fit into the given 512x512 size exactly 4 times.
So the 114x128 region around your 5…