Compositing Settings

Modified on Tue, 24 Sep at 9:21 AM

The Compositing Settings can be found on the ‘Compositing’ dropdown on the Settings Panel and are used to join an inpainted or outpainted section of image with the original image. This ensures that newly generated parts of the image integrate seamlessly with previously existing parts of the image.


Coherence Pass

The Coherence Pass settings determine how the denoising process will be performed on the edges of the seams between the new generation and the old generation.


Method

What type of blur will be applied to select the area to include in compositing.

  • Gaussian Blur will perform a Gaussian blur to determine the edged area to perform gradient denoising over.
  • Box Blur will perform a Box blur to determine the edged area to perform gradient denoising over.
  • Staged will progressively increase the denoising area in a systematic way -- It is recommended to ensure that a minimum denoising value is set for this method.

Edge Size

  • The size of the Edge to perform Gradient Denoising over

Min Denoise

  • The minimum amount of Denoising to perform at any point on the masked area - This can avoid areas where insufficient denoising is performed - Increase this if you see any artifacts on the edges of your generation. When in doubt, set this to .1-.2 if you're finding artifacts in your inpainting.

Mask Blur

  • The blur to apply on the mask before performing denoising and in compositing the original/new image.


Infill

Infill Method

Method to infill the selected area. Different methods function differently and will produce different result.

  • tile uses tiling to infill
  • patchmatch uses the PatchMatch algorithm
  • lama uses the LaMa method of infilling
  • cv2 uses OpenCV to infill
  • color uses the selected color to fill in any transparent areas.

Below, you can see how the infill method creates new content in the transparent area (top row), and how that impacts the resulting generation. We typically recommend Patchmatch as a solid, multi-purpose infill method.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article