Skip to content

Commit bbd9383

Browse files
committed
Fix JavaDoc
1 parent 82dcba8 commit bbd9383

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

src/main/java/net/imglib2/algorithm/localextrema/LocalExtrema.java

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,23 @@ public interface LocalNeighborhoodCheck< P, T >
102102
* test for being an extremum can be specified as an implementation of the
103103
* {@link LocalNeighborhoodCheck} interface.
104104
*
105-
* The task is parallelized along the last dimension of <code>source</code>.
105+
* The task is parallelized along the last dimension of {@code source}.
106106
*
107107
* The number of tasks for parallelization is determined as:
108-
* <code>Math.max( Math.min( maxSizeDim, numThreads * 20 ), 1 )</code>
108+
* {@code Math.max( Math.min( maxSizeDim, numThreads * 20 ), 1 )}
109109
*
110-
* where <code>maxSizeDim</code> is the longest dimension of
111-
* <code>img</code> after adjusting for the bounding box of a
110+
* where {@code maxSizeDim} is the longest dimension of
111+
* {@code img} after adjusting for the bounding box of a
112112
* {@link RectangleShape} with span 1, and numThreads is
113-
* <code>Runtime.getRuntime().availableProcessors()</code>
113+
* {@code Runtime.getRuntime().availableProcessors()}
114114
*
115115
* {@link RectangleShape} is used as local neighborhood.
116116
*
117-
* Note: Pixels within 1 point of the <code>source</code> border will be
117+
* Note: Pixels within 1 point of the {@code source} border will be
118118
* ignored as local extrema candidates because the complete neighborhood
119-
* would not be included in <code>source</code>. To include those pixel,
120-
* expand <code>source</code> accordingly. The returned coordinate list is
121-
* valid for the original <code>source</code>.
119+
* would not be included in {@code source}. To include those pixel,
120+
* expand {@code source} accordingly. The returned coordinate list is
121+
* valid for the original {@code source}.
122122
*
123123
* @param source
124124
* Find local extrema within this
@@ -158,14 +158,14 @@ public static < P, T > ArrayList< P > findLocalExtrema( final RandomAccessibleIn
158158
* {@link LocalNeighborhoodCheck} interface.
159159
*
160160
* The task is parallelized along the longest dimension of
161-
* <code>source</code> after adjusting for size based on <code>shape</code>.
161+
* {@code source} after adjusting for size based on {@code shape}.
162162
*
163-
* Note: Pixels within a margin of <code>source</code> border as determined
163+
* Note: Pixels within a margin of {@code source} border as determined
164164
* by {@link #getRequiredBorderSize(Shape, int)} will be ignored as local
165165
* extrema candidates because the complete neighborhood would not be
166-
* included in <code>source</code>. To include those pixel, expand
167-
* <code>source</code> accordingly. The returned coordinate list is valid
168-
* for the original <code>source</code>.
166+
* included in {@code source}. To include those pixel, expand
167+
* {@code source} accordingly. The returned coordinate list is valid
168+
* for the original {@code source}.
169169
*
170170
* @param source
171171
* Find local extrema within this
@@ -174,7 +174,7 @@ public static < P, T > ArrayList< P > findLocalExtrema( final RandomAccessibleIn
174174
* Check if current pixel qualifies as local maximum. It is the
175175
* callers responsibility to pass a
176176
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
177-
* <code>shape</code> does not skip the center pixel.
177+
* {@code shape} does not skip the center pixel.
178178
* @param shape
179179
* Defines the local neighborhood.
180180
* @param service
@@ -201,12 +201,12 @@ public static < P, T > List< P > findLocalExtrema(
201201
* test for being an extremum can be specified as an implementation of the
202202
* {@link LocalNeighborhoodCheck} interface.
203203
*
204-
* Note: Pixels within a margin of <code>source</code> border as determined
204+
* Note: Pixels within a margin of {@code source} border as determined
205205
* by {@link #getRequiredBorderSize(Shape, int)} will be ignored as local
206206
* extrema candidates because the complete neighborhood would not be
207-
* included in <code>source</code>. To include those pixel, expand
208-
* <code>source</code> accordingly. The returned coordinate list is valid
209-
* for the original <code>source</code>.
207+
* included in {@code source}. To include those pixel, expand
208+
* {@code source} accordingly. The returned coordinate list is valid
209+
* for the original {@code source}.
210210
*
211211
* @param source
212212
* Find local extrema within this
@@ -215,7 +215,7 @@ public static < P, T > List< P > findLocalExtrema(
215215
* Check if current pixel qualifies as local maximum. It is the
216216
* callers responsibility to pass a
217217
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
218-
* <code>shape</code> does not skip the center pixel.
218+
* {@code shape} does not skip the center pixel.
219219
* @param shape
220220
* Defines the local neighborhood.
221221
* @param service
@@ -246,20 +246,20 @@ public static < P, T > List< P > findLocalExtrema(
246246
* {@link LocalNeighborhoodCheck} interface.
247247
*
248248
* The task is parallelized along the longest dimension of
249-
* <code>interval</code>
249+
* {@code interval}
250250
*
251251
* @param source
252252
* Find local extrema of the function defined by this
253253
* {@link RandomAccessible}
254254
* @param interval
255255
* Domain in which to look for local extrema. It is the callers
256-
* responsibility to ensure that <code>source</code> is defined
257-
* in all neighborhoods of <code>interval</code>.
256+
* responsibility to ensure that {@code source} is defined
257+
* in all neighborhoods of {@code interval}.
258258
* @param localNeighborhoodCheck
259259
* Check if current pixel qualifies as local maximum. It is the
260260
* callers responsibility to pass a
261261
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
262-
* <code>shape</code> does not skip the center pixel.
262+
* {@code shape} does not skip the center pixel.
263263
* @param shape
264264
* Defines the local neighborhood.
265265
* @param service
@@ -292,13 +292,13 @@ public static < P, T > List< P > findLocalExtrema(
292292
* {@link RandomAccessible}
293293
* @param interval
294294
* Domain in which to look for local extrema. It is the callers
295-
* responsibility to ensure that <code>source</code> is defined
296-
* in all neighborhoods of <code>interval</code>.
295+
* responsibility to ensure that {@code source} is defined
296+
* in all neighborhoods of {code interval}.
297297
* @param localNeighborhoodCheck
298298
* Check if current pixel qualifies as local maximum. It is the
299299
* callers responsibility to pass a
300300
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
301-
* <code>shape</code> does not skip the center pixel.
301+
* {@code shape} does not skip the center pixel.
302302
* @param shape
303303
* Defines the local neighborhood.
304304
* @param service
@@ -361,11 +361,11 @@ public static < P, T > List< P > findLocalExtrema(
361361
*
362362
* {@link RectangleShape} is used as local neighborhood.
363363
*
364-
* Note: Pixels within 1 point of the <code>source</code> border will be
364+
* Note: Pixels within 1 point of the {@code source} border will be
365365
* ignored as local extrema candidates because the complete neighborhood
366-
* would not be included in <code>source</code>. To include those pixel,
367-
* expand <code>source</code> accordingly. The returned coordinate list is
368-
* valid for the original <code>source</code>.
366+
* would not be included in {@code source}. To include those pixel,
367+
* expand {@code source} accordingly. The returned coordinate list is
368+
* valid for the original {@code source}.
369369
*
370370
* @param source
371371
* Find local extrema within this
@@ -386,12 +386,12 @@ public static < P, T > List< P > findLocalExtrema(
386386
* test for being an extremum can be specified as an implementation of the
387387
* {@link LocalNeighborhoodCheck} interface.
388388
*
389-
* Note: Pixels within a margin of <code>source</code> border as determined
389+
* Note: Pixels within a margin of {@code source} border as determined
390390
* by {@link #getRequiredBorderSize(Shape, int)} will be ignored as local
391391
* extrema candidates because the complete neighborhood would not be
392-
* included in <code>source</code>. To include those pixel, expand
393-
* <code>source</code> accordingly. The returned coordinate list is valid
394-
* for the original <code>source</code>.
392+
* included in {@code source}. To include those pixel, expand
393+
* {@code source} accordingly. The returned coordinate list is valid
394+
* for the original {@code source}.
395395
*
396396
* @param source
397397
* Find local extrema within this
@@ -400,7 +400,7 @@ public static < P, T > List< P > findLocalExtrema(
400400
* Check if current pixel qualifies as local maximum. It is the
401401
* callers responsibility to pass a
402402
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
403-
* <code>shape</code> does not skip the center pixel.
403+
* {@code shape} does not skip the center pixel.
404404
* @param shape
405405
* Defines the local neighborhood
406406
* @return {@link List} of extrema
@@ -435,7 +435,7 @@ public static < P, T > List< P > findLocalExtrema(
435435
* Check if current pixel qualifies as local maximum. It is the
436436
* callers responsibility to pass a
437437
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
438-
* <code>shape</code> does not skip the center pixel.
438+
* {@code shape} does not skip the center pixel.
439439
* @return {@link List} of extrema
440440
*/
441441
public static < P, T > List< P > findLocalExtrema(
@@ -459,7 +459,7 @@ public static < P, T > List< P > findLocalExtrema(
459459
* Check if current pixel qualifies as local maximum. It is the
460460
* callers responsibility to pass a
461461
* {@link LocalNeighborhoodCheck} that avoids the center pixel if
462-
* <code>shape</code> does not skip the center pixel.
462+
* {@code shape} does not skip the center pixel.
463463
* @param shape
464464
* Defines the local neighborhood
465465
* @return {@link List} of extrema
@@ -491,7 +491,7 @@ public static < P, T > List< P > findLocalExtrema(
491491
/**
492492
*
493493
* Get the required border size based on the bounding box of the
494-
* neighborhood specified by <code>shape</code>. This is useful for
494+
* neighborhood specified by {@code shape}. This is useful for
495495
* determining by how much a {@link RandomAccessibleInterval} should be
496496
* expanded to include min and max positions in the local extrema search.
497497
*
@@ -500,7 +500,7 @@ public static < P, T > List< P > findLocalExtrema(
500500
* @param nDim
501501
* Number of dimensions.
502502
* @return The required border size for the local neighborhood specified by
503-
* <code>shape</code>
503+
* {@code shape}
504504
*/
505505
public static long[] getRequiredBorderSize( final Shape shape, final int nDim )
506506
{

0 commit comments

Comments
 (0)