Anonymous user
Canny edge detector: Difference between revisions
m
→{{header|C}}: Fix wrong language name.
(Updated D entry) |
m (→{{header|C}}: Fix wrong language name.) |
||
Line 6:
# '''Tracing edges with hysteresis.''' At this stage two thresholds for the values of <math>G</math> are introduced: <math>T_{min}</math> and <math>T_{max}</math>. Starting from pixels with <math>N(p) \geqslant T_{max}</math> find all paths of pixels with <math>N(p) \geqslant T_{min}</math> and put them to the resulting image.
=={{header|
The following program reads an 8 bits per pixel grayscale [[wp:BMP file format|BMP]] file and saves the result to `out.bmp'. Compile with `-lm'.
<lang c>#include <stdint.h>
|