PrepareImageAndMaskForInpaint
Prepares images and masks for inpainting operations. It's to mimic the behavior of the inpainting in A1111. Inputs: - image: Input image tensor - mask: Input mask tensor - maskblur: Blur amount for mask (0-64) - inpaintmasked: Whether to inpaint only the masked regions, otherwise it will inpaint the whole image. - maskpadding: Padding around mask (0-256) - width: Manually set inpaint area width. Leave 0 default to the masked area plus padding. (0-2048) - height: Manually set inpaint area height. (0-2048) Outputs: - inpaintimage: Processed image for inpainting - inpaintmask: Processed mask - overlayimage: Preview overlay - cropregion: Crop coordinates (input of OverlayInpaintedImage)
ArtVenture/Inpainting · 3 Eingaben · 5 Parameter · 5 Ausgaben