Raster: Filter

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Nodes in this category apply filtering effects to raster graphics, such as blurring, median filtering, and dehazing.

Nodes

NodeDetailsPossible Types
Add Noise

Scatters random offsets across the colors of the input graphics, like film grain, fixed in place on the content.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Blur

Blurs the input graphics, whether vector shapes, images, or text.

A radius mask varies the blur across the content, such as along a gradient fading from sharp to blurry.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Color Halftone

Prints each color channel of the input graphics as dots of ink on a white ground, each channel on its own turned screen of dots, larger where the channel is darker.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Convolution Kernel

Recolors each pixel of the input graphics from the pixels around it, weighted by a kernel of numbers, for sharpening, blurring, edge-finding, and embossing filters of your own design.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Dehaze

Node description coming soon.

Raster → Raster
Raster[] → Raster[]
Displace

Moves each point of the input graphics by how light a map is there. Middle gray (level 128 of 255) moves nothing, and the maps' transparent areas count as middle gray.

In Angle mode, lighter areas of the Displacement map move the content along the angle, and darker areas move it the opposite way. In X and Y mode, lighter areas of the X Displacement map move it right and those of the Y Displacement map move it down, while darker areas move it left or up. These directions follow the content's own axes, turning with it.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Dissolve

Shows a random scattering of the pixels of the input graphics fully opaque and hides the rest, showing more where the content is more opaque, fixed in place on the content.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Emboss

Turns the input graphics gray and raises their edges in relief, as if lit from one side, with each color showing where it changes.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Feather

Softens the edges of the input graphics inward, fading them out to nothing at their outlines.

The fade follows the outlines around curves and corners, and parts thinner than the distance fade away entirely.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Find Edges

Traces the edges of the input graphics in dark lines over white, darker where their colors change more steeply.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
High Pass

Keeps only the fine details of the input graphics, how much each pixel differs from a blur of those around it, around middle gray where they're flat.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Median Filter

Applies a median filter to reduce noise while preserving edges.

Raster → Raster
Raster[] → Raster[]
Minimum/Maximum

Spreads the darkest or lightest colors of the input graphics, giving each pixel the darkest or lightest color in a square around it, separately for each channel.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Motion Blur

Smears the input graphics along a line, as if they moved while being captured.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Pinch

Squeezes the input graphics toward the center of a circle, or pushes them out from it.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Pixelate

Breaks the input graphics into a grid of square cells, each filled with the average color of the content within it.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Polar Coordinates

Wraps the input graphics within a square around its center, or unwraps them, clearing everything outside the square.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Radial Blur

Smears the input graphics along circles around a center, or along lines through it.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Ripple

Moves the input graphics by crossing ripples, like the surface of a pond.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Sharpen

Sharpens the input graphics by exaggerating how much each pixel differs from a blur of the pixels around it, deepening the contrast along edges and details.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Solarize

Inverts each color channel of the input graphics past its midpoint, so both its darkest and lightest values turn dark, like film exposed to light while developing.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Spherize

Bulges the input graphics out from the center of a circle, as if wrapped around a ball or an upright cylinder, or sinks them.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Twirl

Turns the input graphics around the center of a circle, the most at the center and none at its edge.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Warp

Bends the input graphics within a box into a preset shape, like an arc, a flag, or a fish, clearing everything outside the bent box.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]
Wave

Moves the input graphics across by undulations down them, and down by undulations across them, summed over generators of random wavelengths, amplitudes, and phases.

Graphic → Graphic
Graphic[] → Graphic[]
Vector → Vector
Vector[] → Vector[]
Raster → Raster
Raster[] → Raster[]
Color → Color
Color[] → Color[]
Gradient → Gradient
Gradient[] → Gradient[]
String → String
String[] → String[]
Generator → Generator
Generator[] → Generator[]