Skip to content

Commit ceb8be4

Browse files
authored
Fix sign in imgradients (#202)
1 parent 83ac3ed commit ceb8be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/specialty.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ central-difference formulae
7373
and
7474
```math
7575
\\frac{\\partial f_{\\textrm{D}}(x_1',x_2')}{\\partial x_2'} \\approx
76-
\\frac{f_{\\textrm{D}}(x_1',x_2'+1) - f_{\\textrm{D}}(x_1',x_2'+1)}{2}.
76+
\\frac{f_{\\textrm{D}}(x_1',x_2'+1) - f_{\\textrm{D}}(x_1',x_2'-1)}{2}.
7777
```
7878
However, the central-difference formulae are very sensitive to noise.
7979
When working with noisy image data,

0 commit comments

Comments
 (0)