Edge Detection Filters


    The Sobel operator finds the gradient of the image at each pixel, and assigns a direction where the largest change from light to dark occurs. Gradient magnitudes at each pixel are used to determine which pixels lie along edge boundaries.

    The input parameters include: the input and output file names and the dimension, 2 or 3.

    Usage: itk-SobelEdgeDetectionImageFilter InputImage OutputImage dimension
    Example: itk-SobelEdgeDetectionImage BrainProtonDensitySlice.png brainout.tif 2

    Below are examples of images filtered using this technique. Shown are the original images and then the resulting filtered images:

original data level = 0.1 original data level = 0.1

Last updated March 19, 2007