rullino
    Preparing search index...

    Variable inpaintConst

    inpaint: MultipassFilter<
        {
            iterations: {
                default: 30;
                description: "Smoothing rounds applied to the fill. More is smoother but slower.";
                label: "Smoothing iterations";
                max: 400;
                min: 0;
                type: "int";
            };
            sigma: {
                default: 12;
                description: "How far into the surroundings the fill reaches, in pixels. Use at least half the width of the area you remove.";
                label: "Reach (px)";
                max: 100;
                min: 1;
                step: 0.5;
                type: "float";
                unit: "px";
            };
        },
    > = ...

    Removes small objects: rebuilds the masked area from its surroundings. A first estimate comes from normalised convolution (Gaussian of the known pixels / Gaussian of their weights), then iterations diffusion steps smooth it towards a harmonic fill. Good for blemishes, wires and small objects on smooth backgrounds; textures are not reproduced (that needs patch-based inpainting). Holes wider than about 3σ get no estimate in their middle.