Manuscript Offprint
arXiv:2610.38530From the Superderivative to a Relative-Gradient Edge Operator
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Alejandro Garnung Menéndez, M.Sc., PhD Candidate¹
¹University of Oviedo, Gijón Polytechnic School of Engineering, Asturias, España uo269564@uniovi.es, garnungalejandro@gmail.com
Abstract—First-derivative edge detectors such as Sobel, Prewitt, Roberts and Scharr measure absolute grey-level differences. We revisit the log-gradient magnitude, a relative-gradient edge operator, and motivate it by analogy with the superderivative, a multiplicative derivative in which the independent variable is perturbed multiplicatively rather than additively. In one and two dimensions the logarithm of the superderivative is a radial logarithmic derivative; its local, origin-free, isotropic analogue is the magnitude of the logarithmic gradient. The resulting operator measures relative rather than absolute change, giving an edge-strength map that is invariant under global intensity rescaling. We present the theory, show how the operator can be implemented in two steps—a classical gradient kernel plus a pointwise division—and compare it with standard first-derivative filters on synthetic images with ground-truth edges and on the official BSDS500 benchmark. We also study a parametric family that interpolates between the absolute gradient and the log-gradient; empirically, the best members are small intermediate exponents, which edge the classical kernels by a small but statistically detectable margin in the per-image metric and, with the same Gaussian smoothing as the single- Canny, match it in ODS and lead it in OIS and AP, while the tuned Canny remains ahead in ODS. The single-threshold margin over the kernels does not replicate on the held-out test split, and the fully relative endpoint is never the best member, its ranking depending on the edge-map normalisation. The contribution is the construction and the invariance it buys, not a new state of the art.
Index Terms—superderivative, edge detection, first-derivative filters, relative gradient, log-gradient, Sobel.
I. INTRODUCTION
Edge detection is one of the oldest and most studied tasks in image processing. Classical first-derivative operators — Sobel, Prewitt, Roberts, Scharr, and many others — estimate the spatial gradient of the image intensity and declare edges where the gradient magnitude is large. All of them share the same assumption: a grey-level jump of a given size is equally important anywhere in the image.
That assumption is questionable. A jump of ten grey levels on a background of intensity five is visually much stronger than the same jump on a background of intensity two hundred. The human visual system responds approximately logarithmically to light [1], so the relevant quantity is the relative jump, not the absolute one. Several authors have incorporated this idea into tone mapping, enhancement and denoising, usually by working on the logarithm of the image. Homomorphic filtering separates illumination from reflectance by taking logarithms before filtering and exponentiating afterwards — a multiplicative image model is turned into an additive
one by , filtered, and mapped back [7]; Retinex theory builds lightness from ratios of neighbouring intensities, so that the recovered quantity is a relative rather than an absolute one [3], [4], and its later variational and centre/surround formulations keep that property [5], [6]; tone-mapping operators compress dynamic range on a logarithmic or otherwise relative scale [2], [25]. All of these act on the image before a derivative is taken. The operator proposed here puts the same relative-change principle into the derivative itself.
The superderivative is the derivative obtained by perturbing the independent variable multiplicatively rather than additively [9]; in multiplicative (non-Newtonian) calculus the same construction is the bigeometric derivative [8]. Whereas the ordinary derivative adds a small increment to the argument, , the superderivative multiplies the argument by a factor close to one, . The resulting quantity therefore measures the relative growth of with respect to a proportional change of its input, rather than the absolute growth with respect to an additive change. The ordinary derivative admits other generalisations as well: fractional calculus extends it to arbitrary real order through the Riemann–Liouville, Caputo and Grünwald–Letnikov operators [29]–[31], whereas the superderivative changes the perturbation itself. The two generalisations are independent and should not be confused: fractional calculus keeps the additive perturbation and makes the order real, while the superderivative keeps the order at one and makes the perturbation multiplicative; the superderivative is therefore not a derivative of arbitrary order, and its logarithm is an ordinary first-order derivative of . We use this relative-change principle to motivate a family of first-derivative edge operators. The simplest member of the family is the log-gradient magnitude
which replaces the absolute gradient with the relative gradient. More generally, the original two-dimensional superderivative score
measures relative change under a radial zoom centred at the origin.
Our contributions are:
- A construction motivating the log-gradient edge map as the local, isotropic, origin-free analogue of the superderivative, together with the two-dimensional radial score it comes from. The operator is motivated by, not derived from, the multiplicative derivative: the origin-dependent weights of the latter are what its isotropic form drops.
• A proof of invariance under global intensity rescaling.
-
A parametric family that interpolates between the absolute gradient and the log-gradient .
-
A discussion of why the operator is not, in its full radial form, a pure convolution, and how it can nevertheless be evaluated in two efficient steps.
• Experimental comparisons with Sobel, Prewitt, Roberts, Scharr and Canny on synthetic ground-truth images, natural images, and BSDS500.
Applications beyond edge detection are outside the present scope.
Several other designs exist. The compass operators of Kirsch [20] and Robinson [21] use a set of oriented masks (typically eight directions) and take the maximum response as the edge strength. The Farid–Simoncelli filters use larger, separable kernels that are optimally steerable and have better rotation invariance [22], [24].
The gradient magnitude is , where denotes convolution. The Canny detector adds Gaussian smoothing, non-maximum suppression and hysteresis thresholding to a gradient estimate; it is a pipeline rather than a single kernel [23]. The scale-space framework that underlies multiscale edge detection is developed by Lindeberg [27]. All of these methods treat a given absolute grey-level jump as equally significant regardless of the local mean. Indeed, consider a one-dimensional step from a baseline to . The derivative is the same for any because , where is the Heaviside step and the Dirac delta. The measured edge strength is therefore proportional to and independent of . Equivalently, at a fixed contrast ratio the absolute response grows with the background , so a fixed threshold detects equal-contrast edges unequally; this is the regime in which the relative operator of Section IV differs from the classical one, and it is tested directly in Section VI-K.
III. THE SUPERDERIVATIVE
A. One-dimensional definition
For a positive function , the superderivative is defined by [8], [9]
The limit follows from the first-order expansion , which gives
Write and assume (if the limit is ). Then
As we have , and the classical limit gives . Therefore the whole expression tends to . Taking logarithms (valid because implies ) gives the more convenient identity
The last equality is the chain rule: since , . For a power law one obtains : the superderivative extracts the exponent of homogeneous growth, i.e. the number for which for every scaling factor . This is the sense in which it measures relative change; the name superderivative is used here in the sense of multiplicative calculus [9] and is unrelated to the superderivative of supergeometry (a derivation on a superalgebra).
B. Two-dimensional extension
Definition 1 (Spatial superderivative score). Let be a positive image on a domain centred at the origin. The superderivative score is
and the 2-D superderivative is .
In polar coordinates, Eq. (7) becomes , the radial logarithmic derivative. The score is invariant under a global intensity rescaling and, after recentring, covariant under a global spatial scaling: under it is reparametrised as , so its value at corresponding points is unchanged.
C. From radial superderivative to isotropic log-gradient
The one-dimensional superderivative Eq. (3) [8], [9] measures relative growth along the ray emanating from the origin: the two evaluation points and lie on the same ray, and the quotient is the relative (multiplicative) change of when the argument is scaled by along that ray. Taking the power and the limit converts this ratio into an instantaneous relative growth rate. In two dimensions the same idea gives the radial superderivative
(8)
TABLE I: Common first-derivative kernels. estimates the horizontal and the vertical derivative. Roberts uses the two masks shown; the remaining operators define as the transpose of .
| Operator | / masks | Reference |
|---|---|---|
| Roberts | [15] | |
| Prewitt | [16] | |
| Sobel | [17] | |
| Frei-Chen / Isotropic | [18] | |
| Scharr | [19] |
Because , returning to Cartesian coordinates yields exactly the spatial score
i.e. Definition (7) is the direct two-dimensional transcription of the original definition [8], [9].
For edge detection the radial score has two shortcomings: it depends on the choice of origin through the weights x and y, and it measures change only in the radial direction. We therefore seek a local, origin-free and direction-independent measure of the same relative-change quantity.
The logarithmic derivative in one dimension is . Its natural two-dimensional extension is the logarithmic gradient
Taking the Euclidean norm gives
which measures the total relative rate of change of without privileging any direction. For a purely radial image we have , and therefore
Thus the isotropic operator equals the radial logarithmic derivative of the image intensity — not the radial superderivative itself, which is . The isotropic operator is therefore a natural local, origin-free analogue of the original radial superderivative Eq. (3), though not a derived counterpart: the superderivative is an exponential (multiplicative) object, so its exact isotropic multiplicative analogue would be , whereas the isotropic operator is the additive logarithmic gradient that underlies it. We keep the isotropic operator, written in Eq. (13), because it is the quantity that is directly comparable to the classical gradient magnitude, and we use it as an analogue motivated by the same relative-change principle rather than as a unique extension of the superderivative. In one dimension the distinction is explicit: dropping the weight from leaves the logarithmic derivative , which is the logarithm of the geometric derivative , not of the bigeometric one. The isotropic operator is thus a per-direction geometric log-derivative, and the superderivative contributes the relative-change principle and the radial score rather than the exact operator.
D. Why it is not a convolution
A standard first-derivative filter such as Sobel is a convolution: the same kernel is applied at every pixel. The radial score L cannot be expressed as a convolution because the weights x and y depend on the global coordinates. However, as we show below, a local and isotropic operator with the same relative-change semantics can be obtained by combining a classical derivative kernel with a pointwise division.
IV. THE SUPERDERIVATIVE EDGE OPERATOR
A. The isotropic log-gradient edge map
Section III-C motivated the magnitude of the logarithmic gradient as the local, origin-free, isotropic analogue of the radial superderivative. We define the relative-gradient edge-strength map as
It is the classical gradient magnitude divided pointwise by the local intensity. It should not be confused with the canonical radial score L of Eq. (7): is an isotropic operator inspired by the same relative-change principle, while L is the direct two-dimensional transcription of the original superderivative.
Relation to existing work: The quantity is not new in itself, and it is worth saying so plainly. It is the magnitude of the logarithmic (or relative) gradient, the differential form of the Weber contrast (the relative luminance change, named after E. H. Weber, that the eye detects against a background ) [1], and it is what a gradient operator computes after the logarithmic transform used in homomorphic filtering [7], in logarithmic image processing [10], and in tone mapping [2]. Multiplicative (non-Newtonian) calculus, in which the geometric derivative of a positive function is and the bigeometric derivative is [8], [26], has been developed as a self-contained theory and applied to image analysis by Florack and van Assen [11], who use the multiplicative derivative in diffusion-tensor imaging and strain analysis; they do not, however, propose the log-gradient as an edge measure. Two further families of illumination- and contrast-robust detectors are related. Phase congruency detects features where the Fourier components are maximally in phase and is invariant to image contrast [12]; the ratio-of-averages detector for synthetic-aperture radar images is designed for multiplicative speckle noise [13]. Neither is a first-derivative kernel of the image intensity: phase congruency normalises a frequency-domain local energy, and the ratio-of-averages detector uses the ratio of local means over two regions rather than a pointwise logarithmic derivative. A systematic comparison with them is left to future work. What the present paper adds is not the operator but the route to it: is motivated as the local, origin-free analogue of the radial superderivative [8], [9] (Eq. (7)), which fixes the two defects of that score — its dependence on the choice of origin and its blindness to tangential change — and the parametric family of Section V, which shows that the fully relative operator is not the best member of its own family.
Proposition 1 (Intensity invariance). is invariant under a global intensity rescaling for any c > 0.
Proof. .
Proposition 2 (Positivity). If everywhere, then everywhere.
B. Relation to the radial score
The radial score and the log-gradient are two facets of the same idea. In polar coordinates,
Thus is the radial component of the log-gradient, while is its full magnitude and therefore also captures the angular component. For images with strong radial symmetry, or may be preferred; for general edge detection we use . Figure 1 compares the canonical radial score , its normalised form , and the isotropic operator on two natural images, one radially structured about its centre and one not. On the retinal fundus the radial forms are adapted to the symmetry and follow the vessel arcade; on the astronaut the isotropic operator is more generally applicable. At an intensity step the canonical radial score gives a single signed response because it is a directed derivative, whereas the magnitude forms and take absolute values and, through the (or ) weight, emphasise the dark side of the step; the result remains a single, generally asymmetric peak rather than a double-lobed or second-derivative-like profile.
C. Implementation
The operator can be evaluated in two steps. Algorithm 1 gives a concise description; any classical derivative kernel can be used in line 1.
Algorithm 1 Isotropic relative-gradient edge-strength map (implements Eq. (13), not the radial score L of Eq. (7)).
Require: Greyscale image , derivative kernel
Ensure: Edge-strength map
1: Compute and
2:
3: return
Step 1 is a convolution; step 2 is pointwise. The whole operator therefore has the same computational complexity as a classical gradient magnitude plus one division per pixel. The two-step procedure estimates Eq. (13) with the same finite-difference kernel as a classical gradient magnitude: the kernel provides an estimate of , and the pointwise division by yields . The only approximation inherited from classical methods is the choice of finite-difference kernel.
The two factors of Eq. (13) can also be discretised in the opposite order. Since in the continuum, one may instead apply the kernel to the logarithmic image and take . The two estimates agree away from a step but differ at one: the first weights the intensity difference by the value at a single pixel, so at a step from to it gives on one side and on the other, whereas the second gives the symmetric logarithmic difference on both sides. The two-step form is the default because it reuses the classical kernels directly; Section VI-L compares the two.
A practical caveat is that real images may contain zero-valued pixels. A small offset can be added to the denominator, giving . This breaks exact intensity invariance in the darkest regions but avoids numerical instability.
V. A PARAMETRIC FAMILY
The absolute gradient and the log-gradient are two extreme points of a single parametric family:
For we recover the classical absolute gradient magnitude. For we recover the superderivative/log-gradient magnitude. Values give an intermediate behaviour: the response is partially normalised by the local intensity without becoming as aggressive as the full log-gradient in dark regions.
Proposition 3 (Intensity invariance of the family). is invariant under if and only if p = 1.

Fig. 1: Comparison of the canonical radial score , its normalised version , and the isotropic superderivative (Eq. (13)). The retinal fundus is radially structured about the image centre (radial illumination falloff, macula at the centre, vessel arcade sweeping around it), which is the regime the radial forms assume; the astronaut has no such symmetry, and the isotropic form is the recommended operator for general edge detection.
Proof. and . Therefore , which equals if and only if .
Remark 1 (Gamma transforms). Since , a gamma transform multiplies by the constant and leaves the normalised edge map unchanged, while for it gives the position-dependent factor . The operator is thus covariant under gamma, not merely scale-invariant — one more property pulling against the experiments, which prefer a small interior exponent ().
Thus the full log-gradient () is the unique intensity-invariant member of the family; members with trade some invariance for numerical stability.
The above observation is important in practice: exact intensity invariance requires , but the BSDS500 experiments below show that the best empirical performance is obtained with a small interior exponent (). The slight loss of invariance is compensated by better stability in dark regions.
A. Regularisation and robust alternatives
The raw log-gradient can become numerically unstable or visually faint when is small or when the relative change is very small. Several regularised variants keep the same relative-change semantics while improving robustness:
- Additive regularisation: with . In bright regions this behaves like ; in dark regions it behaves like an absolute gradient scaled by ,
which avoids division-by-zero and prevents the map from collapsing to black.
- Local-mean denominator: replace by , where the locally averaged intensity is computed with a box/Gaussian filter of radius and then raised to the same exponent. This makes the denominator robust to shot noise while retaining the relative-change interpretation at scales larger than .
Figure 2 compares these variants on natural images.
VI. EXPERIMENTS
A. Setup
We generated five synthetic images with known ground-truth edges:
-
Circles: concentric annuli with five boundaries.
-
Square: a bright square on a dark background.
-
Checkerboard: an checkerboard.
-
Triangle: a bright triangle on a dark background.
-
Ramp: a linear intensity ramp with an additive step.
The annulus boundaries, the triangle boundary, and the square boundary are computed analytically from the generating mask, so the ground truth does not depend on any detector; the checkerboard ground truth is the grid of internal boundaries of the generating mask, and the ramp ground truth is the column of the additive step. For each image we computed the edge-strength maps of the proposed operator, the radial score , and the classical operators Sobel, Scharr, Prewitt, Roberts and Canny. The proposed and radial operators use the

Fig. 2: Alternative superderivative formulations, one row per image and one column per formulation: original, Sobel, the log-gradient , the parametric , the additively regularised and the local-mean denominator. The lunar image is included because its dark sky is where an unregularised division by is worst behaved, which is what the regularised and local-mean variants are for. Maps are scaled to their 99th percentile, so a single saturated pixel in the dark sky cannot blacken the rest of the panel.
Sobel kernel throughout, while each classical operator uses its own kernel, so that the parametric comparison is an ablation against the same kernel for the proposed family; the input is clipped to , each map is scaled to by its minimum and maximum, thresholded at 23 levels linearly spaced in , and thinned to a one-pixel skeleton (scikit-image skeletonize) before matching. The best F1 over the threshold sweep was computed with a one-pixel localisation tolerance, as in the BSDS benchmark (Section VI-F). Here is the harmonic mean of precision and recall at a given threshold, and the “best” is taken over the threshold sweep; a one-pixel localisation tolerance credits a predicted edge that falls within one pixel of the ground truth, instead of requiring exact coincidence. A strict pixel-exact rule is not used to rank detectors, because it charges a one-pixel offset as both a false positive and a false negative.
B. Quantitative results
Table II reports F1 scores. On these piecewise-constant images most first-derivative methods, including the proposed one, recover the edges almost perfectly. The main exceptions are Roberts on the triangle, whose response misses part of the boundary (0.871), and the radial score, which fails on the ramp, whose gradual slope is tangential to the radial direction over most of the image, and loses on the checkerboard, whose axis-aligned internal boundaries are mostly perpendicular to the radial direction away from the centre. A strict pixel-exact rule would charge the one-pixel offset of detectors such as Roberts, and of Canny on the ramp, as both a false positive and a false negative, an artefact of the metric rather than a property of the operators; we therefore report only the tolerance-based rule throughout. Because these piecewise-constant images cannot separate the operators, Section VI-K isolates the regime where the relative and absolute weights must differ.
C. Visual comparison
Figure 3 shows the edge-strength maps. The superderivative operator gives thin, clean responses at intensity discontinuities, similar to Sobel and Scharr. Because it normalises by the local intensity, its response is more uniform across objects of different brightness.
D. Intensity-scale invariance
To verify the main theoretical property experimentally, we took a synthetic piecewise-constant image and multiplied it by . The Sobel edge-strength map scales linearly with (, whereas the superderivative map remains unchanged because the factor cancels in . Figure 4 shows the maps on a common absolute scale: the Sobel maps become brighter as increases, while the superderivative maps are visually identical.
E. Natural images
Figure 5 shows edge-strength maps for six standard natural images. The superderivative operator produces responses comparable to Sobel and Scharr, with slightly cleaner behaviour in regions of very different brightness because of the intensity normalisation.
F. BSDS500 benchmark
We evaluated the detectors on the 100 images of the BSDS500 validation split with the official boundary benchmark of Arbeláez et al. [28]. The matching code is the original Berkeley C++ implementation (the same correspondPixels used by the released benchmark), so the pixel correspondence is the optimal, minimum-cost assignment of the Berkeley CSA solver rather than an approximation. Following the official defaults, each of the five (or six) human boundary maps is used separately, the prediction is thresholded at the 99 levels and thinned to a one-pixel
TABLE II: Best F1 on synthetic ground-truth edges under a threshold sweep with one-pixel localisation tolerance (Section VI-F). Highest score per image is in bold. Most first-derivative methods are within about 0.02 of each other; the exceptions are Roberts on the triangle and the radial score on the ramp and checkerboard, where their respective definitions are a genuine handicap.
| Image | (Sobel) | Sobel | Scharr | Prewitt | Roberts | Canny | |
|---|---|---|---|---|---|---|---|
| Circles | 0.986 | 0.985 | 0.986 | 0.988 | 0.984 | 0.979 | 0.980 |
| Square | 1.000 | 1.000 | 0.998 | 0.998 | 0.998 | 0.998 | 0.996 |
| Checkerboard | 1.000 | 0.942 | 0.998 | 0.998 | 0.998 | 1.000 | 0.998 |
| Triangle | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 0.871 | 0.998 |
| Ramp | 0.996 | 0.188 | 0.996 | 0.996 | 0.996 | 1.000 | 0.996 |

Fig. 3: Edge-strength maps for synthetic images. Rows correspond to concentric annuli, square, checkerboard, triangle and intensity ramp; columns show the original image, ground truth, and the outputs of the superderivative operator (), the radial score, Sobel, Scharr, Prewitt, Roberts and Canny. The radial score on the ramp collapses to a single spot because the gradual slope contributes only a weak, coordinate-weighted response, while the additive step produces a strong localised peak that dominates the normalised colour scale.
skeleton (scikit-image skeletonize), and the thresholded map is matched to each human map within 0.0075 of the image diagonal with an outlier cost of 100. We report the optimal dataset scale (ODS, the best F-measure obtained with a single threshold shared by all images), the optimal image scale (OIS, the best F-measure obtained with the threshold tuned for each image) and the average precision (AP). ODS and OIS take the maximum over the fixed 99-threshold grid rather than interpolating between thresholds, and AP follows the official recall interpolation. The detectors are our own implementations (finite-difference kernels and the Canny of SCIKIT-IMAGE, with the automatic thresholds of that library and tuned per image over ), and the input is clipped to to keep the relative operators finite in dark regions. Each edge map is scaled to before thresholding, by its minimum and maximum in the main table and by its 99th percentile in the robustness check of
Section VII.
Table III reports the result. The tuned Canny is the best method in ODS and OIS (0.679 and 0.674), and its ODS margin over the best member of the parametric family is large (+0.088) and significant on a paired t-test over the per-image OIS (+0.031, ). Canny's is tuned per image here, but its advantage does not come from that tuning: with a single global chosen by ODS the same detector still reaches ODS 0.658 and OIS 0.653, far ahead of the unsmoothed family, so the comparison is not an oracle. The Canny maps of SCIKIT-IMAGE are binary, so their threshold sweep is degenerate and their ODS (pooled counts) can exceed their OIS (mean per-image best), because the two aggregate the per-image F-measures differently; the ordering against the continuous maps is unaffected. Among the first-derivative kernels the parametric family peaks at on the validation split, where it has the best ODS (0.591) and AP (0.651) of the

Fig. 4: Intensity-scale invariance. Rows correspond to global scalings of the same image. Both edge maps are displayed on a common absolute scale, without per-image normalisation. Sobel's absolute response grows linearly with ; the superderivative absolute response remains unchanged (up to numerical round-off). The displayed image for is saturated, but the operators process the unclipped values.
family and beats the raw Sobel, Prewitt and Scharr kernels by 0.004–0.009 in ODS; its per-image OIS advantage is small but significant (+0.005 to +0.006, bootstrap 95% CI [+0.002, +0.009], ), and is statistically indistinguishable from in OIS (-0.0001, 95% CI [-0.004, +0.005], ) but has a lower ODS (0.538). Table VI repeats the comparison on the 200 held-out test images, which were not used to choose . The per-image OIS and AP advantages replicate (+0.004 to +0.006 in OIS, bootstrap 95% CI [+0.002, +0.008], ; +0.003 to +0.004 in AP), but the single-threshold ODS margin over Sobel and Prewitt does not: on the held-out split (0.588) is statistically tied with Sobel (0.589) and marginally below Prewitt (0.591), while still above Scharr (0.586). The interior optimum is therefore robust in the per-image metric, but the headline ODS gain over the kernels is confined to the validation split; we state both and do not claim the ODS margin as a held-out result. The full superderivative is worse than the classical kernels under min-max, by 0.13 in ODS and 0.046 in OIS (bootstrap 95% CI [-0.073, -0.021], ), because dividing by the local intensity amplifies noise in dark regions, and is worse still. The interior optimum is robust to the normalisation. Table V repeats the benchmark with a robust percentile normalisation: the family still peaks at a small interior exponent (, ODS 0.617, with and at 0.613 and 0.611) and still beats the kernels (0.600–0.601), so the optimum is not an artefact of the min-max threshold grid. The collapse of the fully relative endpoint, however, is: is below the
kernels under min-max but statistically indistinguishable from them under percentile (per-image OIS difference from Sobel -0.002, 95% CI [-0.015, +0.010], ), so its ranking is a threshold-grid effect of the min-max scaling rather than a property of the relative gradient. The two discretisations are likewise comparable under percentile (log-image Sobel 0.604 against two-step Sobel 0.601). Two baselines that the construction invites confirm the picture. Discretising the log-gradient on the logarithmic image, , gives ODS 0.578 and AP 0.626, close to the two-step Sobel kernel, so the two-step form is not disadvantaged by its discretisation. The additively regularised variant (, ) recovers ODS 0.574 with OIS 0.644 and AP 0.649, above the full and competitive with the classical kernels, which is what the regularised denominator is for. Finally, the comparison with Canny is not like-for-like: Canny adds non-maximum suppression and hysteresis to Gaussian smoothing, whereas the family here is only a thresholded edge-strength map. To separate the effect of smoothing from that of the full pipeline, we apply the same Gaussian pre-smoothing to the classical kernels and to the family, with a single chosen by ODS for each (as for the single- Canny above). This changes the picture: at reaches ODS 0.659, OIS 0.684 and AP 0.713, against ODS 0.658, OIS 0.653 and AP 0.652 for the single- Canny and ODS 0.586, OIS 0.637 and AP 0.647 for unsmoothed Sobel. The smoothed family therefore matches the single- Canny in ODS and leads it in OIS and AP, while the tuned Canny remains ahead in ODS. Smoothed Sobel at (ODS 0.650, OIS 0.679, AP 0.707) shows that most of the gain over the unsmoothed kernels comes from the smoothing rather than the normalisation, the latter adding a small margin on top. This does not isolate the contribution of non-maximum suppression and hysteresis, which the family does not implement. The value of the construction is therefore the family rather than its endpoint: a small interior intensity normalisation helps by a small but detectable margin, the optimum is interior, and a tuned Canny remains ahead of the unsmoothed kernels.
Figure 6 summarises the results under min-max. The parametric family peaks at a small interior exponent under both normalisations: under min-max and under percentile, with and close behind. The peak is shallow in OIS, and the drop of the large exponents under min-max is the statistically solid effect.
G. Outlook: mathematical alternatives and extensions
The framework invites several refinements without introducing post-processing; none of them is evaluated on BSDS500 here, and they are listed as outlook rather than results.
Parametric exponent. The family lets the user choose the degree of intensity normalisation. The BSDS500 experiments suggest as a good compromise between invariance and stability.
Regularised denominator. Replacing by avoids overflow in dark regions. The resulting map tends to the log-gradient when and to a scaled

Fig. 5: Edge-strength maps for natural images (brick, camera, chelsea, coffee, coins, moon). Columns show the original image and the outputs of the superderivative operator (), Sobel, Scharr, Prewitt, Roberts and Canny.

Fig. 6: Official BSDS500 results on the validation split. Left: ODS for each method. Right: ODS and OIS as a function of the parametric exponent .
absolute gradient, , when ; it is a one-parameter family distinct from , and the two can be combined as . The additively regularised variant is included in the BSDS500 comparison above.
Radial score for symmetric objects. For images with
approximate radial symmetry, the score or its normalised version can be used directly. It measures relative change under a zoom and is therefore naturally scale-covariant after recentring: under a spatial rescaling it is reparametrised, not multiplied by a factor, so its value at corresponding points is unchanged.
Higher-order operators. Just as the Laplacian extends the gradient, one can take the divergence of the relative-gradient field or apply the multiplicative derivative twice, giving a relative-curvature operator. A systematic treatment is left for future work; the expression used here is only a candidate and is not the second bigeometric derivative.
Scale-space. All kernels in Table I can be applied after Gaussian smoothing at scale . A multi-scale superderivative
TABLE III: Official BSDS500 boundary benchmark on the 100 validation images (ODS/OIS/AP; five human maps used separately; 99 thresholds; thresholded prediction thinned to one pixel; optimal-assignment matching within 0.0075 of the image diagonal; outlier cost 100; edge maps scaled to [0, 1] by their minimum and maximum). Our own detector implementations, so the values are not directly comparable to published results for other detectors. Higher is better; best in bold.
| Method | ODS | OIS | AP |
|---|---|---|---|
| Canny (tuned ) | 0.679 | 0.674 | 0.613 |
| Canny (single ) | 0.658 | 0.653 | 0.652 |
| Parametric | 0.591 | 0.643 | 0.651 |
| Prewitt | 0.587 | 0.638 | 0.647 |
| Sobel | 0.586 | 0.637 | 0.647 |
| Scharr | 0.582 | 0.637 | 0.645 |
| Log-image Sobel | 0.578 | 0.633 | 0.626 |
| Regularised | 0.574 | 0.644 | 0.649 |
| Roberts | 0.570 | 0.629 | 0.631 |
| Parametric | 0.538 | 0.643 | 0.647 |
| Parametric | 0.483 | 0.638 | 0.641 |
| Superderivative | 0.456 | 0.592 | 0.644 |
| Parametric | 0.433 | 0.478 | 0.644 |
TABLE IV: Effect of Gaussian pre-smoothing on the same BSDS500 validation split (min-max normalisation). A single is chosen by ODS for each method, as for the single- Canny. The unsmoothed kernels are compared against Canny, but once both are smoothed the family matches the single- Canny in ODS and leads it in OIS and AP, while the tuned Canny remains ahead in ODS. Higher is better; best in bold.
| Method | ODS | OIS | AP |
|---|---|---|---|
| 0.659 | 0.684 | 0.713 | |
| Canny (single ) | 0.658 | 0.653 | 0.652 |
| Sobel, | 0.650 | 0.679 | 0.707 |
| 0.631 | 0.667 | 0.686 | |
| Sobel, | 0.620 | 0.662 | 0.680 |
| 0.609 | 0.650 | 0.662 | |
| Sobel, | 0.593 | 0.644 | 0.657 |
| (no smoothing) | 0.591 | 0.643 | 0.651 |
| Sobel (no smoothing) | 0.586 | 0.637 | 0.647 |
TABLE V: Same official BSDS500 benchmark as Table III but with each edge map scaled to [0, 1] by its 99th percentile instead of its minimum and maximum. The interior optimum of the family and its margin over the kernels survive the change; the min-max collapse of the larger exponents does not. Higher is better; best in bold.
| Method | ODS | OIS | AP |
|---|---|---|---|
| Canny (tuned ) | 0.679 | 0.673 | 0.611 |
| Canny (single ) | 0.653 | 0.627 | 0.619 |
| Parametric | 0.617 | 0.648 | 0.631 |
| Regularised | 0.617 | 0.648 | 0.632 |
| Parametric | 0.613 | 0.645 | 0.629 |
| Parametric | 0.611 | 0.647 | 0.638 |
| Log-image Sobel | 0.604 | 0.637 | 0.614 |
| Parametric | 0.601 | 0.639 | 0.620 |
| Sobel | 0.601 | 0.641 | 0.633 |
| Prewitt | 0.601 | 0.643 | 0.633 |
| Scharr | 0.600 | 0.641 | 0.632 |
| Roberts | 0.595 | 0.634 | 0.617 |
| Parametric | 0.573 | 0.620 | 0.599 |
operator would compute at several scales and combine the responses.
H. Parametric family visualisation
Figure 7 shows the parametric edge-strength maps for several values of . As increases, the response becomes more uniform across regions of different brightness,
but the division by smaller intensities also amplifies noise in dark areas.
I. Noise robustness
Figure 8 compares the detectors as additive Gaussian noise increases. Because the relative operator divides by the local intensity, additive noise is amplified where is small, so its advantage over the classical kernels at low noise reverses at high noise: measured as best F1 against the synthetic ground truth of Fig. 3, at the relative map is marginally ahead of Sobel (1.000 vs. 0.998), at they are comparable (1.000 vs. 0.998), and at the relative map collapses (0.265 for , 0.038 for ) while Sobel holds at 0.992. This is the same dark-region amplification that limits on BSDS500, and it is what the regularised denominator of Section V-A is for; the low-light experiment below makes the point in the spatial domain.
J. Low-light and texture
Figures 9 and 10 show two additional regimes: images under simulated low-light conditions and highly textured natural surfaces. Under simulated low light the proposed operator degrades less than the classical kernel in the map-difference sense: the mean absolute difference between the normal-light and low-light maps, relative to the normal-light mean, is 0.249 at and 0.235 for the regularised variant, against 0.321 for Sobel, while the fully relative is the worst at 0.603. This measure is a self-consistency check, not an accuracy metric, and low light here is a gamma compression plus additive noise rather than the global rescaling of the invariance proposition. On textured images the operator likewise suppresses weak texture gradients through the same normalisation, at the cost of some faint true edges.
K. Controlled checks of relative versus absolute change
Because the global rescaling of the invariance proposition cancels under any per-image normalisation, the invariance is only observable without normalisation (Fig. 4). Its practical content is that equal contrast ratios receive equal response. Figure 11 and the numbers below isolate that content on two analytic images. On two steps of the same absolute size 0.05 but on backgrounds 0.10 and 0.50, the ratio of the bright-step to dark-step peak response is 1.000 for Sobel and 0.273 for ; on two steps of the same contrast ratio 0.20 but on the same two backgrounds, it is 5.000 for Sobel and 1.000 for . On a reflectance image with faint edges, , multiplied by a smooth illumination field , the best F1 against the edges of is 1.000 for () against 0.998 for Sobel, and is already at the level reached by Sobel after exact division by . The gain is small for a smooth field, as expected, and grows with the dynamic range of the illumination; it is this contrast equalisation, not the global rescaling of Fig. 4, that the relative normalisation buys.
TABLE VI: Same protocol as Table III on the 100 validation and the 200 held-out test images (min-max normalisation). The exponent was chosen on validation only. The per-image OIS and AP advantages over the kernels replicate on the held-out split; the ODS margin over Sobel and Prewitt does not. Our own detector implementations; higher is better; best in bold.
| Method | Validation (100) | Test (200) | ||||
|---|---|---|---|---|---|---|
| ODS | OIS | AP | ODS | OIS | AP | |
| Canny (tuned ) | 0.679 | 0.674 | 0.613 | 0.681 | 0.674 | 0.617 |
| Parametric | 0.591 | 0.643 | 0.651 | 0.588 | 0.637 | 0.646 |
| Prewitt | 0.587 | 0.638 | 0.647 | 0.591 | 0.633 | 0.642 |
| Sobel | 0.586 | 0.637 | 0.647 | 0.589 | 0.633 | 0.642 |
| Scharr | 0.582 | 0.637 | 0.645 | 0.586 | 0.631 | 0.641 |
| Superderivative | 0.456 | 0.592 | 0.644 | 0.458 | 0.599 | 0.645 |

Fig. 7: Parametric family for on natural images. is the absolute gradient; is the superderivative/log-gradient.
L. Discretisation of the relative gradient
The two discretisations of agree away from a step but not at one. On the synthetic piecewise-constant images of Fig. 3, the two-step form reaches best F1 1.000 and the log-image form reaches 0.998: the two are within the tolerance of the benchmark, so the two-step form used throughout is a sound discretisation and the small difference is not what drives the behaviour on BSDS500, which is a dark-region effect rather than a discretisation artefact.
VII. DISCUSSION
On the official BSDS500 validation split a small interior exponent (–0.5) gives a small but statistically detectable improvement over the classical first-derivative kernels under both a min-max and a robust percentile normalisation of the edge maps, so the interior optimum is not an artefact of the threshold grid. On the held-out test split the per-image OIS and AP advantages replicate, while the single-threshold ODS margin over Sobel and Prewitt does not (Table VI), so the positive claim is stated per-image and the ODS margin is confined to the validation split. The fully relative operator ()
is never the best member and its ranking is normalisation-sensitive: division by a small amplifies dark-region noise, and the min-max scaling of a heavy-tailed map turns that noise into a threshold-grid effect that the percentile normalisation removes. On the synthetic piecewise-constant geometry most first-derivative methods recover the edges almost equally well, with Roberts on the triangle as the exception. The conceptual advantage of the framework—making the absolute-to-relative passage explicit—and the verified intensity-scale invariance at (Fig. 4) remain, but they do not by themselves select the empirically best member of the family.
Its main limitation is the division by . In very dark regions a small amount of noise is amplified because the denominator is close to zero. In practice this is mitigated by adding a small offset to the denominator, at the cost of a slight loss of exact invariance in the darkest areas. A second limitation is that the full radial score is not shift-invariant, because the weights and are measured from the image centre. The isotropic version restores shift invariance and is the recommended form for general edge detection. A third, methodological limitation is that neither the unsmoothed nor the merely smoothed first-derivative kernels are like-for-like

Fig. 8: Robustness to additive Gaussian noise. Rows correspond to increasing noise standard deviation; columns show the noisy input and the outputs of the superderivative (), Sobel, Scharr and Prewitt operators.
comparisons with Canny, which also applies non-maximum suppression and hysteresis. Table IV shows that once the same Gaussian smoothing is applied, the family matches the single- Canny in ODS and leads it in OIS and AP, but the tuned Canny remains ahead in ODS; the comparison therefore separates the effect of smoothing from that of the full Canny pipeline only partially.
Future work includes adding non-maximum suppression and hysteresis thresholding (as in Canny), mathematical robust-
tifications of the general formulation and its discretisation, multi-scale extensions, and applying the operator to image enhancement, segmentation and feature detection.
VIII. CONCLUSIONS
We have revisited the log-gradient edge operator and motivated it by analogy with the superderivative, a multiplicative derivative in which the independent variable is perturbed multiplicatively. The operator measures relative rather than

Fig. 9: Edge detection under normal (top row) and simulated low-light (bottom row) conditions. Low light is a gamma compression followed by additive sensor noise , not the global rescaling of the invariance proposition, under which the maps are identical to machine precision (Fig. 4). What degrades the response is the noise, not the loss of light. Figures are means over ten noise realisations with a fixed seed (42); the spread is for and the regularised variant and for .

Fig. 10: Edge detection on textured images (gravel, page, cell). The superderivative column uses .
absolute intensity change, is invariant under global intensity rescaling, and can be implemented in two simple steps. A parametric family interpolates between the absolute gradient and the log-gradient; on synthetic images most first-derivative methods recover the edges almost perfectly, with Roberts on the triangle as the exception, while on the official BSDS500 benchmark the best members are small intermediate exponents (–0.5), edging the classical kernels by a small but detectable margin in the per-image metric; the single-threshold ODS margin over the kernels holds on the validation split but
not on the held-out test split, and the fully relative endpoint is never the best member, its ranking depending on the edge-map normalisation. With the same Gaussian smoothing that the single- Canny uses, the smoothed family matches it in ODS and leads it in OIS and AP, while the tuned Canny remains ahead in ODS; the unsmoothed comparison therefore understates the smoothed family, though it does not isolate the effect of non-maximum suppression and hysteresis. The contribution is therefore the construction, the invariance it buys, and a clear account of when it helps — a small gain at

Fig. 11: Controlled checks of the relative change on analytic images. Top row: reflectance , smooth illumination field and the image ; bottom row: Sobel, () and on , all scaled to their 99th percentile. Sobel also responds to the illumination gradient, whereas the relative operators are close to the reflectance edges.
and a loss at — not a new state of the art in boundary detection. The natural next step is to embed in a full edge pipeline with smoothing, non-maximum suppression and hysteresis thresholding and to re-evaluate whether the same interior exponent is preferred.
DATA AND CODE AVAILABILITY
The BSDS500 dataset is publicly available from the Berkeley Computer Vision Group. The reference implementation, the synthetic evaluation, and the official BSDS500 boundary evaluation (src/official_bsdss/), which links the unmodified Berkeley matching code, together with the frozen results reported in this paper, are available at https://github.com/agarnung/computervisionmiscellaneous (directory papers/superderivative). The frozen result files src/synthetic_results.json, src/bsdss_results_official_code.json (validation split), src/bsdss_results_official_code_test.json (held-out test split) and src/bsdss_results_official_code_percentile.json (percentile normalisation), which the evaluation and the synthetic benchmark regenerate deterministically.
REFERENCES
[1] G. T. Fechner, Elemente der Psychophysik. Leipzig, Germany: Breitkopf und Härtel, 1860. (Fechner's logarithmic law; the Weber contrast is named after E. H. Weber.) [2] E. Reinhard et al., "Photographic tone reproduction for digital images," ACM Trans. Graph., vol. 21, no. 3, pp. 267–276, 2002. [3] E. H. Land and J. J. McCann, "Lightness and retinex theory," J. Opt. Soc. Amer., vol. 61, no. 1, pp. 1–11, 1971. [4] E. H. Land, "The retinex theory of color vision," Sci. Amer., vol. 237, no. 6, pp. 108–128, 1977. [5] D. J. Jobson, Z. Rahman, and G. A. Woodell, "A multiscale retinex for bridging the gap between color images and the human observation of scenes," IEEE Trans. Image Process., vol. 6, no. 7, pp. 965–976, 1997. [6] R. Kimmel, M. Elad, D. Shaked, R. Keshet, and I. Sobel, "A variational framework for retinex," Int. J. Comput. Vis., vol. 52, no. 1, pp. 7–23, 2003. [7] A. V. Oppenheim, R. W. Schafer, and T. G. Stockham, "Nonlinear filtering of multiplied and convolved signals," Proc. IEEE, vol. 56, no. 8, pp. 1264–1291, 1968. [8] M. Grossman and R. Katz, Non-Newtonian Calculus. Pigeon Cove, MA: Lee Press, 1972. [9] A. Zotkin, "Supercomputación tetrádica: primera aproximación hacia una teoría de la super-relatividad," TARDIGRADOS (blog), Apr. 2018. [Online]. Available: https://tardigrados.wordpress.com/2018/04/22/supercomputacion-tetradica-primera-aproximacion-hacia-una-teoria-de-la-super-relatividad/. This is the source of the term superderivative; the note is not peer-reviewed, and the same operator appears as the bigeometric derivative in multiplicative calculus [8].
[10] M. Jourlin, Logarithmic Image Processing: Theory and Applications, Advances in Imaging and Electron Physics, vol. 195. Amsterdam, The Netherlands: Elsevier, 2016.
[11] L. Florack and H. van Assen, "Multiplicative calculus in biomedical image analysis," J. Math. Imaging Vis., vol. 42, no. 1, pp. 64–75, 2012.
[12] P. Kovesi, "Phase congruency: A low-level image invariant," Psychological Research, vol. 64, no. 2, pp. 136–148, 2000.
[13] R. Touzi, A. Lopes, and P. Bousquet, "A statistical and geometrical edge detector for SAR images," IEEE Trans. Geosci. Remote Sens., vol. 26, no. 6, pp. 764–773, 1988.
[14] R. C. Gonzalez and R. E. Woods, Digital Image Processing, 4th ed. Pearson, 2018.
[15] L. G. Roberts, "Machine perception of three-dimensional solids," Ph.D. dissertation, Massachusetts Institute of Technology, 1963.
[16] J. M. S. Prewitt, "Object enhancement and extraction," in Picture Processing and Psychopictorics, B. Lipkin and A. Rosenfeld, Eds. New York: Academic Press, 1970, pp. 75–149.
[17] I. Sobel and G. Feldman, "A isotropic gradient operator for image processing," presented at the Stanford Artificial Intelligence Project, 1968.
[18] W. Frei and C.-C. Chen, “Fast boundary detection: A generalization and a new algorithm,” IEEE Trans. Comput., vol. C-26, no. 10, pp. 988–998, 1977.
[19] H. Scharr, “Optimal operators in digital image processing,” Ph.D. dissertation, Universität Heidelberg, 2000.
[20] R. Kirsch, “Computer determination of the constituent structure of biological images,” Comput. Biomed. Res., vol. 4, no. 3, pp. 315–328, 1971.
[21] G. S. Robinson, “Color edge detection,” Proc. SPIE, vol. 87, pp. 126–133, 1976.
[22] H. Farid and E. P. Simoncelli, “Differentiation of discrete multidimensional signals,” IEEE Trans. Image Process., vol. 13, no. 4, pp. 496–508, 2004.
[23] J. Canny, “A computational approach to edge detection,” IEEE Trans. Pattern Anal. Mach. Intell., vol. PAMI-8, no. 6, pp. 679–698, 1986.
[24] H. Farid and E. P. Simoncelli, “Optimally rotation-equivariant directional derivative kernels,” in Computer Analysis of Images and Patterns (CAIP), LNCS, 1997, pp. 207–214.
[25] F. Drago, K. Myszkowski, T. Annen, and N. Chiba, “Adaptive logarithmic mapping for displaying high contrast scenes,” Computer Graphics Forum, vol. 22, no. 3, pp. 419–426, 2003.
[26] A. E. Bashirov, E. M. Kurpinar, and A. Özyapici, “Multiplicative calculus and its applications,” J. Math. Anal. Appl., vol. 337, no. 1, pp. 36–48, 2008.
[27] T. Lindeberg, “Scale-space theory: A basic tool for analyzing structures at different scales,” J. Appl. Stat., vol. 21, no. 1–2, pp. 225–270, 1994.
[28] P. Arbeláez, M. Maire, C. Fowlkes, and J. Malik, “Contour detection and hierarchical image segmentation,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 33, no. 5, pp. 898–916, 2011.
[29] S. G. Samko, A. A. Kilbas, and O. I. Marichev, Fractional Integrals and Derivatives: Theory and Applications. Yverdon, Switzerland: Gordon and Breach, 1993.
[30] A. A. Kilbas, H. M. Srivastava, and J. J. Trujillo, Theory and Applications of Fractional Differential Equations. Amsterdam, The Netherlands: Elsevier, 2006.
[31] K. S. Miller and B. Ross, An Introduction to the Fractional Calculus and Fractional Differential Equations. New York, NY: Wiley, 1993.