FUSION · FULL ARTICLE
CleanEdges
CleanEdges treats a narrow perimeter strip with Duplicate or Solid border filling. It is not an inpainting tool or an internal object-matte cleaner.
Overview
CleanEdges belongs to the Krokodove tools integrated into DaVinci Resolve 21 and Fusion 21. Blackmagic lists it among Image Pixel Tools: it removes or replaces image FRAME-edge pixels by duplicating nearby values or using a solid-color style. Do not confuse it with CleanPlate, DeltaKeyer or hair-edge cleanup inside a keyed subject.
A common use is a thin, exposed strip at the frame perimeter after a move, slight reframing, tracking or stabilization. CleanEdges can hide narrow border flaws by treating the surrounding pixels; it does not invent missing architecture, people or perspective-correct textures.
The archived Controls screenshot shows exactly three effect-specific sections: Lock, Pixels and Type. Lock is a dropdown, Pixels a numeric control and Type a Solid/Duplicate choice. Animation diamonds appear beside the controls. Settings is a separate shared tab, not a hidden set of extra CleanEdges-specific sliders.
The Lock dropdown visibly offers All Sides, Vert./Horiz. and None. These are grouping choices for border controls, not switches that enable or disable the whole node. Change one at a time and verify any revealed sub-controls in your particular Resolve build.
Start with All Sides for a defect around the full perimeter. Compare Vert./Horiz. and None to inspect how the installed version exposes grouped and separate edge controls; the saved screenshot shows only All Sides.
Pixels specifies the size of the treated border in pixels. The screenshot shows 10, which is merely the captured Inspector state, not a universal recommendation. The greater the repaired strip, the easier it becomes to see stretched detail or repetitive artifacts.
Type = Duplicate repeats or extends neighboring image values across the frame border. That can look reasonable for a thin sky or flat wall but may create visible streaks, repeated text, hard lines or temporal motion artifacts on detailed material.
Type = Solid produces a solid-style border fill. The official Krokodove overview calls it a solid color; there is no separate Color picker visible in the supplied Controls captures. The exact source of its color must be observed in the target Resolve version instead of fabricated.
CleanEdges is about the IMAGE boundary. Green spill around a person’s hair, light fringe around a cutout in the middle of the shot, or a hole in an alpha matte should be repaired with the keyer, Despill, Matte Control or appropriate masking tools—not by blindly raising Pixels.
When a transformation creates the defect, place CleanEdges after the actual Transform or stabilization step. Placing it before that operation will not protect against a new border being revealed downstream. Large gaps are better addressed by reframing, overscan or more sophisticated filling.
Compare Solid versus Duplicate at an identical Pixels value on the exact same frame. Inspect the corners, where the horizontal and vertical edges meet, and the most contrast-heavy subject matter near the boundary; the central Viewer region is not informative.
To localize the result, split the source into the tool’s main image input and Merge.Background; send the processed Output to Merge.Foreground and the mask to Merge.EffectMask. This exercise does not assume a Krokodove mask socket.
Check motion. A pattern that hides a gap in a still frame may stretch into a prominent repeating strip when the image changes. Animating Pixels can similarly make a border pulse from frame to frame.
Distinguish frame-edge pixels, alpha transparency and Domain of Definition. A black border can actually be an exposed transparent canvas or a crop issue. Inspect Alpha and upstream bypass before expecting CleanEdges to fix it.
This is an editorial learning article, not a certified measured Resolve render. Solid color derivation, Lock layout, mask socket behavior, alpha handling and corner fill all require native testing in the target build.
When to use it
- Conceal a narrow outside gap after Transform translation.
- Cover a small strip introduced by stabilization.
- Technically prepare a plate before finishing or compositing.
- Handle defects at the actual image perimeter rather than inside the image.
- Compare solid and duplicated edge methods on uniform and detailed plates.
- Check how repaired strips join at frame corners during playback.
- Identify whether a border issue is really alpha transparency.
- Use minimum Pixels before resorting to crop or scale.
Article screenshots
Inputs & outputs
CleanEdges · image → processed image
The primary input and output carry 2D RGBA images. Local compositing in the examples uses a separate standard Merge; its Effect Mask is not an input of the Krokodove tool.
Lock groups sides, Pixels controls border-strip width and Type switches Duplicate/Solid. These are Inspector controls, not extra inputs or content-aware reconstruction.
Inputs
- Input
Required 2D image
Receives: Image from MediaIn, Loader, Transform or Merge with a defect on the actual outer frame edge.
Inside the node: Supplies frame data for border processing, not a second donor source for reconstruction.
Typical sources: MediaIn · Transform · Loader · Merge
Internal object-matte fringing is not fixed merely by connecting this image.
Outputs and destination
Output
Single 2D RGBA image after Solid or Duplicate frame-strip treatment.
Next step: MediaOut · Merge → Foreground · Blur · Color Corrector
Output is not a dedicated matte and not a scene-aware repair.
- Output
- One processed 2D image after frame-border treatment, not an isolated matte or file export.
Processing order
- Identify the defective outside border and inspect Alpha in the Viewer.
- Connect MediaIn/Loader.Output to the main CleanEdges.Input.
- Place CleanEdges AFTER Transform if that upstream step exposed the gap.
- Begin at Lock = All Sides; test Vert./Horiz. and None in the real Inspector.
- Find the minimum Pixels and compare Type = Duplicate versus Solid.
- To localize the result, split the source into the tool’s main image input and Merge.Background; send the processed Output to Merge.Foreground and the mask to Merge.EffectMask. This exercise does not assume a Krokodove mask socket.
- Inspect corners, motion and RGB/Alpha; continue CleanEdges.Output to MediaOut or another image node.
Thin border after Transform
MediaIn.Output → Transform.Input → CleanEdges.Input → MediaOut.Input
CleanEdges handles the external strip exposed upstream. Lock/Pixels/Type are Inspector fields, not Flow sockets.
To localize the result, split the source into the tool’s main image input and Merge.Background; send the processed Output to Merge.Foreground and the mask to Merge.EffectMask. This exercise does not assume a Krokodove mask socket.
Parameters
CleanEdges · 13 control topics + 35 checks
Frame perimeter, Lock (3 choices), Pixels, Type (2 choices) and limits. Two genuine screenshots; no invented controls or claims of native rendering.
- Frame
- Outer frame, not an object matte
- Lock
- All Sides / Vert./Horiz. / None
- Pixels
- Minimum width of actual damage
- Type
- Duplicate ↔ Solid: one selector
- Verify
- Corners, motion, RGB/Alpha
Concept › Frame boundary · What is being repaired
This tool targets the outside frame strip, not an object silhouette.
- Krokodove 21
Context › IntegrationKrokodove is integrated into Resolve 21; Clean Edges is listed as an Image Pixel Tool, not an intelligent texture restorer.
Check / distinguish: Confirm tool availability in your edition/build.
- Image frame vs subject matte
Context › ScopeCleanEdges targets the rectangular image boundary, not an arbitrary object silhouette.
Check / distinguish: Use a centrally placed subject and test whether hair edges change when no frame-edge fault exists.
- No generative content
Context › LimitDuplicate extends adjacent values; it does not understand perspective, people, buildings or lettering.
Check / distinguish: Inspect a fence line touching the border before and after.
- Transparent border
Context › AlphaA dark frame edge may be transparent alpha rather than black RGB; filling color alone need not fix transparency.
Check / distinguish: Toggle between A and RGB in the Viewer.
- Internal damage is separate
Context › SilhouetteA halo around a keyed subject requires matte/key/despill work, not a wider frame-border strip.
Check / distinguish: If the defect is inside the frame, inspect ChromaKeyer/DeltaKeyer.
Controls › Lock · Linking image sides
All three menu entries are captured; conditional fields require native inspection.
- Lock
Controls › Lock > LockDropdown governing how frame sides are grouped. The capture confirms All Sides, Vert./Horiz., None. This is not a node enable/bypass switch.
Check / distinguish: Test all three and record any changed controls on a live Inspector.
- All Sides (Lock)
Controls › Lock > All Sides (Lock)Groups border controls for the whole perimeter. The current saved Controls shot uses this first menu entry; it does not guarantee symmetrical edge quality.
Check / distinguish: Inspect top, bottom, left, right and their corners separately.
- Vert./Horiz. (Lock)
Controls › Lock > Vert./Horiz. (Lock)Groups the vertical and horizontal orientations separately. This is the second Lock menu entry; the archived UI does not show which conditional numeric fields are revealed.
Check / distinguish: Select in Resolve and document actual per-axis controls before naming them.
- None (Lock)
Controls › Lock > None (Lock)Removes linking between grouped sides. The third Lock entry; it does not disable CleanEdges.
Check / distinguish: Inspect the actual revealed controls without assuming they match the legacy version.
- Locked baseline
Controls › Lock › All SidesStart with All Sides, then isolate one orientation; a single numeric value does not ensure even appearance.
Check / distinguish: Inspect all four sides.
- Orientation grouping
Controls › Lock › Vert./Horiz.May allow values per orientation, but individual revealed field labels are not evidenced.
Check / distinguish: Open the menu in Resolve and capture any conditional controls.
- Unlinked is not bypass
Controls › Lock › NoneNone describes unlinked controls, not a global effect OFF state.
Check / distinguish: Compare None to bypassing the node.
- Corner interactions
Controls › Lock › CornersTwo processed strips meet in corners, potentially leaving horizontal or vertical seams.
Check / distinguish: Check all corners on a grid and real footage.
- Lock menu evidence
Controls › Lock › SourceAll three Lock options are visible in the original archived dropdown screenshot.
Check / distinguish: Distinguish captured names from unverified conditional behavior.
Controls › Pixels · Strip width
10 is a captured screenshot value, not a recommended setting.
- Pixels
Controls › Pixels > PixelsWidth of the treated strip in source pixels. The screenshot value 10 is not a universal default or target. Large widths make duplicated detail obvious.
Check / distinguish: Compare the smallest working width against a deliberately excessive setting at Viewer 100%.
- Pixels not crop amount
Controls › Pixels › DefinitionPixels sets the processed strip width; it does not crop or zoom the frame.
Check / distinguish: Compare canvas size before and after.
- Screenshot value 10
Controls › Pixels › EvidenceThe PNG reads 10; this is a captured state, not a verified default or recipe.
Check / distinguish: Reset on a fresh node and record the real default independently.
- Minimum required strip
Controls › Pixels › PracticeUse the smallest strip hiding a thin gap; unnecessary pixels increase visible stretching.
Check / distinguish: A/B 1, 3 and 10 pixels as an experiment, not a preset.
- Large gap limits
Controls › Pixels › OverscanLarge gaps exposed by stabilization usually make repeated edge pixels conspicuous.
Check / distinguish: Review Auto Zoom/Scale/overscan rather than raising Pixels heavily.
- Resolution dependence
Controls › Pixels › UnitsThe same number of pixels occupies a different fraction of HD and UHD frame heights.
Check / distinguish: Compare HD/UHD output at the same final viewing size.
Controls › Type · Fill behavior
Solid and Duplicate are alternatives of one selector.
- Type
Controls › Type > TypeTwo-button border-fill selector, Solid or Duplicate. They are two options of the same selector, not independently active effects.
Check / distinguish: Keep Pixels fixed and change only Type; examine all sides and corners.
- Solid (Type)
Controls › Type > Solid (Type)Solid-style frame-edge fill. Blackmagic describes a solid-color method; the supplied screenshot shows no separate Color picker. Exact fill color needs host verification.
Check / distinguish: Use a contrasting input to inspect Solid fill color and alpha in the target build.
- Duplicate (Type)
Controls › Type > Duplicate (Type)Repeats adjacent image content into the border. Not content-aware inpainting; may stretch lines, letters and movement.
Check / distinguish: Scrub several dozen frames to find repeated textures and jitter near corners.
- Duplicate on flat areas
Controls › Type › DuplicateDuplication may hide a narrow gap on flat backgrounds such as sky.
Check / distinguish: Compare a flat sky with a cloud edge.
- Duplicate and typography
Controls › Type › DuplicateText and logos touching the frame can become stretched and unreadable.
Check / distinguish: Place a test label at the border, strictly for diagnosis.
- Solid color source unknown
Controls › Type › SolidThe official summary says solid color, but no dedicated color control appears in captures.
Check / distinguish: Use a high-contrast source in Resolve and inspect resulting pixels.
- No inpaint
Controls › Type › ExpectationsNeither Solid nor Duplicate performs motion or scene-geometry reconstruction.
Check / distinguish: Check 20–30 frames with a moving subject.
- A/B fixed exposure
Controls › Type › CompareTo isolate Type, keep other controls and the Viewer unchanged.
Check / distinguish: Capture same-frame A/B at identical Pixels.
Controls › Keyframes · Control animation
Diamonds are visible, but actual interpolation has not been tested.
- Keyframe diamonds
Controls › Keyframes > Keyframe diamondsShared animation indicators beside Controls. Visible next to Lock/Pixels/Type in the capture; actual interpolation/support per control is not confirmed.
Check / distinguish: If Pixels is animated, test neighboring frames for border pulsation.
- Keyframe diamonds ≠ proof
Controls › Animation › EvidenceAnimation diamonds are visible, but Type/Lock interpolation has not been measured.
Check / distinguish: Do not promise smooth selector interpolation without a live test.
- Pulsating border
Controls › Animation › PitfallA changing border width may flicker along the perimeter.
Check / distinguish: Check the timeline for accidental keyframes.
Inspector › Settings · Shared tab
The illustrated panel is collapsed; inspect the installed version for its available controls.
- Settings (shared tab)
Inspector › Settings > Settings (shared tab)General Fusion controls, not an extra Solid-color slider. Settings is visible but not open in the project images. Its exact contents are not evidenced here.
Check / distinguish: Inspect live Settings before making claims about clipping or blend controls.
- Settings is not documented here
Inspector › Settings › EvidenceThe Settings tab is visible but closed; exact contents are not shown.
Check / distinguish: Document only after opening Settings in the same Resolve build.
- DoD and clipping
Inspector › Settings › DomainDomain of Definition / Clipping settings exist in various Fusion tools, but their availability here is not proved.
Check / distinguish: Inspect live Settings first.
Flow › Input / Mask / Output · Typed port map
One image input and image output; optional mask port requires physical confirmation.
- Input (Flow)
Flow › Input / Mask / Output > Input (Flow)Main image connector. Requires a source with a genuine frame-perimeter defect; there is no second donor image input for reconstruction.
Check / distinguish: Inspect Alpha and determine whether the fault is the external border or an internal silhouette.
- Local compositing (external Merge)
Flow › Input / Mask / Output > Local compositing (external Merge)To localize the result, split the source into the tool’s main image input and Merge.Background; send the processed Output to Merge.Foreground and the mask to Merge.EffectMask. This exercise does not assume a Krokodove mask socket. This is a workflow using a separate Merge, not a CleanEdges control or a verified socket.
Check / distinguish: If present, connect Rectangle.Mask and compare edge coverage in a controlled test.
- Output (Flow)
Flow › Input / Mask / Output > Output (Flow)Single processed image output. Does not export a file or a dedicated matte; it can continue to MediaOut, Merge or another image node.
Check / distinguish: Connect to MediaOut and compare at 100% with a bypass frame.
- Image type
Flow › Input › ImageThe primary path is a 2D RGBA image, not a 3D scene, deep stream or material.
Check / distinguish: Wire MediaIn.Output → CleanEdges.Input.
- Local compositing through Merge
Workflow > Merge.EffectMaskFor a local result, use a separate Merge: source to Background, processed branch to Foreground and Rectangle/Ellipse to Merge.EffectMask.
Check / distinguish: Check the mask on Merge and compare output RGB/alpha against the source outside coverage.
- No donor source
Flow › Inputs › LimitsThe documented teaching contract has no separate donor or clean-plate input.
Check / distinguish: Use a different method for true content reconstruction.
- Output remains image
Flow › Output › StreamOutput remains a processed image, not a dedicated matte produced by changing Type.
Check / distinguish: Connect it to MediaOut and inspect RGB/A.
- Port location pending
Flow › Position › Native QAPhysical socket colors/geometry for Krokodove CleanEdges have not been captured; the map is semantic.
Check / distinguish: Compare the diagram with a live Flow capture.
Quality › Native verification · Corners, motion and alpha
The authored lessons do not certify native Resolve pixels.
- Bypass comparison
QC › Before/AfterBypass this exact node for a meaningful before/after comparison.
Check / distinguish: A/B without changing Viewer or Scale.
- Motion sample
QC › PlaybackA still-frame repair may look much worse in motion.
Check / distinguish: Review several dozen consecutive frames.
- Alpha check
QC › AlphaConfirm whether each mode affects alpha or only RGB; this has not been measured.
Check / distinguish: Compare the A channel immediately before and after CleanEdges.
- Check local coverage
Workflow > Merge.EffectMaskFor a local result, use a separate Merge: source to Background, processed branch to Foreground and Rectangle/Ellipse to Merge.EffectMask.
Check / distinguish: Check the mask on Merge and compare output RGB/alpha against the source outside coverage.
- No native render claim
QC › EvidenceStatic TS checks and a typed Flow diagram are not evidence of a pixel render in Resolve.
Check / distinguish: Store a native test/capture with the app version separately.
- Compare final composite
QC › DownstreamMerge, Blur or later reframing can amplify a small seam.
Check / distinguish: Inspect the downstream final composite.
Before adjusting the node
- Is the problem at the frame perimeter or an interior subject edge?
- What exposed the gap, and is CleanEdges placed AFTER it?
- Which Lock/Pixels/Type choices are captured, and what remains unverified?
- Do corners or consecutive frames reveal repetition or seams?
- Is the mask connected to a separate Merge? Check alpha and Solid output independently.
Reference documentation
- Blackmagic Design · Fusion Visual Effects
Official Blackmagic learning material for Fusion logic, masks, compositing and core tools.
- Blackmagic Design · DaVinci Resolve support
Current Resolve/Fusion manuals and support material. Exact control names and placement can vary by version.
Examples
Thin exposed strip after Transform — frame repair only
Place CleanEdges after the transform that exposed the gap and identify the smallest useful border width.
Starting conditions
DaVinci Resolve / Fusion Target 21 / 21.1; Krokodove; native UI/port/output still requires testing · Krokodove CleanEdges integrated in Fusion 21 · Cross-platform editorial teaching graph
1920 × 1080 · 24 fps · 96 frames · 2D RGBA frame perimeter. Inputs and PNG controls are editorially reviewed; native alpha and optional mask behavior are unverified.
- An actual source plate with exposed frame-border pixels
- Fusion 21/21.1 for physical port and output tests
Source material
- SRC
A plate with vertical details near its border; 1920×1080 / 24fps for the teaching exercise.
Supply your own clip; no footage is bundled.
Nodes and connections
SRC— MediaIn / own test plate · MediaInT— Transform / small shift · TransformCE— CleanEdges (Krokodove) · CleanEdgesOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
MediaIn / own test plate (SRC)Output | Transform / small shift (T)Input | image |
Transform / small shift (T)Output | CleanEdges (Krokodove) (CE)Input | image |
CleanEdges (Krokodove) (CE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CleanEdges (Krokodove) (CE) / Controls / Lock
"All Sides"Use the captured one-width baseline.
- CleanEdges (Krokodove) (CE) / Controls / Type
"Duplicate"Try adjacent-pixel fill before comparing other mode.
- CleanEdges (Krokodove) (CE) / Controls / Pixels
"3"Illustrative trial width, not a default or guaranteed fix.
Reproduce the example
- Shift a real 2D plate with Transform just enough to expose a narrow strip and connect SRC → T → CE → OUT.
The defect must appear before CleanEdges; otherwise the placement may be misleading.
Check: Bypassing CE reveals a small frame-perimeter fault rather than an interior subject edge.
- Set Lock = All Sides, Type = Duplicate and trial Pixels = 3; adjust to the real gap.
3 is a controlled trial rather than a prescribed value; extra width increases seam risk.
Check: Inspect all four sides and corners at 100% Viewer scale.
- Review 24 consecutive frames and CE bypass; for larger gaps revisit scale or overscan.
Repeated edge values can look acceptable in a still and streak in motion.
Check: Do not report native success until this test has actually been rendered in Resolve.
Expected result
- MediaOut (OUT) · frame 48
Duplicate may conceal a thin frame strip; actual pixels depend on the plate and the Resolve build.
Alpha: Inspect the A channel: RGB coverage is not proof that alpha was repaired.
When the result differs
- Gap remains or smears
Cause: The gap exceeds Pixels or the source is severely cropped.
Correction: Revisit Transform shift or overscan instead of using an excessive Pixels value.
References
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Reference for standard MediaIn/MediaOut, Transform and RectangleMask image/mask tutorial ports. This does not validate Krokodove-specific sockets.
- Blackmagic Design — Fusion Matte/Keyer reference
Reference for general ChromaKeyer and image/matte concepts, used only for contrast with external frame-edge operations.
- Blackmagic Design — DaVinci Resolve 21 New Features Guide / Krokodove / Clean Edges
Krokodove Image Pixel Tools: Clean Edges treats frame-edge pixels by duplication or solid color. Three specific controls and Lock dropdown entries cross-checked against two real source screenshots. Flow mask connection requires host confirmation.
- Blackmagic Design — Current Resolve and Fusion support / manuals
Target Resolve 21/21.1 build and standard Fusion concepts such as image Flow, Viewer, keyers, transforms and masks. Native CleanEdges behavior not validated.
Solid versus Duplicate on a grid and corners
At fixed Lock and Pixels, compare the two actual Type modes and spot line repeats.
Starting conditions
DaVinci Resolve / Fusion Target 21 / 21.1; Krokodove; native UI/port/output still requires testing · Krokodove CleanEdges integrated in Fusion 21 · Cross-platform editorial teaching graph
1920 × 1080 · 24 fps · 96 frames · 2D RGBA frame perimeter. Inputs and PNG controls are editorially reviewed; native alpha and optional mask behavior are unverified.
- An actual source plate with exposed frame-border pixels
- Fusion 21/21.1 for physical port and output tests
Source material
- SRC
A contrast grid with clear boundary lines and no unusual transparency.
Generate your own test PNG; no asset is bundled.
Nodes and connections
SRC— MediaIn / own test plate · MediaInCE— CleanEdges (Krokodove) · CleanEdgesOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
MediaIn / own test plate (SRC)Output | CleanEdges (Krokodove) (CE)Input | image |
CleanEdges (Krokodove) (CE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CleanEdges (Krokodove) (CE) / Controls / Lock
"All Sides"Keep perimeter grouping fixed across comparisons.
- CleanEdges (Krokodove) (CE) / Controls / Pixels
"10"Match the screenshot's captured value as a STRESS TEST, not a recommended default.
- CleanEdges (Krokodove) (CE) / Controls / Type
"Duplicate"Record first mode before switching the selector to Solid.
Reproduce the example
- Use a border-to-border test grid or tiled plate and connect SRC → CE → OUT.
A grid reveals stretched pixels and corner seams better than random texture.
Check: Source reaches all four edges and canvas/Viewer magnification are fixed.
- Use All Sides, Pixels = 10 purely as a stress test and Type = Duplicate; inspect all corners at 100%.
10 matches the captured screenshot state, not a recommended repair preset; it exposes the fill pattern.
Check: Inspect repeated lines and textures along each side.
- Hold Pixels fixed, select Solid and record RGB as well as alpha.
Solid is described as solid-color fill, but the output color and alpha behavior have not been natively measured.
Check: Record actual color/opacity in your Resolve build instead of inventing a hidden picker.
Expected result
- MediaOut (OUT) · frame 48
The real differences require a live render; the regular grid makes artifacts easier to identify.
Alpha: Compare the A channel in both modes; transparent-border behavior remains uncertified.
When the result differs
- The modes look identical
Cause: There is no visible border fault, or the source is too uniform.
Correction: Use a line grid and introduce a controlled outside frame defect.
References
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Reference for standard MediaIn/MediaOut, Transform and RectangleMask image/mask tutorial ports. This does not validate Krokodove-specific sockets.
- Blackmagic Design — Fusion Matte/Keyer reference
Reference for general ChromaKeyer and image/matte concepts, used only for contrast with external frame-edge operations.
- Blackmagic Design — DaVinci Resolve 21 New Features Guide / Krokodove / Clean Edges
Krokodove Image Pixel Tools: Clean Edges treats frame-edge pixels by duplication or solid color. Three specific controls and Lock dropdown entries cross-checked against two real source screenshots. Flow mask connection requires host confirmation.
- Blackmagic Design — Current Resolve and Fusion support / manuals
Target Resolve 21/21.1 build and standard Fusion concepts such as image Flow, Viewer, keyers, transforms and masks. Native CleanEdges behavior not validated.
Local border repair through Merge
Keep the CleanEdges repair inside a Rectangle by compositing the processed branch over the original frame.
Starting conditions
DaVinci Resolve / Fusion Target 21 / 21.1; Krokodove; native UI/port/output still requires testing · Krokodove CleanEdges integrated in Fusion 21 · Cross-platform editorial teaching graph
1920 × 1080 · 24 fps · 96 frames · 2D RGBA frame perimeter. Inputs and PNG controls are editorially reviewed; native alpha and optional mask behavior are unverified.
- An actual source plate with exposed frame-border pixels
- Fusion 21/21.1 for physical port and output tests
Source material
- SRC
An opaque frame with a narrow right-border defect; Rectangle is created inside Fusion.
Create a grid PNG with a two-pixel strip at the right edge; import it through the Media Pool as MediaIn.
Nodes and connections
SRC— MediaIn / opaque test plate · MediaInRECT— Rectangle / repaired border · RectangleMaskCE— CleanEdges (Krokodove) · CleanEdgesMERGE— Merge / local repair · MergeOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
MediaIn / opaque test plate (SRC)Output | CleanEdges (Krokodove) (CE)Input | image |
Rectangle / repaired border (RECT)Mask | Merge / local repair (MERGE)EffectMask | mask |
CleanEdges (Krokodove) (CE)Output | Merge / local repair (MERGE)Foreground | image |
MediaIn / opaque test plate (SRC)Output | Merge / local repair (MERGE)Background | image |
Merge / local repair (MERGE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CleanEdges (Krokodove) (CE) / Controls / Lock
"All Sides"Link the width of all four sides for the initial comparison.
- CleanEdges (Krokodove) (CE) / Controls / Type
"Duplicate"Repeating adjacent pixels repairs a narrow boundary strip.
- CleanEdges (Krokodove) (CE) / Controls / Pixels
3Start with three pixels on a test defect two pixels wide.
- Rectangle / repaired border (RECT) / Controls / Center
[0.96,0.5]Place the mask along the right boundary.
- Rectangle / repaired border (RECT) / Controls / Width
0.12Cover the narrow repair strip.
- Rectangle / repaired border (RECT) / Controls / Height
1Cover the frame height.
- Rectangle / repaired border (RECT) / Controls / Soft Edge
0.02Soften the inner transition boundary.
Reproduce the example
- Use an opaque test frame with a two-pixel defect at the right edge; split SRC.Output into CE.Input and MERGE.Background.
Merge retains the source as background and receives the repaired branch separately.
Check: Inspect SRC and CE: the defect lies on the outer frame boundary.
- Connect CE.Output to MERGE.Foreground, RECT.Mask to MERGE.EffectMask and MERGE.Output to OUT.Input. Keep Merge at Normal and Blend=1.
The standard Merge mask limits the composite independently of CleanEdges socket availability.
Check: The mask is connected to Merge; CleanEdges uses only its main image input.
- Set Rectangle to the listed values. Compare Merge against the source and temporarily disconnect the mask.
The comparison separates repair quality from the width of the composite region.
Check: The right strip shows the repair; outside the mask the opaque source remains unchanged. Inspect RGB and Alpha.
Expected result
- MediaOut (OUT) · frame 48
On the opaque test frame, the right-border repair appears only inside Rectangle; the source remains visible outside.
Alpha: This exercise uses an opaque plate. For a translucent source, inspect alpha accumulation when branches overlap and choose appropriate channel compositing.
When the result differs
- Repair appears on every side
Cause: Rectangle is not connected to Merge.EffectMask or the mask is disabled.
Correction: Check RECT.Mask → MERGE.EffectMask and inspect Rectangle width in the Viewer.
References
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Reference for standard MediaIn/MediaOut, Transform and RectangleMask image/mask tutorial ports. This does not validate Krokodove-specific sockets.
- Blackmagic Design — Fusion Matte/Keyer reference
Reference for general ChromaKeyer and image/matte concepts, used only for contrast with external frame-edge operations.
- Blackmagic Design — DaVinci Resolve 21 New Features Guide / Krokodove / Clean Edges
Krokodove Image Pixel Tools: Clean Edges treats frame-edge pixels by duplication or solid color. Three specific controls and Lock dropdown entries cross-checked against two real source screenshots. Flow mask connection requires host confirmation.
- Blackmagic Design — Current Resolve and Fusion support / manuals
Target Resolve 21/21.1 build and standard Fusion concepts such as image Flow, Viewer, keyers, transforms and masks. Native CleanEdges behavior not validated.
Scope check: frame border ≠ keyed subject edge
Distinguish outer image perimeter from interior alpha edges and choose the right repair tool.
Starting conditions
DaVinci Resolve / Fusion Target 21 / 21.1; Krokodove; native UI/port/output still requires testing · Krokodove CleanEdges integrated in Fusion 21 · Cross-platform editorial teaching graph
1920 × 1080 · 24 fps · 96 frames · 2D RGBA frame perimeter. Inputs and PNG controls are editorially reviewed; native alpha and optional mask behavior are unverified.
- An actual source plate with exposed frame-border pixels
- Fusion 21/21.1 for physical port and output tests
Source material
- SRC
Own green-screen footage with a subject well inside the outside frame border.
No green-screen footage or native Resolve comp is included.
Nodes and connections
SRC— MediaIn / own test plate · MediaInKEY— ChromaKeyer / subject matte · ChromaKeyerCE— CleanEdges (Krokodove) · CleanEdgesOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
MediaIn / own test plate (SRC)Output | ChromaKeyer / subject matte (KEY)Input | image |
ChromaKeyer / subject matte (KEY)Output | CleanEdges (Krokodove) (CE)Input | image |
CleanEdges (Krokodove) (CE)Output | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CleanEdges (Krokodove) (CE) / Controls / Lock
"All Sides"Keep the frame-border behavior easy to compare.
- CleanEdges (Krokodove) (CE) / Controls / Pixels
"3"Use a small frame-strip experiment, not a matte-erode control.
- CleanEdges (Krokodove) (CE) / Controls / Type
"Duplicate"The fill mode is not a despill algorithm.
Reproduce the example
- Use a green-screen plate, make a basic ChromaKeyer matte and connect KEY → CE → OUT.
Separate the subject's interior edge from the rectangular frame boundary.
Check: Inspect the subject alpha in the Viewer, not only background RGB.
- Set All Sides, trial Pixels = 3 and Duplicate. Compare interior subject fringe before and after CE.
CleanEdges is for frame edges; a lack of hair-matte change is not a failure.
Check: Record changes at the outside perimeter separately from interior alpha.
- For green spill or a poor matte, return to keying, Despill or Matte Control; keep CleanEdges only for frame-border faults.
Interior object matte repair and frame-strip processing are different operations.
Check: Do not assert pixel-perfect RGB/alpha behavior without rendering the material in Resolve.
Expected result
- MediaOut (OUT) · frame 48
This exercise distinguishes frame borders from matte work; native pixels are unverified and keying quality is not promised.
Alpha: Inspect the outside frame strip and interior silhouette separately in A.
When the result differs
- Green fringe around hair remains
Cause: CleanEdges targets the frame boundary, not despill or fine matte refinement.
Correction: Refine the key; use appropriate CleanPlate/Despill/Matte Control tools as necessary.
References
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Reference for standard MediaIn/MediaOut, Transform and RectangleMask image/mask tutorial ports. This does not validate Krokodove-specific sockets.
- Blackmagic Design — Fusion Matte/Keyer reference
Reference for general ChromaKeyer and image/matte concepts, used only for contrast with external frame-edge operations.
- Blackmagic Design — DaVinci Resolve 21 New Features Guide / Krokodove / Clean Edges
Krokodove Image Pixel Tools: Clean Edges treats frame-edge pixels by duplication or solid color. Three specific controls and Lock dropdown entries cross-checked against two real source screenshots. Flow mask connection requires host confirmation.
- Blackmagic Design — Current Resolve and Fusion support / manuals
Target Resolve 21/21.1 build and standard Fusion concepts such as image Flow, Viewer, keyers, transforms and masks. Native CleanEdges behavior not validated.
Other outlines from the article
Thin border after Transform
A translation reveals a narrow frame-side strip; test a small Pixels width and compare Duplicate to Solid.
- MediaIn
- Transform
- CleanEdges
- MediaOut
Corner stress test
A reference image with horizontal and vertical lines helps expose fill seams where frame sides join.
- MediaIn (grid reference)
- CleanEdges
- MediaOut
Local border repair through Merge
For a local result, use a separate Merge: source to Background, processed branch to Foreground and Rectangle/Ellipse to Merge.EffectMask.
- MediaIn → CleanEdges → Merge.Foreground
- MediaIn → Merge.Background
- Rectangle.Mask → Merge.EffectMask
- Merge → MediaOut
Not an interior matte repair
Keying produces internal subject edges; check them in ChromaKeyer/Despill instead of trying to hide them with Pixels.
- MediaIn
- ChromaKeyer
- CleanEdges (frame only)
- MediaOut
Mistakes
- Confusing the FRAME perimeter with an object silhouette or key edge.
- Treating Duplicate as a content-aware reconstruction of absent scenery.
- Using too much Pixels and producing obvious repetitions and streaks.
- Presenting Pixels = 10 as recommended, when it is just a screenshot state.
- Treating Lock = None as node bypass.
- Inventing a dedicated Solid color picker not shown in the evidence.
- Ignoring the frame corners where two fill strips meet.
- Putting CleanEdges before a transform that creates new gaps afterward.
- Checking a still only and missing temporal repetition.
- Claiming Effect Mask support is natively proven from Inspector screenshots.
- Expecting CleanEdges to fill broad gaps or transparent internal holes.
Tips
- Use the minimum workable Pixels; a wider strip often looks less convincing.
- Create a stress image with vertical lines to expose duplicate streaks easily.
- Check Alpha and Domain of Definition, not just black RGB pixels.
- Inspect stabilization edge/auto-zoom settings before adding another filter.
- Pay attention to corners: horizontal and vertical fills can meet differently.
- Always compare Type settings with identical Pixels and Viewer conditions.
- Use more appropriate fill tools or overscan for substantial missing image area.
- Keep matte cleanup and frame-border treatment separate in your graph.
- Record physical ports and the real Solid result for the specific Resolve 21/21.1 build.
Workflow order
- Inspect the complete frame boundary at 100% and rule out an internal matte/alpha problem.
- Identify the upstream Transform or stabilization operation exposing the frame edge; place CleanEdges immediately after it.
- Begin with Lock = All Sides, Type = Duplicate and only as much Pixels as needed.
- For a one-axis fault, explore Vert./Horiz. and None; verify any conditional controls in your Resolve version.
- Switch Duplicate versus Solid without moving Pixels and save a same-frame A/B comparison.
- Examine the corners, the lower border and areas with high-contrast details near the frame edge.
- Play 20–30 frames and watch for moving stretched patterns or repeated lines.
- For a local result, use a separate Merge: source to Background, processed branch to Foreground and Rectangle/Ellipse to Merge.EffectMask.
- For broad missing areas revisit stabilizer/scale/crop or a more capable fill method.
- Inspect the final downstream composite, because Blur/Glow or reframing may expose the seam later.
