Every slide you need, in plain words, with the derivative graphs drawn and every Laplacian and Sobel question solved the way you write it in the answer script.
Slide 3. Smoothing filters remove fine details to blur the image. Sharpening spatial filters seek to highlight fine details:
Slide 4. Applications: photo enhancement, medical image visualization, industrial defect detection, electronic printing, autonomous guidance in military systems.
Slide 5. Image derivatives give information about spatial variations in an image by calculating the rate of change of pixel intensity. They are fundamental to image analysis, enhancement and feature extraction.
Slide 6. Sharpening filters are based on first- and second-order derivatives. Differentiation measures the rate of change of a function, so sharpening is based on spatial differentiation. For a digital image, derivatives are defined in terms of differences between neighbouring pixels.
What are the objectives of sharpening spatial filters?
Sharpening spatial filters highlight fine detail in an image. Their objectives are: (1) to remove blurring from images; (2) to highlight edges; (3) to emphasize transitions (sudden changes) in image intensity. They work by spatial differentiation (first- or second-order derivatives defined by differences), which responds strongly where intensity changes and gives zero in flat areas. Uses: photo enhancement, medical visualization, industrial defect detection, electronic printing, military guidance.
The difference of two consecutive pixels:
It is just the difference between subsequent values, and it measures the rate of change of the function.
Slides 10–12, as 2-D kernels (horizontal one row, vertical one column):
| type | formula (x direction) | horizontal kernel | formula (y direction) | vertical kernel |
|---|---|---|---|---|
| forward | f(x+1,y) − f(x,y) | [0 −1 1] | f(x,y+1) − f(x,y) | [0; −1; 1] |
| backward | f(x,y) − f(x−1,y) | [−1 1 0] | f(x,y) − f(x,y−1) | [−1; 1; 0] |
| central | f(x+1,y) − f(x−1,y) | [−1 0 1] | f(x,y+1) − f(x,y−1) | [−1; 0; 1] |
It takes into account the values both before and after the current one: {f(x+1) − f(x)} − {f(x) − f(x−1)}.
Slides 15–16, as kernels: forward (positive) [1 −2 1] (and vertically [1; −2; 1]); backward (negative) [−1 2 −1] (and [−1; 2; −1]).
Gray levels along the line A–B of the slide image, with both derivatives worked out (forward 1st difference, central 2nd difference):
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| f(x) | 5 | 5 | 4 | 3 | 2 | 1 | 0 | 0 | 0 | 6 | 0 | 0 | 0 | 0 | 1 | 3 | 1 | 0 | 0 | 0 | 0 | 7 | 7 | 7 | 7 |
| 1st: f(x+1) − f(x) | -1 | -1 | -1 | -1 | -1 | 0 | 0 | 6 | -6 | 0 | 0 | 0 | 1 | 2 | -2 | -1 | 0 | 0 | 0 | 7 | 0 | 0 | 0 | ||
| 2nd: f(x+1) + f(x−1) − 2f(x) | -1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 | -12 | 6 | 0 | 0 | 1 | 1 | -4 | 1 | 1 | 0 | 0 | 7 | -7 | 0 | 0 |
Example cells: at x = 9 (the isolated point 6), the 1st derivative is f(10) − f(9) = 0 − 6 = −6 and the 2nd derivative is f(10) + f(8) − 2f(9) = 0 + 0 − 12 = −12.
Try it, step by step: both derivatives along the whole strip, one position at a time. Switch the Operation menu for the 2nd derivative.
Define the first-order and second-order discrete derivatives of a 1-D digital function f(x). What relation can be obtained between first- and second-order derivatives for an edge that is a ramp of constant slope?
First-order derivative (difference of consecutive pixels): ∂f/∂x = f(x+1) − f(x).
Second-order derivative (difference of differences): ∂²f/∂x² = [f(x+1) − f(x)] − [f(x) − f(x−1)] = f(x+1) + f(x−1) − 2f(x).
Relation along a ramp of constant slope (strip values 5 5 4 3 2 1 0 0):
[Draw the strip and the two derivative graphs above.]
Slide 17. Two families of sharpening filters: (1) Laplacian: uses the 2nd derivative; (2) Sobel / Prewitt (gradient operators): use the 1st derivative.
Slide 18. The 2nd derivative is more useful for image enhancement than the 1st derivative: stronger response to fine detail. The first sharpening filter is the Laplacian.
What are the objectives of sharpening spatial filters? Derive the Laplacian operator using image derivatives and draw four Laplacian masks.
Objectives: highlight fine detail, remove blurring, highlight edges and emphasize intensity transitions (see above).
Derivation. The Laplacian of f(x,y) is the sum of the second derivatives in x and y:
Using the forward 2nd differences:
∂²f/∂x² = f(x+1,y) + f(x−1,y) − 2f(x,y)
∂²f/∂y² = f(x,y+1) + f(x,y−1) − 2f(x,y)
Adding:
As masks: the horizontal [1 −2 1] plus the vertical [1; −2; 1] give
| 0 | 0 | 0 |
| 1 | -2 | 1 |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | -2 | 0 |
| 0 | 1 | 0 |
| 0 | 1 | 0 |
| 1 | -4 | 1 |
| 0 | 1 | 0 |
This is the positive Laplacian, from forward derivatives. With the backward form 2f(x) − f(x−1) − f(x+1) we get ∇²f = 4f(x,y) − f(x−1,y) − f(x+1,y) − f(x,y−1) − f(x,y+1), the negative Laplacian:
| 0 | -1 | 0 |
| -1 | 4 | -1 |
| 0 | -1 | 0 |
Four Laplacian masks (Figure 3.39): two 4-neighbour and two that include the diagonal neighbours:
| 0 | 1 | 0 |
| 1 | -4 | 1 |
| 0 | 1 | 0 |
| 1 | 1 | 1 |
| 1 | -8 | 1 |
| 1 | 1 | 1 |
| 0 | -1 | 0 |
| -1 | 4 | -1 |
| 0 | -1 | 0 |
| -1 | -1 | -1 |
| -1 | 8 | -1 |
| -1 | -1 | -1 |
In all cases the sum of the values in the filter is zero, so a flat area gives 0 and only changes produce a response.
Try it, step by step: the four Laplacian masks on the slide 26 image. Notice the positive and negative masks give the same number with opposite sign.
Slide 22. Applying the Laplacian to an image gives a new image that highlights edges and other discontinuities (moon picture). Flat regions become 0 (gray when scaled for display).
Slide 23. The result of Laplacian filtering is not an enhanced image; it is an edge map. To get the enhanced image, the Laplacian image is added to or subtracted from the original, depending on the sign of the mask centre w5:
Rule of thumb: the sign is chosen so that the centre pixel always ends up with a positive weight. Edges and fine detail are then much more obvious in the final sharpened image (slide 24).
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 153 | 157 | 156 | 153 | 155 | 0 |
| 0 | 159 | 156 | 158 | 156 | 159 | 0 |
| 0 | 155 | 158 | 154 | 156 | 160 | 0 |
| 0 | 154 | 157 | 158 | 160 | 160 | 0 |
| 0 | 157 | 157 | 157 | 156 | 155 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Step 1, filter: negative Laplacian [0 −1 0; −1 4 −1; 0 −1 0] at 154. Up = 158, left = 158, right = 156, down = 158.
∇²f = 4×154 − 158 − 158 − 156 − 158 = 616 − 630 = -14. This is the filtered value.
Step 2, sharpen: the mask centre is positive, so g = f + ∇²f = 154 + (-14) = 140.
The pixel was darker than its neighbours (154 against about 157) and became even darker (140), so the local contrast went up.
Try it, step by step: slide 26 sharpening: the two-step way (Laplacian, then add or subtract) and the one-pass masks. All give 140 at the 154.
The two steps can be combined into a single filtering operation:
| 0 | -1 | 0 |
| -1 | 5 | -1 |
| 0 | -1 | 0 |
| -1 | -1 | -1 |
| -1 | 9 | -1 |
| -1 | -1 | -1 |
Check on slide 26: 5×154 − 158 − 158 − 156 − 158 = 770 − 630 = 140, the same as the two-step answer.
The 8-neighbour variant comes the same way from [1 1 1; 1 −8 1; 1 1 1]: g = f − ∇²f gives centre 1 + 8 = 9 and −1 everywhere else.
Derive a positive Laplacian filter mask that enhances an image in a single filtering operation.
Positive Laplacian: ∇²f = f(x+1,y) + f(x−1,y) + f(x,y+1) + f(x,y−1) − 4f(x,y), mask [0 1 0; 1 −4 1; 0 1 0]. Its centre is negative (w5 = −4), so the enhanced image is g = f − ∇²f:
g(x,y) = f(x,y) − [f(x+1,y) + f(x−1,y) + f(x,y+1) + f(x,y−1) − 4f(x,y)]
= 5f(x,y) − f(x+1,y) − f(x−1,y) − f(x,y+1) − f(x,y−1)
| 0 | -1 | 0 |
| -1 | 5 | -1 |
| 0 | -1 | 0 |
Convolving the image with this one mask gives the sharpened image directly. Its coefficients add to 1, so flat areas keep their brightness.
Slide 31. The gradient of f at (x,y) is the vector
Slide 32. Ways to compute it: 1-D forward differences, Roberts cross-gradient, 1-D central differences, Prewitt, Sobel.
Pixel names in a 3×3 window:
| z1 | z2 | z3 |
| z4 | z5 | z6 |
| z7 | z8 | z9 |
Slide 33. 1-D forward differences: M(x,y) ≈ |z8 − z5| + |z6 − z5|.
Slide 34. Roberts cross-gradient: Gx = z9 − z5, Gy = z8 − z6; ∇f ≈ |z9 − z5| + |z8 − z6|. They are the simplest approximations, using 2×2 masks:
| -1 | 0 |
| 0 | 1 |
| 0 | -1 |
| 1 | 0 |
Slide 35. Sobel: provides differencing and detects vertical and horizontal edges. Two 3×3 kernels; Gy is Gx rotated by 90°. The centre row/column has weight 2, which also smooths a little.
| -1 | -2 | -1 |
| 0 | 0 | 0 |
| 1 | 2 | 1 |
| -1 | 0 | 1 |
| -2 | 0 | 2 |
| -1 | 0 | 1 |
Slide 36. Prewitt: used for detecting edges horizontally and vertically. Same as Sobel with weight 1 instead of 2.
| -1 | -1 | -1 |
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| -1 | 0 | 1 |
| -1 | 0 | 1 |
| -1 | 0 | 1 |
All gradient masks add up to 0: a flat area gives no response.
Try it, step by step: Gx, Gy and |G| for Sobel, Prewitt and Roberts, step by step.
Slides 37–41. Examples: coins (edges along x and along y), a contact lens enhanced with Sobel so that defects become obvious ("Sobel filters are typically used for edge detection"), and Einstein: Gy gives the vertical edges, Gx the horizontal edges (absolute values).
Slide 42. Laplacian vs Sobel on a chessboard: the Laplacian gives thin, double edges and also picks up fine texture and noise; Sobel gives thicker, stronger edges along the board lines.
Slides 43–44. Difference filters, also called emboss filters, enhance the details in the direction specific to the mask selected. The four primary masks, for edges in the vertical, horizontal and two diagonal directions:
| 0 | 1 | 0 |
| 0 | 1 | 0 |
| 0 | -1 | 0 |
| 0 | 0 | 0 |
| 1 | 1 | -1 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | -1 |
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| -1 | 0 | 0 |
The filtered image looks like a gray relief (embossed). Added back to the original, it gives a contrast-enhanced picture (Jimi Hendrix poster).
Slide 45. Unsharp masking is a classic sharpening technique. It sharpens by subtracting a blurred version from the original image. Steps:
k = 1: unsharp masking. k > 1: high-boost filtering (Figure 3.40e, an even stronger result).
| pixel | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (a) original | 10 | 10 | 10 | 10 | 10 | 30 | 50 | 70 | 90 | 90 | 90 | 90 | 90 |
| (b) blurred | 10 | 10 | 10 | 10 | 17 | 30 | 50 | 70 | 83 | 90 | 90 | 90 | 90 |
| (c) mask = a − b | 0 | 0 | 0 | 0 | -7 | 0 | 0 | 0 | 7 | 0 | 0 | 0 | 0 |
| (d) sharpened = a + c | 10 | 10 | 10 | 10 | 3 | 30 | 50 | 70 | 97 | 90 | 90 | 90 | 90 |
| high-boost, k = 2 | 10 | 10 | 10 | 10 | -4 | 30 | 50 | 70 | 104 | 90 | 90 | 90 | 90 |
Try it, step by step: unsharp masking on every pixel: blur, mask = original − blur, sharpened = original + mask.
Slide 47. Applications of unsharp masking: document scanning (enhances faint text), medical imaging (highlights subtle tissue boundaries), photography (improves clarity and detail), satellite imaging (sharpens roads and rivers).
Slide 48. DIP-XE example: (a) original, (b) blurred with a Gaussian, (c) unsharp mask, (d) unsharp masking result, (e) high-boost result.
Slide 49. Successful enhancement is usually not achieved with a single operation; we combine a range of techniques. The example enhances a whole-body bone scan:
Why mix them: the Laplacian brings out fine detail but also noise; the smoothed Sobel image is strong at real edges and weak at noise, so their product keeps detail only where there are edges. Gamma finally expands the dark range. Slide 52 compares the original and final images.
Coordinates: (row, column) from 0 at the top-left. Write the window, the mask, every product, and the sum.
3-bit 4×4 image. Find the filtered output using the negative Laplacian, a 3×3 mean, a 3×3 median, a 3×3 Sobel and a 3×3 Prewitt operator. Ignore the border pixels and put zero in the output border.
| 0 | 2 | 6 | 7 |
| 1 | 1 | 6 | 4 |
| 4 | 5 | 2 | 7 |
| 1 | 2 | 6 | 0 |
Only the four inner pixels (shaded) have a full 3×3 window.
(1) Negative Laplacian [0 −1 0; −1 4 −1; 0 −1 0]: 4×centre − up − down − left − right.
| pixel | working | value |
|---|---|---|
| (1,1) | 4×1 − 2 − 5 − 1 − 6 | -10 |
| (1,2) | 4×6 − 6 − 2 − 1 − 4 | 11 |
| (2,1) | 4×5 − 1 − 2 − 4 − 2 | 11 |
| (2,2) | 4×2 − 6 − 6 − 5 − 7 | -16 |
(2) 3×3 mean
| pixel | sum of window | ÷ 9 | rounded |
|---|---|---|---|
| (1,1) | 27 | 3.00 | 3 |
| (1,2) | 40 | 4.44 | 4 |
| (2,1) | 28 | 3.11 | 3 |
| (2,2) | 33 | 3.67 | 4 |
(3) 3×3 median
| pixel | sorted window | median |
|---|---|---|
| (1,1) | 0, 1, 1, 2, 2, 4, 5, 6, 6 | 2 |
| (1,2) | 1, 2, 2, 4, 5, 6, 6, 7, 7 | 5 |
| (2,1) | 1, 1, 1, 2, 2, 4, 5, 6, 6 | 2 |
| (2,2) | 0, 1, 2, 2, 4, 5, 6, 6, 7 | 4 |
(4) Sobel: Gx = (z3 + 2z6 + z9) − (z1 + 2z4 + z7), Gy = (z7 + 2z8 + z9) − (z1 + 2z2 + z3), |G| = |Gx| + |Gy|.
| pixel | Gx | Gy | |G| |
|---|---|---|---|
| (1,1) | 14 | 6 | 20 |
| (1,2) | 13 | -5 | 18 |
| (2,1) | 6 | 2 | 8 |
| (2,2) | 5 | -3 | 8 |
(5) Prewitt: the same with weights 1.
| pixel | Gx | Gy | |G| |
|---|---|---|---|
| (1,1) | 9 | 3 | 12 |
| (1,2) | 10 | -1 | 11 |
| (2,1) | 8 | 1 | 9 |
| (2,2) | 3 | -3 | 6 |
Output images (border = 0):
| 0 | 0 | 0 | 0 |
| 0 | -10 | 11 | 0 |
| 0 | 11 | -16 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 3 | 4 | 0 |
| 0 | 3 | 4 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 2 | 5 | 0 |
| 0 | 2 | 4 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 20 | 18 | 0 |
| 0 | 8 | 8 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 | 12 | 11 | 0 |
| 0 | 9 | 6 | 0 |
| 0 | 0 | 0 | 0 |
Worked Sobel at (1,1): window [0 2 6; 1 1 6; 4 5 2]. Gx = (6 + 2×6 + 2) − (0 + 2×1 + 4) = 20 − 6 = 14. Gy = (4 + 2×5 + 2) − (0 + 2×2 + 6) = 16 − 10 = 6. |G| = 20.
Try it, step by step: the slide 53 class work: switch filters, the border is ignored as the question says.
3×3 image [3 7 6; 2 5 8; 3 4 7]. Find the Sobel gradient-magnitude image and the edge direction of the central pixel.
Centre pixel: z1…z9 = 3, 7, 6, 2, 5, 8, 3, 4, 7.
Gx = (z3 + 2z6 + z9) − (z1 + 2z4 + z7) = (6 + 16 + 7) − (3 + 4 + 3) = 29 − 10 = 19
Gy = (z7 + 2z8 + z9) − (z1 + 2z2 + z3) = (3 + 8 + 7) − (3 + 14 + 6) = 18 − 23 = -5
|∇f| ≈ |Gx| + |Gy| = 19 + 5 = 24
Direction (deck 08 slide 23): gradient angle α = tan⁻¹(Gy/Gx) = tan⁻¹(-5/19) = -14.74°. The edge runs perpendicular to the gradient: edge direction = α − 90° = -104.74°.
Whole magnitude image with zero padding (same formulas at every pixel):
| 3 | 7 | 6 |
| 2 | 5 | 8 |
| 3 | 4 | 7 |
| 19 | 12 | -19 |
| 21 | 19 | -21 |
| 13 | 14 | -13 |
| 9 | 20 | 21 |
| -3 | -5 | -1 |
| -9 | -20 | -21 |
| 28 | 32 | 40 |
| 24 | 24 | 22 |
| 22 | 34 | 34 |
Try it, step by step: SP22: the full Sobel magnitude image with zero padding.
3×3 patch [10 10 10; 10 50 10; 10 10 10]. Apply the Sobel operator in the horizontal direction. What is the gradient value at the centre pixel?
| 10 | 10 | 10 |
| 10 | 50 | 10 |
| 10 | 10 | 10 |
| -1 | 0 | 1 |
| -2 | 0 | 2 |
| -1 | 0 | 1 |
Gx = (z3 + 2z6 + z9) − (z1 + 2z4 + z7) = (10 + 20 + 10) − (10 + 20 + 10) = 40 − 40 = 0.
(With the other mask, Gy = (10 + 20 + 10) − (10 + 20 + 10) = 0 too.) The gradient is 0: the left and right columns are equal, so there is no horizontal change across the centre. The Sobel masks have a 0 centre weight, so the bright point 50 itself is not seen. A Laplacian would respond strongly: 4×50 − 4×10 = 160.
Try it, step by step: SP25 (d)(i): Sobel gives 0 at the centre; the Laplacian does not.
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 7 | 1 | 0 | 5 | 0 |
| 0 | 6 | 3 | 6 | 2 | 0 |
| 0 | 6 | 4 | 4 | 1 | 0 |
| 0 | 1 | 5 | 7 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 |
| 7 | 1 | 0 |
| 6 | 3 | 6 |
| 6 | 4 | 4 |
| 0 | 1 | 0 |
| 1 | -4 | 1 |
| 0 | 1 | 0 |
Σ w·z = (1)(1) + (1)(6) + (-4)(3) + (1)(6) + (1)(4) = 5
Laplacian response at (1,1) = 5.
Try it, step by step: F21 (iii) at (1,1).
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | 0 |
| 0 | 7 | 7 | 7 | 2 | 7 | 7 | 7 | 0 |
| 0 | 7 | 5 | 0 | 0 | 0 | 5 | 7 | 0 |
| 0 | 5 | 1 | 1 | 0 | 1 | 1 | 5 | 0 |
| 0 | 5 | 5 | 0 | 0 | 0 | 5 | 5 | 0 |
| 0 | 3 | 3 | 3 | 2 | 3 | 3 | 3 | 0 |
| 0 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 5 | 0 | 0 |
| 1 | 1 | 0 |
| 5 | 0 | 0 |
| 0 | -1 | 0 |
| -1 | 4 | -1 |
| 0 | -1 | 0 |
Σ w·z = (-1)(0) + (-1)(1) + (4)(1) + (-1)(0) + (-1)(0) = 3
Negative Laplacian response at (3,2) = 3.
Try it, step by step: SP25 Task 2 at (3,2).
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | 0 |
| 0 | 7 | 7 | 7 | 2 | 7 | 7 | 7 | 0 |
| 0 | 7 | 5 | 0 | 0 | 0 | 5 | 7 | 0 |
| 0 | 5 | 1 | 1 | 0 | 1 | 1 | 5 | 0 |
| 0 | 5 | 5 | 0 | 0 | 0 | 5 | 5 | 0 |
| 0 | 3 | 3 | 3 | 2 | 3 | 3 | 3 | 0 |
| 0 | 7 | 7 | 7 | 7 | 7 | 7 | 7 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | -4 | 1 |
| 0 | 1 | 0 |
Σ w·z = (1)(0) + (1)(1) + (-4)(0) + (1)(1) + (1)(0) = 2
Positive Laplacian response at (3,3) = 2.
Try it, step by step: SP24 Task 2 at (3,3).
The smoothing parts of these mixed questions (max, mean, median, the 4-neighbour mask) are on the deck 06 page.
| operator | mask | derivative | use |
|---|---|---|---|
| positive Laplacian | [0 1 0; 1 −4 1; 0 1 0] | 2nd | edge/detail map |
| negative Laplacian | [0 −1 0; −1 4 −1; 0 −1 0] | 2nd | edge/detail map |
| single-pass sharpen | [0 −1 0; −1 5 −1; 0 −1 0] | 2nd | sharpened image in one step |
| 8-nbr single pass | [−1 −1 −1; −1 9 −1; −1 −1 −1] | 2nd | stronger sharpening |
| Roberts | [−1 0; 0 1], [0 −1; 1 0] | 1st | simplest gradient |
| Sobel | Gy [−1 −2 −1; 0 0 0; 1 2 1], Gx its 90° turn | 1st | edge detection |
| Prewitt | weights 1 instead of 2 | 1st | edge detection |
| unsharp / high-boost | g = f + k(f − f̄) | — | k = 1 unsharp, k > 1 high-boost |