TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 gatelevel circuits delay models flipflops adders and arithm... counters LFSR and selftest memories programmable logic state-machine editor misc. demos I/O and displays DCF-77 clock relays (switch-le... CMOS circuits (sw... RTLIB logic RTLIB registers Prima processor D*CORE MicroJava Pic16 cosimulation Mips R3000 cosimu... Intel MCS4 (i4004) image processing ... color channels JPEG compres... Sobel filter Gauss filter resize rotate chessboard gamma correc... saturation chroma-keying chroma-keying purple fringing red-eye [Sch04] Codeumsetzer [Sch04] Addierer [Sch04] Flipflops [Sch04] Schaltwerke [Sch04] RALU, Min... [Fer05] State-Mac... [Fer05] PIC16F84/... [Fer05] Miscellan... [Fer05] Femtojava FreeTTS | Sobel filter
Circuit Description
A very simple filter-graph with the ImageSource connected
to the two famous Sobel-filters for edge-detection.
These are convolution-filters with operator size 3x3 and the
following matrices
(check your favorite image-processing handbook for details).
SobelX (edge-detection along x-direction): 1 2 1 0 0 0 -1 -2 -1 SobelY (edge-detection along y-direction): -1 0 1 -2 0 2 -1 0 1 Note that the original Sobel filter kernels are only sensitive to gradients in one direction (low-to-high, but not high-to-low). The second filter graph shown in the applet demonstrates how to construct the 'full' edge representation of the input image. This is done by combining (here via add operations) all four possible directions. Naturally, one could use additional filters with inverted kernels, but the filter graph above does this by mirroring the input image, applying a Sobel filter, and mirroring the output image back.
| |||
Print version | Run this demo in the Hades editor (via Java WebStart) | ||||
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German) | ||||
Impressum | http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/00-intro/02-imageprocessing/sobel.html |