Skip to content

Commit 9537311

Browse files
EscapedGibbonstropitek
authored andcommitted
docs: add links in watershed tutorial to concerned api features
close: #91
1 parent eb7bb19 commit 9537311

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/Tutorials/Image segmentation with watershed.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ const mask = blurredImage.threshold({ algorithm: 'isodata' });
177177

178178
So how to spot the correct ones?
179179

180-
There are two functions that are used for finding extrema: `getExtrema` and `removeClosePoints`.
180+
There are two functions that are used for finding extrema: [`getExtrema`](../Features/Operations/Get%20extrema.md 'internal link on get extrema function') and [`removeClosePoints`](../Features/Operations/Remove%20points.md 'internal link on remove points function').
181181

182-
#### `getExtrema`
182+
#### [`getExtrema`](../Features/Operations/Get%20extrema.md 'internal link on get extrema function')
183183

184184
This function searches for all local extrema(minima in case of this image). It checks each point for the values around. If all the neighbors are smaller, the point in-check becomes the minima(for maxima it checks if all values are bigger).
185185
In the end it returns all extreme points of the image:
@@ -217,7 +217,7 @@ But even with this, `getExtrema` can only give us a smaller number of local extr
217217

218218
![Different algorithms and extrema](./images/watershed/extremaAlgos.png)
219219

220-
#### `removeClosePoints`
220+
#### [`removeClosePoints`](../Features/Operations/Remove%20points.md 'internal link on remove points function')
221221

222222
This is where another function can be used: `removeClosePoints`. With `distance` option this function can weed out local minima so that only those points that are within bigger or equal distance are left.
223223

0 commit comments

Comments
 (0)