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
Below are examples of images filtered using this technique. Shown are the original images and then the resulting filtered images:
|