FUSION · FULL ARTICLE
CustomFilter
CustomFilter applies a user-authored 3x3, 5x5 or 7x7 convolution kernel to selected RGBA channels for blur, sharpen, emboss, relief, edge detection and other neighborhood filters.
Overview
CustomFilter is Fusion's classic 2D convolution processor. Unlike the Filter node, which exposes predefined filter families, CustomFilter exposes the kernel itself so the neighborhood operation can be authored directly.
Input is a normal orange 2D RGBA image and Output remains a normal 2D image. The optional blue Effect Mask only limits the contribution of the computed filter; it is not a second image source and does not supply kernel weights.
A convolution kernel can be pictured as a small window that slides across the image. The center matrix cell represents the current pixel, surrounding cells represent neighboring samples, and each integer coefficient defines that sample's contribution to the result.
Matrix Size selects a 3x3, 5x5 or 7x7 working kernel. The Inspector always displays a 7x7 grid, but smaller modes activate only the centered 9 or 25 cells.
A 3x3 kernel uses the current pixel plus its eight nearest neighbors. Larger 5x5 and 7x7 kernels reach farther spatially, cost more to render, and can produce wider halos or ringing on strong edges.
A coefficient of 1 contributes the full sample, 0 ignores it, values greater than 1 amplify it, and negative values subtract the sample. The current Blackmagic documentation explicitly describes the matrix fields as integer-only; fractional 0.x entries are not valid kernel values.
A 3x3 identity kernel places 1 in the center and 0 everywhere else. It is the best baseline test because neighboring pixels have no influence and the image should remain unchanged apart from any separate masking/common-control behavior.
A 3x3 matrix filled with 1 values produces a simple averaging blur when the result is kept at the documented normalized baseline. This makes it a useful training example for Matrix Size and Normalize.
Directional positive and negative weights respond to local differences and can create edge, emboss and relief effects. CustomFilter therefore has no single artistic meaning: the coefficient pattern defines the algorithm.
The Red, Green, Blue and Alpha buttons in Controls are pre-processing channel switches specific to CustomFilter. Blackmagic distinguishes them from the RGBA switches in Common Controls, which are applied after node processing.
Disabling a Controls-tab channel causes CustomFilter to skip that channel's filtering work. This can be both semantically important and cheaper than processing channels that do not need modification.
Alpha deserves special attention. Convolving alpha can soften, sharpen or create unusual coverage values. For a normal RGB sharpening task, compare Alpha off before deciding that the matte should be filtered too.
Update Lock is not a frame freeze or cache. While enabled, Fusion does not render CustomFilter, which is useful while filling many 5x5 or 7x7 cells. Turn it off after editing to see the actual kernel result.
If Update Lock is accidentally left on, the Viewer can continue showing the previous state and make a correct matrix appear ineffective.
Normalize is a slider, not an on/off normalization checkbox. The documented baseline is 0 for a normalized image; positive values raise/brighten the filtered result and negative values lower/darken it.
For that reason, describing Normalize merely as clipping protection is incorrect. It deliberately changes result level and should be judged together with scopes and floating-point range where relevant.
Floor Level adds or subtracts a base offset from the filtered result. Zero adds nothing, positive values raise the result, and negative values subtract from it.
Floor Level is particularly useful with positive/negative edge or relief kernels whose response clusters around zero and may be difficult to inspect directly on a conventional display.
Normalize and Floor Level solve different problems. Normalize changes the normalization/result level; Floor Level adds an offset. Do not tune both at once when diagnosing brightness shifts.
Custom convolution must be judged beyond a pleasing still frame. Sharpen and edge kernels can amplify sensor noise, compression blocks, ringing and fine texture, so inspect around 100 percent and play motion.
Larger Matrix Size means a wider neighborhood and usually higher cost, not automatically better quality. A compact 3x3 kernel is often the more controlled choice for local sharpening.
Symmetric kernels tend to produce non-directional behavior while asymmetric weights create directionality. If emboss responds from the wrong side, inspect coefficient placement around the center before rotating the entire downstream image.
A kernel whose coefficients sum near zero is common for edge/high-pass work and can produce dark, negative or out-of-display-range values. That may be correct for a technical pass and should not be mistaken for a broken filter.
A kernel with a very large positive sum can raise image level dramatically. Inspect the coefficients and Normalize before hiding the issue with a downstream Brightness/ColorCorrector node.
The optional Effect Mask is applied as a spatial gate after filter processing. It does not change Matrix Size, coefficients or sampling radius.
Effect Mask is not a per-pixel kernel map. White and gray mask values control contribution of the already processed result rather than rewriting individual matrix weights.
When a sharpening kernel is masked locally, inspect the mask boundary as a separate problem. A hard mask can expose a seam between filtered and unfiltered regions, so feathering should be chosen deliberately.
Convolution depends on neighboring pixels, so frame edges deserve dedicated inspection. Behavior near a boundary can differ from the center and should not be inferred from a central test patch alone.
Blackmagic also documents supplied custom filter settings in the Filters directory, loadable through Settings > Load from the contextual menu. A loaded setting is still just a concrete matrix/control configuration and should be audited as such.
CustomFilter and CustomTool serve different levels of flexibility. CustomFilter is efficient and readable for a fixed local convolution; CustomTool supports arbitrary expressions and multiple image inputs but is more complex to author and maintain.
For production reuse, save useful kernels with Matrix Size, RGBA state, Normalize and Floor Level documented together. Matrix numbers alone do not fully describe the result.
With premultiplied RGBA, inspect semi-transparent boundaries separately. Aggressive RGB filtering may expose premultiplication issues that belong to a wider pre-divide/post-multiply workflow rather than to the kernel itself.
Serialized matrix-cell names should not be guessed from their visual position. Before scripting, export a minimal .setting or .comp on the target Resolve build and confirm the actual internal IDs.
The bundled captures define the current Controls UI boundary for this page: RGBA switches, Matrix Size 3x3/5x5/7x7, Update Lock, the 7x7 grid, Normalize and Floor level. Generic Settings/Common Controls are not presented as CustomFilter-specific controls.
A reliable diagnostic order is identity kernel first, then RGBA selection, Matrix Size and coefficients, then Normalize, then Floor Level, and finally Effect Mask/downstream blending. This keeps cause and effect legible.
When to use it
- Author a custom 3x3 sharpening kernel.
- Build an averaging blur from equal positive weights.
- Create directional edge, emboss or relief responses.
- Generate a technical high-pass/edge branch for later processing.
- Filter RGB while preserving the original alpha channel.
- Localize a custom filter with an Effect Mask.
- Experiment with wider 5x5 and 7x7 neighborhoods.
- Store repeatable production kernels as Settings.
Article screenshots
Inputs & outputs
CustomFilter: one RGBA Input → convolution → one RGBA Output; Effect Mask only gates contribution
CustomFilter is a normal 2D image processor. Orange Input carries source RGBA, optional blue Effect Mask gates the already computed filter contribution, and Output remains an image stream. Matrix Size/coefficients do not create extra ports.
Selects Controls-tab RGBA channels, computes a custom convolution from a 3x3/5x5/7x7 integer kernel, shapes result level with Normalize/Floor Level, then applies optional Effect Mask gating.
Inputs
- Input
Primary RGBA source
Receives: A 2D image stream from MediaIn, Loader, Merge, Background, Text+/sRender or another raster image processor.
Inside the node: CustomFilter samples the current pixel and spatial neighbors according to Matrix Size/Filter Matrix for the enabled Controls RGBA channels.
Typical sources: MediaIn · Loader · Merge · Background · Text+
This is CustomFilter's only image source. Effect Mask is not a second image input and does not supply kernel samples.
- Effect Mask
Optional spatial gating
Receives: A Rectangle, Ellipse, Polygon, B-Spline, Bitmap, MaskPaint or another Fusion mask stream.
Inside the node: After custom-filter processing, the mask limits where the node contributes fully or partially.
Typical sources: Rectangle · Ellipse · Polygon · B-Spline · Bitmap · MaskPaint
Effect Mask does not change Matrix Size/coefficients and is not an image-driven kernel/intensity map.
Outputs and destination
Output
One 2D RGBA image after selected-channel processing, custom convolution, Normalize/Floor Level and optional Effect Mask gating.
Next step: MediaOut · Merge → Foreground · Color Corrector · Dissolve · another 2D image processor
Output is not mask, deep, material or scene3d data. An edge/high-pass appearance does not change the port datatype.
- Output
- Normal 2D RGBA image after custom convolution, Normalize/Floor Level and optional Effect Mask gating.
Processing order
- Input receives one 2D RGBA source.
- Controls RGBA decides which source channels enter convolution.
- Matrix Size selects the active 3x3/5x5/7x7 neighborhood.
- Filter Matrix supplies an integer weight for each active sample around the current pixel.
- Update Lock can temporarily stop render updates while the matrix is authored.
- Normalize adjusts normalization/result level around the zero baseline.
- Floor Level adds or subtracts an output offset.
- An optional Effect Mask gates spatial contribution after processing.
- Output continues the normal 2D RGBA image pipeline.
Local RGB sharpen without filtering Alpha
MediaIn.Output → CustomFilter.Input · Polygon.Mask → CustomFilter.Effect Mask · CustomFilter.Output → MediaOut.Input
Source uses the image wire, mask uses the blue mask wire, and one image Output carries the finished filtered composite. Controls Alpha can be disabled independently from Effect Mask.
Input = 2D image. Effect Mask = optional post-process coverage. Output = 2D image. RGBA switches and kernel remain inside the node rather than becoming extra sockets.
Parameters
CustomFilter · Inspector reference
Read CustomFilter as five independent layers: which RGBA channels participate → which neighborhood/kernel is active → when the node is allowed to render → how result level is shaped → where the finished effect is allowed by Effect Mask. The common failure is changing coefficients, Normalize and mask together until the source of an artifact is impossible to identify.
- Input
- 2D RGBA image
- Channels
- R · G · B · A pre-process
- Kernel
- 3x3 · 5x5 · 7x7 integer weights
- Render
- Update Lock
- Level
- Normalize → Floor Level
- Coverage
- Effect Mask after processing
- Output
- 2D RGBA image
Channels · RGBA before convolution
Controls-tab RGBA switches decide which channels enter the convolution stage at all. They are not the post-process Common Controls.
- Color Channels (RGBA)
Channels > Color Channels (RGBA)Includes or excludes Red, Green, Blue and Alpha from CustomFilter processing before convolution. These are node-specific Controls-tab switches rather than Common Controls channel switches. A disabled channel skips this filter stage and can reduce render work.
Check / distinguish: For an RGB sharpening test, disable Alpha first and A/B translucent edges separately.
- Controls RGBA are pre-process
Controls > R/G/B/AThese four switches decide whether a channel is processed by CustomFilter at all. This is upstream of the convolution and differs from Common Controls Settings.
Check / distinguish: Disable one channel and inspect it separately in the Viewer.
- Common Controls are not the same thing
Settings > Common ControlsBlackmagic explicitly distinguishes these: Common Controls channels are applied after node processing, while Controls-tab RGBA can skip a channel through the kernel entirely.
Check / distinguish: Do not diagnose Controls-tab Alpha using Common Controls Alpha.
- Alpha can stay untouched
Controls > AFor RGB sharpening/edge work, it is often useful to disable A first so source coverage is not blurred or high-passed.
Check / distinguish: Compare a translucent edge in RGB and Alpha Viewers.
- Alpha filtering is sometimes intentional
Controls > AAlpha can be enabled when convolution of the matte is actually intended. It should be a deliberate signal-processing choice rather than a default habit.
Check / distinguish: A/B A on/off on the same hard/soft alpha edge.
- Skipping channels can save work
Controls > R/G/B/ADisabled Controls channels skip CustomFilter processing; on heavy kernels there is no reason to filter data that downstream does not use.
Check / distinguish: Disable unused Alpha and compare render behavior without changing RGB.
- Do not infer four separate outputs
Controls > R/G/B/AThe switches select processing of channels within one RGBA image. CustomFilter still emits one Output, not four channel ports.
Check / distinguish: Check the Node Editor: one orange Input, optional blue mask and one image Output.
- Channel isolation is diagnostic
Viewer > ChannelsChannel-isolated viewing shows which signal the kernel actually changed, especially when RGB look similar in beauty view.
Check / distinguish: Inspect R/G/B/A one at a time after changing a switch.
- Premultiplied edges need separate QC
RGBA edge workflowAggressive RGB convolution near partial alpha can expose premultiplication fringe; that is broader than any single CustomFilter control.
Check / distinguish: Inspect the edge on transparency and over the real Background.
Kernel · Matrix Size · Filter Matrix
Size defines the active neighborhood while Filter Matrix supplies integer weights inside it. The center cell is the current pixel.
- Matrix Size
Kernel > Matrix SizeSelects the active 3x3, 5x5 or 7x7 convolution kernel. The Inspector always shows a 7x7 grid, while smaller modes use only the central 9 or 25 cells. Larger sizes reach farther and cost more.
Check / distinguish: Start with the smallest kernel that solves the task; 7x7 is not an automatic quality mode.
- Filter Matrix
Kernel > Filter MatrixThe coefficient grid that sets how much the center and neighboring pixels contribute to Output. 1 keeps full sample influence, 0 ignores a sample, >1 amplifies it and negative values subtract it. Blackmagic documents integer-only entries; fractional 0.x is not a valid kernel value.
Check / distinguish: Begin with 0/0/0 · 0/1/0 · 0/0/0 and change one coefficient group at a time.
- Center cell = current pixel
Controls > Filter MatrixThe center of the active kernel corresponds to the current output pixel; surrounding cells are spatial neighbors.
Check / distinguish: Set an identity kernel and confirm neutrality.
- Identity is the first test
Controls > Filter Matrix0 0 0 / 0 1 0 / 0 0 0 removes neighbor influence and provides a reference for graph, channels and masks.
Check / distinguish: Save identity as a reusable setting.
- Matrix values are integers
Controls > Filter MatrixThe current Custom Filter documentation specifies integer-only cells: 0.x is not a valid coefficient. Kernel design uses integer weights.
Check / distinguish: Rebuild the kernel using integer values plus level controls only.
- One means full sample influence
Controls > Filter MatrixCoefficient 1 contributes the full sample, 0 ignores it, >1 amplifies it, and a negative weight subtracts it.
Check / distinguish: Change one neighboring cell 0→1→-1 and observe directional response.
- 3x3 is not low quality
Controls > Matrix Size3x3 is the most local neighborhood. For sharpening/edge work it is often exactly the right support rather than a reduced-quality mode.
Check / distinguish: Compare 3x3 and 7x7 haloing on the same edge.
- 5x5 widens the support
Controls > Matrix Size5x5 activates the central 25 cells and supports a wider spatial response without the maximum 7x7 radius.
Check / distinguish: A/B 3x3 and 5x5 for the same task with identical level controls.
- 7x7 is wider and heavier
Controls > Matrix Size7x7 uses all 49 cells; it is the widest built-in neighborhood and increases both authoring and compute cost.
Check / distinguish: Keep 7x7 only after a demonstrated A/B advantage.
- Grid stays 7x7
Controls > Matrix SizeThe UI keeps the full 7x7 grid visible even in 3x3 mode; inactive outer cells are dimmed and do not participate in the current kernel.
Check / distinguish: Switch 3x3→5x5→7x7 and watch which cells become active.
- All ones create an average
Controls > Filter MatrixA 3x3 kernel of nine ones at baseline normalization gives equal influence to the current sample and eight neighbors, producing a simple blur.
Check / distinguish: Compare identity and all-ones without changing Normalize/Floor.
- Positive/negative weights create edges
Controls > Filter MatrixSample differences emerge when some coefficients are positive and others negative. This is the basis of edge/relief/high-pass patterns.
Check / distinguish: Test on a simple white shape over black.
- Asymmetry creates direction
Controls > Filter MatrixAsymmetric weight placement makes the response directional. Direction comes from matrix layout rather than a downstream Transform.
Check / distinguish: Mirror the weights around the center and compare emboss direction.
- Coefficient sum is a quick diagnostic
Controls > Filter MatrixA large positive sum usually shifts level strongly, while a near-zero sum is common for edge/high-pass work. It is not the whole algorithm but is a useful sanity check.
Check / distinguish: Check the sum before compensating with Normalize or downstream grading.
- Do not rotate the image to fix the kernel
Controls > Filter MatrixIf directional response is oriented incorrectly, fix coefficient placement first. A downstream rotation changes the whole frame and hides the cause.
Check / distinguish: Use a labeled edge test and change only the matrix.
- Frame borders need their own check
Viewer > frame boundaryConvolution depends on neighbors; at the frame boundary the neighborhood is constrained, so behavior can differ from the center.
Check / distinguish: Place high-contrast detail against each frame edge.
- Saved settings are still matrices
Settings > LoadSupplied Filters settings are convenient starting points but do not create a hidden new algorithm: they remain concrete Matrix Size, coefficients and level/channel states.
Check / distinguish: After Load, record the actual controls before production use.
Render · Update Lock
Update Lock temporarily stops CustomFilter rendering so a large matrix can be authored without recomputing after every cell.
- Update Lock
Render > Update LockTemporarily stops CustomFilter from rendering while matrix values are edited. Useful when filling a 5x5 or 7x7 kernel so Fusion does not recompute after every cell. It must be disabled again to inspect the new result.
Check / distinguish: If the Viewer appears to ignore the new matrix, first check whether Update Lock is still enabled.
- Update Lock pauses CustomFilter rendering
Controls > Update LockWhen enabled, Fusion does not render CustomFilter so editing many cells does not trigger a recompute for each change.
Check / distinguish: On 7x7, enable the lock, change several cells and confirm the Viewer does not recompute.
- Update Lock is not cache
Controls > Update LockThe lock is not a cache strategy and does not alter output logic; it is an authoring switch that temporarily prevents render updates.
Check / distinguish: Do not use it as a playback-performance setting.
- Turn it off before judging
Controls > Update LockA forgotten lock is a common reason the matrix appears to do nothing. QC begins only after disabling it and obtaining a current render.
Check / distinguish: Check Update Lock state before bypass/on A/B.
- Use it for batch edits
Controls > Update LockThe practical value appears during a series of edits: lock first, enter the batch, then unlock once.
Check / distinguish: Compare large-matrix authoring with the lock on and off.
- Large kernels amplify authoring cost
Matrix Size + Update LockA 7x7 grid contains 49 cells, so Update Lock discipline matters more than on 3x3. This is an authoring/performance distinction, not different kernel math.
Check / distinguish: Keep the same kernel result and compare only the editing workflow.
Result level · Normalize · Floor Level
Normalize and Floor Level alter the level of the already computed convolution response in different ways. Tune them after kernel shape and one at a time.
- Normalize
Result level > NormalizeControls normalization/result level of the filtered image. The documented baseline is 0 for a normalized image; positive values brighten/raise the result and negative values darken/lower it.
Check / distinguish: Establish the correct kernel at Normalize = 0, then move Normalize separately while watching scopes/float values.
- Floor Level
Result level > Floor LevelAdds or subtracts a base offset from the filtered image. Zero adds nothing; positive values raise Output and negative values subtract from it. It is especially visible on edge/relief kernels around zero.
Check / distinguish: Do not compensate Floor Level and Normalize at the same time; lock one while tuning the other.
- Normalize zero is the documented baseline
Controls > NormalizeBlackmagic documents 0 as the normalized-image baseline. Positive values raise result level and negative values lower it.
Check / distinguish: Return to 0 before comparing different kernels.
- Normalize is signed
Controls > NormalizeThe control works on both sides of zero; it is neither a checkbox nor a one-way safety correction.
Check / distinguish: Compare negative / 0 / positive on one fixed kernel.
- Do not hide a bad kernel with Normalize
Controls > NormalizeIf the result is too bright because of coefficients, inspect matrix sum/layout first. Normalize should not become a substitute for understanding the kernel.
Check / distinguish: Inspect the matrix at Normalize=0 before compensating.
- Floor Level is an offset
Controls > Floor LevelFloor Level adds/subtracts a base offset to the filtered result. It is not a low clip or threshold.
Check / distinguish: On an edge kernel, move Floor around 0 and watch the whole signal shift.
- Zero Floor adds nothing
Controls > Floor LevelFloor = 0 is the neutral offset baseline and is useful when comparing spatial response between kernels.
Check / distinguish: Return to 0 before an A/B Matrix Size test.
- Relief often needs a display offset
Controls > Floor LevelA signed edge/relief response around zero can be hard to inspect on a normal display. Floor can shift it without changing the kernel's spatial pattern.
Check / distinguish: Confirm the pattern at 0 first, then add offset.
- Normalize and Floor are separate stages
Controls > Normalize / Floor LevelBoth alter perceived level through different operations. Changing both together makes a brightness shift hard to diagnose.
Check / distinguish: Hold Floor=0 while tuning Normalize and vice versa.
- Watch floating-point range
Viewer / scopesEdge/high-pass kernels can produce negative/high values even when the display compresses them visually. Downstream color transforms may reveal them later.
Check / distinguish: Use scopes/numeric inspection in the actual bit-depth pipeline.
- Downstream grade is not kernel repair
CustomFilter > downstream ColorA downstream ColorCorrector can artistically remap a technical pass but should not hide incorrect matrix geometry or accidental channel state.
Check / distinguish: Bypass downstream grading and confirm the raw filter has the intended shape.
Coverage · Effect Mask · edge QC
The blue Effect Mask is a separate graph input applied after processing. It limits effect contribution without changing coefficients, Matrix Size or channel selection.
- Effect Mask is a separate blue input
Node Editor > Effect MaskThe mask stream connects separately from the orange Input. It neither replaces source RGBA nor participates in coefficient sampling.
Check / distinguish: Check topology: MediaIn→Input, Polygon→Effect Mask.
- Effect Mask is applied after processing
Effect Mask contractThe Filter-node contract applies the effects mask after tool processing: the kernel stays the same while only spatial contribution changes.
Check / distinguish: A/B mask on/off with the same kernel and compare filtered coverage.
- Mask is not a kernel map
Node Editor > Effect MaskA gray mask value does not rewrite individual weights or make radius image-driven. It gates/blends the result.
Check / distinguish: Do not describe Effect Mask as an intensity map for Matrix Size.
- Prove full-frame first
Workflow > mask orderThe kernel should be correct without a mask first. Otherwise kernel halo and a hard mask edge appear as one combined artifact.
Check / distinguish: Disconnect the mask, fix the filter, then reconnect it.
- Feather is a separate decision
Effect Mask sourceLocal sharpen/emboss often needs feather so filtered and unfiltered regions do not form a visible seam. Feather belongs to the mask source, not the CustomFilter matrix.
Check / distinguish: Change mask feather with a fixed kernel.
- Mask does not create extra outputs
OutputEven with a connected mask, CustomFilter emits one normal image Output; there is no separate mask-result port.
Check / distinguish: Connect the next image processor to Output, not to the Effect Mask wire.
- Playback catches moving seams
Effect Mask + playbackTracked or animated masks can move the boundary of a high-frequency local filter. A still frame does not reveal temporal seam/shimmer.
Check / distinguish: Play the section with the largest mask motion.
- Output stays 2D RGBA
Node Editor > OutputThe node does not create matte, deep data, material or scene3d. CustomFilter remains a normal image processor before and after masking.
Check / distinguish: Connect Output to MediaOut/Merge/ColorCorrector as a normal image stream.
Before adjusting the node
- Start with a 3x3 identity kernel: center 1, all other active cells 0. If Output is already non-neutral, do not move on to a complex kernel.
- Check Controls-tab RGBA separately from Common Controls; for RGB sharpening, A/B Alpha off first.
- For 5x5/7x7, enable Update Lock while entering many cells and always disable it before QC.
- Establish the correct spatial response at Normalize = 0 and Floor Level = 0, then adjust level controls one at a time.
- Add Effect Mask only after the full-frame kernel is proven, otherwise mask seams and convolution artifacts overlap in the same diagnosis.
- Inspect around 100 percent, playback and frame boundaries; aggressive kernels often look clean only in a fit-to-window still.
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
Identity → averaging blur: understand the convolution
Use one source to prove the center-cell, neighbor-weight, Matrix Size and Normalize model without other effects.
Starting conditions
DaVinci Resolve / Fusion 21/21.1 article authoring; CustomFilter Controls are anchored to the current Resolve 21 Filter Nodes reference and bundled Inspector captures · DaVinci Resolve / Fusion 2D · Cross-platform reference; target-workstation live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion 2D RGBA: image → CustomFilter convolution → optional Effect Mask gate → image output
- MediaIn
- Loader
- Background
- CustomFilter
- Rectangle
- ColorCorrector
- Merge
- MediaOut
Source material
- SRC
An opaque test chart with a grayscale ramp, saturated RGB/CMY patches and sharp boundaries. A reference-matching exercise needs a second frame with the same content and a known color difference.
Download the test source or prepare your own matching the description. Import it into the Media Pool and drag it into Fusion as SRC. For a clip provide 120 frames at 24 fps. Static artwork may be held across the range; the input used to test motion, flicker or frame history must contain actual footage.
Nodes and connections
SRC— SOURCE · MediaInCF— CUSTOM FILTER · CustomFilterOUT— MEDIA OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
SOURCE (SRC)Output | CUSTOM FILTER (CF)Input | image |
CUSTOM FILTER (CF)Output | MEDIA OUT (OUT)Input | image |
Graph output: MEDIA OUT (OUT)
Parameter values
- CUSTOM FILTER (CF) / Controls / Matrix Size
"3x3"Use the smallest neighborhood for a transparent baseline test.
- CUSTOM FILTER (CF) / Controls / Color Channels (RGBA)
"R,G,B,A on"Process all channels for the first neutral identity comparison.
- CUSTOM FILTER (CF) / Controls / Filter Matrix
"0 0 0 / 0 1 0 / 0 0 0"Identity: only the current pixel contributes.
- CUSTOM FILTER (CF) / Controls / Normalize
0Use the documented normalized baseline.
- CUSTOM FILTER (CF) / Controls / Floor Level
0Do not offset the baseline result.
Reproduce the example
- Set a 3x3 identity kernel: center 1, all other active cells 0.
This proves that the center cell is the current pixel and establishes a neutral reference.
Check: CF.Output matches SRC in RGB and Alpha with Normalize/Floor at 0.
- Replace the nine active coefficients with 1 while keeping Matrix Size, Normalize and Floor unchanged.
Equal weights turn the kernel into a simple neighborhood average.
Check: Fine detail becomes softer without a separate Blur node.
- A/B identity against all-ones while inspecting the Viewer around 100 percent and at frame edges.
This exposes both spatial response and boundary behavior without other nodes interfering.
Check: Only Filter Matrix explains the difference; the graph stays unchanged.
Expected result
- MEDIA OUT (OUT) · frame 72
Identity is neutral while all-ones 3x3 gives a predictable nearest-neighbor average in the same graph topology.
Alpha: The first baseline filters Alpha together with RGB; production use should then decide whether that is actually desired.
When the result differs
- The Viewer did not update after changing the matrix.
Cause: Update Lock may still be enabled.
Correction: Disable Update Lock and wait for the new render.
Files for the example
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Custom Filter [CFlt]
Fusion Page Effects > Filter Nodes > Custom Filter [CFlt]: Input + Effect Mask, RGBA channel switches, 3x3/5x5/7x7 integer Filter Matrix, Update Lock, Normalize and Floor Level.
- Blackmagic Design — Fusion Tool Reference: Custom Filter
Filter Tools > Custom Filter: convolution-kernel semantics, identity/blur/edge examples, channel controls, Update Lock, Normalize and Floor Level.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion 2D image, masks, Viewer and MediaOut workflow used by these practice graphs.
RGB-only relief under an Effect Mask
Separate three independent ideas: directional kernel, Alpha bypass and post-process Effect Mask gating.
Starting conditions
DaVinci Resolve / Fusion 21/21.1 article authoring; CustomFilter Controls are anchored to the current Resolve 21 Filter Nodes reference and bundled Inspector captures · DaVinci Resolve / Fusion 2D · Cross-platform reference; target-workstation live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion 2D RGBA: image → CustomFilter convolution → optional Effect Mask gate → image output
- MediaIn
- Loader
- Background
- CustomFilter
- Rectangle
- ColorCorrector
- Merge
- MediaOut
Source material
- SRC
An opaque test chart with a grayscale ramp, saturated RGB/CMY patches and sharp boundaries. A reference-matching exercise needs a second frame with the same content and a known color difference.
Download the test source or prepare your own matching the description. Import it into the Media Pool and drag it into Fusion as SRC. For a clip provide 120 frames at 24 fps. Static artwork may be held across the range; the input used to test motion, flicker or frame history must contain actual footage.
Nodes and connections
SRC— SOURCE · MediaInCF— RELIEF · CustomFilterMASK— LOCAL MASK · RectangleMaskOUT— MEDIA OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
SOURCE (SRC)Output | RELIEF (CF)Input | image |
LOCAL MASK (MASK)Mask | RELIEF (CF)EffectMask | mask |
RELIEF (CF)Output | MEDIA OUT (OUT)Input | image |
Graph output: MEDIA OUT (OUT)
Parameter values
- RELIEF (CF) / Controls / Matrix Size
"3x3"A compact directional neighborhood is enough for the relief demonstration.
- RELIEF (CF) / Controls / Color Channels (RGBA)
"R,G,B on; A off"Keep source alpha unfiltered while RGB receives the convolution.
- RELIEF (CF) / Controls / Filter Matrix
"-1 0 0 / 0 0 0 / 0 0 1"Directional positive/negative pair creates a relief-like response.
- RELIEF (CF) / Controls / Normalize
0Keep the documented normalization baseline while designing response shape.
- RELIEF (CF) / Controls / Floor Level
0.5Raise a signed relief response into an easier-to-view range; exact target value remains shot-dependent.
- LOCAL MASK (MASK) / Controls / Soft Edge
0.06Feather the post-process transition between filtered and unfiltered areas.
Reproduce the example
- Disable Alpha, set the directional -1/0/+1 kernel and initially leave Effect Mask disconnected.
The full-frame response must be proven before a mask seam is introduced.
Check: RGB shows a directional relief/edge response while source Alpha is not convolved.
- Connect Rectangle.Mask to CF.EffectMask and tune Soft Edge.
Effect Mask should limit the finished filter contribution rather than change kernel math.
Check: Relief is visible inside the mask, source remains outside it, and the transition reads only as feather.
- Switch the Viewer to Alpha and A/B CustomFilter Alpha on/off.
This separates coverage changes from the artistic RGB response.
Check: With A off, source Alpha is preserved; with A on, it also becomes part of the convolution.
Expected result
- MEDIA OUT (OUT) · frame 72
Directional relief is localized with a soft mask while Alpha remains a deliberate independent choice rather than an RGB-filter side effect.
Alpha: Controls Alpha is disabled; the blue Effect Mask gates node contribution after processing and does not become a source-alpha kernel input.
When the result differs
- A hard filter boundary is visible.
Cause: The Effect Mask is too hard or the full-frame kernel already has a halo.
Correction: Bypass the mask and fix the kernel first, then increase feather separately.
Files for the example
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Custom Filter [CFlt]
Fusion Page Effects > Filter Nodes > Custom Filter [CFlt]: Input + Effect Mask, RGBA channel switches, 3x3/5x5/7x7 integer Filter Matrix, Update Lock, Normalize and Floor Level.
- Blackmagic Design — Fusion Tool Reference: Custom Filter
Filter Tools > Custom Filter: convolution-kernel semantics, identity/blur/edge examples, channel controls, Update Lock, Normalize and Floor Level.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion 2D image, masks, Viewer and MediaOut workflow used by these practice graphs.
7x7: Update Lock, noise/ringing and reproducible QC
Author a large kernel without needless recomputes and prove that the wider neighborhood is actually needed rather than merely looking more advanced.
Starting conditions
DaVinci Resolve / Fusion 21/21.1 article authoring; CustomFilter Controls are anchored to the current Resolve 21 Filter Nodes reference and bundled Inspector captures · DaVinci Resolve / Fusion 2D · Cross-platform reference; target-workstation live verification pending
1920 × 1080 · 24 fps · 120 frames · Fusion 2D RGBA: image → CustomFilter convolution → optional Effect Mask gate → image output
- MediaIn
- Loader
- Background
- CustomFilter
- Rectangle
- ColorCorrector
- Merge
- MediaOut
Source material
- SRC
A shot containing fine texture, high-contrast edges and motion.
Any source where haloing, noise amplification and temporal shimmer are easy to spot.
Nodes and connections
SRC— DETAIL SOURCE · MediaInCF— 7x7 TEST · CustomFilterOUT— MEDIA OUT · MediaOut
| Source | Destination | Data |
|---|---|---|
DETAIL SOURCE (SRC)Output | 7x7 TEST (CF)Input | image |
7x7 TEST (CF)Output | MEDIA OUT (OUT)Input | image |
Graph output: MEDIA OUT (OUT)
Parameter values
- 7x7 TEST (CF) / Controls / Matrix Size
"7x7"Expose the widest built-in CustomFilter neighborhood.
- 7x7 TEST (CF) / Controls / Update Lock
falseFinal state must render the authored matrix.
- 7x7 TEST (CF) / Controls / Color Channels (RGBA)
"R,G,B on; A off"Keep alpha stable during the quality comparison.
- 7x7 TEST (CF) / Controls / Normalize
0Keep normalization at its documented baseline for kernel-size comparison.
- 7x7 TEST (CF) / Controls / Floor Level
0Avoid an output offset while evaluating neighborhood behavior.
Reproduce the example
- Choose 7x7, manually enable Update Lock, enter the planned integer kernel, then disable the lock only after editing is complete.
This prevents a large matrix from forcing a new render after every cell.
Check: After the lock is disabled, the Viewer updates with the current 7x7 result.
- Build a task-equivalent 3x3/5x5 reference and compare halo/detail/noise with identical Normalize/Floor/channel states.
A 7x7 kernel is justified only when its wider spatial response provides a real advantage.
Check: You can identify a specific detail or edge that 7x7 improves without unacceptable haloing.
- Inspect around 100 percent, frame boundaries and playback on motion/noise.
A large kernel can amplify artifacts that are invisible in a fit-to-window still.
Check: There is no unacceptable ringing/shimmer, Alpha stays stable and edge behavior is acceptable across the frame.
Expected result
- MEDIA OUT (OUT) · frame 72
7x7 is kept only after a demonstrated A/B advantage; the matrix is authored with Update Lock and passes still, playback and boundary QC.
Alpha: Alpha is excluded from CustomFilter, so the quality comparison isolates RGB neighborhood response from coverage changes.
When the result differs
- 7x7 looks worse than 3x3 with stronger halo and shimmer.
Cause: The neighborhood is too wide for the detail or the coefficient sum/layout is too aggressive.
Correction: Return to a smaller Matrix Size or redesign the coefficients; do not hide the problem with downstream blur.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Custom Filter [CFlt]
Fusion Page Effects > Filter Nodes > Custom Filter [CFlt]: Input + Effect Mask, RGBA channel switches, 3x3/5x5/7x7 integer Filter Matrix, Update Lock, Normalize and Floor Level.
- Blackmagic Design — Fusion Tool Reference: Custom Filter
Filter Tools > Custom Filter: convolution-kernel semantics, identity/blur/edge examples, channel controls, Update Lock, Normalize and Floor Level.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion 2D image, masks, Viewer and MediaOut workflow used by these practice graphs.
Other outlines from the article
Identity baseline
A center 1 surrounded by zeros proves that the graph and mask are neutral before a real kernel is introduced.
- MediaIn
- CustomFilter · 3x3 identity
- MediaOut
3x3 averaging blur
Nine 1 values at the baseline normalization produce a simple nearest-neighbor average.
- MediaIn
- CustomFilter · 3x3 all 1
- MediaOut
Directional relief
Asymmetric negative/positive weights expose local differences and Floor Level moves the response into a convenient viewing range.
- MediaIn
- CustomFilter · directional kernel
- Color / Merge
RGB sharpen with original alpha
RGB is filtered while Alpha is disabled to preserve source coverage on translucent edges.
- RGBA Source
- CustomFilter · RGB on / A off
- Merge
Local custom filter
A Polygon gates the already computed CustomFilter contribution through Effect Mask.
- MediaIn
- CustomFilter
- MediaOut
- Polygon → Effect Mask
Controlled 7x7 edit
Update Lock is enabled while a large matrix is entered and disabled once for render/QC.
- Loader
- CustomFilter · 7x7
- Viewer / MediaOut
Edge pass as a technical branch
A high-pass/edge result is graded or composited as intermediate data instead of being mistaken for final beauty.
- MediaIn
- CustomFilter · edge
- ColorCorrector
- Merge
Mistakes
- Treating CustomFilter as a list of preset Blur/Sharpen effects instead of a programmable convolution kernel.
- Feeding a mask into Input and treating the blue Effect Mask as a second image source.
- Treating Effect Mask as a spatially variable kernel map.
- Entering fractional 0.x matrix values even though the current documentation specifies integer-only coefficients.
- Forgetting that the center matrix cell represents the current pixel.
- Choosing 7x7 automatically because it sounds higher quality than 3x3.
- Changing Matrix Size and coefficients simultaneously and losing cause and effect.
- Editing a large matrix with Update Lock off and forcing a render after every cell.
- Leaving Update Lock enabled and assuming the new kernel is broken.
- Treating Normalize as an automatic anti-clipping checkbox rather than a signed level control with a zero baseline.
- Hiding a poor coefficient sum with Normalize without inspecting the kernel itself.
- Moving Normalize and Floor Level at the same time.
- Treating Floor Level as a black clip rather than an additive/subtractive offset.
- Filtering Alpha by habit and damaging translucent coverage.
- Disabling a channel in Controls and debugging the wrong Common Controls switches.
- Confusing pre-processing Controls RGBA switches with post-processing Common Controls channel switches.
- Judging sharpening only in fit-to-window view rather than around 100 percent.
- Ignoring temporal shimmer and ringing on motion.
- Using an edge kernel as final beauty without understanding negative or floating-point values.
- Rotating the whole downstream image to fix an emboss direction caused by coefficient placement.
- Using a hard local Effect Mask around sharpen and creating an obvious seam.
- Ignoring frame boundaries where a full neighborhood is unavailable.
- Treating a loaded Settings preset as a separate algorithm instead of auditing its actual matrix and controls.
- Saving only kernel numbers without Matrix Size, channel state, Normalize and Floor Level.
- Using CustomTool for a simple fixed convolution and adding needless graph complexity.
- Using CustomFilter when the task actually needs multiple image inputs or arbitrary expressions.
- Ignoring premultiplied RGBA edge behavior after aggressive RGB filtering.
- Scripting matrix cells from their visible position without verifying target-build serialized IDs.
Tips
- Keep a 3x3 identity kernel as a mandatory diagnostic preset.
- Write the matrix down as text before authoring it; symmetry, coefficient sum and signs become much easier to inspect.
- For blur, begin with equal positive weights and Normalize = 0 before designing a more complex shape.
- For sharpening, compare RGB-only and RGBA versions on translucent detail.
- For edge/emboss design, use a simple high-contrast test shape instead of a busy production shot.
- On 5x5/7x7 kernels, enable Update Lock before a series of edits and disable it once after entry is complete.
- Use coefficient sum as a quick diagnostic: a very large positive sum will strongly alter level unless normalization compensates.
- Treat near-zero-sum kernels as technical/high-pass signals and plan Floor Level or downstream remapping deliberately.
- Separate response shape from response brightness: coefficients first, Normalize/Floor Level second.
- Inspect R, G, B and A separately whenever channel switches have changed.
- Prove the kernel full-frame before adding an Effect Mask so mask-edge and convolution-edge problems do not overlap.
- For local sharpening, feather the mask according to motion and texture instead of relying on a one-pixel hard boundary.
- If 7x7 produces halos, return to 3x3/5x5 before hiding the artifact with a downstream blur.
- Compare frame center and border because boundary sampling can become visible with large kernels.
- Save useful kernels as Settings with task name, Matrix Size and expected signal range.
- Keep a before/after test image next to a reusable kernel library and document known side effects.
- Leave a graph note when CustomFilter Output is a technical pass rather than final beauty.
- Move to CustomTool or a Fuse when weights need to be image-driven, nonlinear or dependent on multiple sources.
- Before automation, export a minimal .setting with one changed matrix cell and inspect serialization.
- Perform final QC in the same bit-depth/color pipeline used downstream because negative and high-range values can transform differently later.
Workflow order
- Feed a MediaIn, Loader or another 2D RGBA source into the orange CustomFilter Input.
- View Input and Output side by side and begin with a 3x3 identity kernel: center 1, all other active cells 0.
- Confirm that Output matches Input before designing an actual filter.
- Select only the RGBA channels that need filtering; for an initial RGB test, leave Alpha off and inspect alpha edges separately.
- Keep Matrix Size at 3x3 when nearest-neighbor sampling is sufficient; move to 5x5/7x7 only for a deliberately wider response.
- Enable Update Lock before entering many values into a large kernel.
- Fill the active center of Filter Matrix with integer coefficients rather than fractional 0.x values.
- Disable Update Lock and wait for the current result to render.
- Judge matrix shape first at Normalize = 0 and Floor Level = 0 so level controls cannot hide coefficient errors.
- For a basic blur, test equal positive weights and confirm that the normalized baseline preserves the expected overall level.
- For edge/emboss work, adjust directional positive and negative weights one axis at a time and inspect response polarity.
- Only after the spatial response is correct, tune Normalize separately and watch scopes/RGB values.
- Then add Floor Level if required to place an edge/relief response in a convenient downstream range.
- Inspect high-contrast edges, noise, compression blocks and fine texture around 100 percent Viewer scale.
- Play motion because strong sharpen/high-pass kernels can shimmer even when a still looks clean.
- For a local effect, connect Polygon, Rectangle or Bitmap to the blue Effect Mask and tune mask feather independently.
- Inspect frame boundaries because neighborhood filtering can behave differently there.
- A/B CustomFilter bypass and make sure downstream grading is not accidentally compensating for a broken kernel.
- Save useful kernels together with Matrix Size, RGBA state, Normalize and Floor Level as documented Settings.
- Before scripting, export a .setting/.comp and confirm the internal matrix-cell IDs on the target Resolve version.
