Also, the gradient is used as an example only and other quantities such as the Laplacians, contour lines, high-pass filters etc; may be used instead, provided they yield narrow enough features so that both sides are included in the ROI and that all numerical values are made positive.