Skip to content

Commit ccd93a7

Browse files
author
monkstone
committed
amplify README
1 parent a459040 commit ccd93a7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

video_filtering/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
### Experiment with different edge-detection algorithms
2-
In the provide example the sketch uses a sobel filter
2+
In the provided example the the `EDGE_FUNC` is
3+
`define EDGE_FUNC edge`
4+
5+
Alternatives are `colorEdge, trueColorEdge`
6+
7+
8+
In the provided example the sketch uses a sobel filter algorithm
39

410
`#define SOBEL`
511

612
Alernatives are `KAYYALI_NESW, KAYYALI_SENW, PREWITT, ROBERTSCROSS, SCHARR`
713

814
Modify `edge_detect.glsl` directly to use these alternative algorithms included in the shader.
15+
16+
Other tunable option to experiment is `SCHARR`, that defaults to `1.0` for STEP but if `#define SCHARR` sets step at `0.15`
17+

0 commit comments

Comments
 (0)