Skip to content

Commit b3c37a3

Browse files
Fix formatting in mapwindow.jl documentation
This was hard to read the way it was.
1 parent d3c2202 commit b3c37a3

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/mapwindow.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ export mapwindow, mapwindow!
1414
border = "replicate",
1515
indices = default_imginds(img, window, border), callmode=:copy!)
1616
17-
Apply `f` to sliding windows of `img``, with window size or axes specified by window. For
17+
Apply `f` to sliding windows of `img`, with window size or axes specified by window. For
1818
example, `mapwindow(median!, img, window)` returns an Array of values similar to `img`
1919
(median-filtered, of course), whereas `mapwindow(extrema, img, window)` returns an Array of
20-
(min, max) tuples over a window of size window centered on each point of `img`.
20+
(min, max) tuples over a window of size `window` centered on each point of `img`.
2121
22-
The function `f` receives a buffer `buf`` for the window of data surrounding the current point.
22+
The function `f` receives a buffer `buf` for the window of data surrounding the current point.
2323
24-
If `window`` is specified as a Dims-tuple (tuple-of-integers), then all the integers must be
24+
If `window` is specified as a Dims-tuple (tuple-of-integers), then all the integers must be
2525
odd and the window is centered around the current image point.
2626
27-
For example, if `window = (3,3)`, then `f` will receive an Array `buf``
28-
corresponding to offsets (-1:1, -1:1) from the `imgf[i, j]`` for which this is
29-
currently being computed. Alternatively, window can be a tuple of
27+
For example, if `window = (3,3)`, then `f` will receive an Array `buf`
28+
corresponding to offsets `(-1:1, -1:1)` from the `imgf[i, j]` for which this is
29+
currently being computed. Alternatively, `window` can be a tuple of
3030
`AbstractUnitRange`s, in which case the specified ranges are used for `buf`; this
3131
allows you to use asymmetric windows if needed.
3232

0 commit comments

Comments
 (0)