Texture Filters
8 nodes
On this page 8
Blur
FunctionA Gaussian blur: softens by averaging each pixel with its neighbours, nearer ones counting more. The cost does not grow with the radius.
Blur(texture: Texture, radius: Number) -> Texture
Texture Blur(Texture texture, double radius = 4)
Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| radius | Number | 4 | The blur's size (its standard deviation), in pixels of a 1024-pixel texture. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
Dilate
FunctionGrows bright areas: each pixel takes the highest value within the radius.
Dilate(texture: Texture, radius: Number) -> Texture
Texture Dilate(Texture texture, double radius = 2)
Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| radius | Number | 2 | How far bright areas grow, in pixels of a 1024-pixel texture. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
Directional Blur
FunctionSmears the texture along one direction, as motion or a brush stroke would: brushed metal, rain streaks, wood grain from noise.
DirectionalBlur -> Texture
texture: Texture
angle: Number
length: Number
oneSided: TruthTexture DirectionalBlur(
Texture texture,
double angle = 0,
double length = 16,
bool oneSided = false)Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| angle | Number | 0 | The direction in degrees, 0 to the right, 90 down. |
| length | Number | 16 | How far the smear reaches each way, in pixels of a 1024-pixel texture. |
| oneSided | Truth | False | Smear only forward rather than both ways, so streaks start at a feature and trail from it. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
Edge Detect
FunctionBright where values change quickly and dark where they are flat: outlines of shapes, the rims of a height.
EdgeDetect -> Texture
texture: Texture
width: Number
strength: NumberTexture EdgeDetect(
Texture texture,
double width = 1,
double strength = 4)Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| width | Number | 1 | How wide the drawn edges are, in pixels of a 1024-pixel texture. |
| strength | Number | 4 | How bright an edge is for a given change. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
Erode
FunctionShrinks bright areas: each pixel takes the lowest value within the radius.
Erode(texture: Texture, radius: Number) -> Texture
Texture Erode(Texture texture, double radius = 2)
Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| radius | Number | 2 | How far bright areas shrink, in pixels of a 1024-pixel texture. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
High Pass
FunctionKeeps only the detail finer than the radius, around middle grey: removes the uneven lighting of a photograph so it tiles without visible patches, or isolates small bumps.
HighPass(texture: Texture, radius: Number) -> Texture
Texture HighPass(Texture texture, double radius = 16)
Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| radius | Number | 16 | Detail larger than this is removed, in pixels of a 1024-pixel texture. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
Non Uniform Blur
FunctionBlurs each pixel by a different amount, read from a map: white blurs fully to the maximum radius, black not at all. Softens some areas while leaving others crisp.
NonUniformBlur -> Texture
texture: Texture
amount: Texture
maximumRadius: NumberTexture NonUniformBlur(
Texture texture,
Texture amount,
double maximumRadius = 8)Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| amount | Texture | — | How much to blur each pixel, 0 to 1. |
| maximumRadius | Number | 8 | The radius where the amount is 1, in pixels of a 1024-pixel texture. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing
Sharpen
FunctionSharpens by adding back the difference between the texture and a blur of it (an unsharp mask).
Sharpen -> Texture
texture: Texture
amount: Number
radius: NumberTexture Sharpen(
Texture texture,
double amount = 1,
double radius = 1.5)Parameters
| name | type | default | description |
|---|---|---|---|
| texture | Texture | — | The texture. |
| amount | Number | 1 | How much of the difference is added. |
| radius | Number | 1.5 | The size of the detail sharpened, in pixels of a 1024-pixel texture. |
Returns
| result | Texture |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Texture Filters
- Package
- Image Processing