Skip to content

Commit ababdc6

Browse files
committed
De-opify some algorithms
These are TBD and are not currently used by anyone, so we can re-opify them later!
1 parent 827947f commit ababdc6

File tree

4 files changed

+1
-29
lines changed

4 files changed

+1
-29
lines changed

src/main/java/net/imglib2/algorithm/edge/SubpixelEdgelDetection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class SubpixelEdgelDetection
7474
* Note: The input image type must be a signed type! Otherwise gradient
7575
* computation will not work.
7676
*
77-
* @implNote op name='image.subpixelEdgels', type=Function
77+
* @implNote op name='features.subpixelEdgels', type=Function
7878
* @param input
7979
* input image
8080
* @param factory

src/main/java/net/imglib2/algorithm/hough/HoughTransforms.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ private static int defaultRho( final Dimensions dimensions )
106106
* Returns the size of the vote space output image given an input
107107
* {@link RandomAccessibleInterval}.
108108
*
109-
* @implNote op names='features.hough.getVotespaceSize', type=Function
110109
* @param dimensions
111110
* - the {@link Dimensions} over which the Hough Line Transform
112111
* will be run
@@ -121,7 +120,6 @@ public static long[] getVotespaceSize( final Dimensions dimensions )
121120
* Returns the size of the vote space output image given an input
122121
* {@link RandomAccessibleInterval}.
123122
*
124-
* @implNote op names='features.hough.getVotespaceSize', type=Function
125123
* @param dimensions
126124
* - the {@link Dimensions} over which the Hough Line Transform
127125
* will be run
@@ -138,7 +136,6 @@ public static long[] getVotespaceSize( final Dimensions dimensions, final int nT
138136
* Returns the size of the voteSpace output image given desired {@code nRho}
139137
* and {@code nTheta} values.
140138
*
141-
* @implNote op names='features.hough.getVotespaceSize', type=Function
142139
* @param nRho
143140
* - the number of bins for rho resolution
144141
* @param nTheta
@@ -153,7 +150,6 @@ public static long[] getVotespaceSize( final int nRho, final int nTheta )
153150
/**
154151
* Pick vote space peaks with a {@link LocalExtrema}.
155152
*
156-
* @implNote op names='features.hough.pickPeaks', type=Function
157153
* @param voteSpace
158154
* - the {@link RandomAccessibleInterval} containing the output
159155
* of a Hough Transform vote
@@ -175,7 +171,6 @@ public static < T extends IntegerType< T > > List< Point > pickLinePeaks(
175171
/**
176172
* Pick vote space peaks with a {@link LocalExtrema}.
177173
*
178-
* @implNote op names='features.hough.pickPeaks', type=Function
179174
* @param voteSpace
180175
* - the {@link RandomAccessibleInterval} containing the output
181176
* of a Hough Transform vote
@@ -207,8 +202,6 @@ public static < T extends Comparable< T > > List< Point > pickLinePeaks(
207202
* Runs a Hough Line Tranform on an image and populates the vote space
208203
* parameter with the results.
209204
*
210-
* @implNote op names='features.hough.voteLines',
211-
* type=Computer
212205
* @param input
213206
* - the {@link RandomAccessibleInterval} to run the Hough Line
214207
* Transform over
@@ -235,7 +228,6 @@ public static < T extends Comparable< T >, U extends IntegerType< U > > void vot
235228
* are stored
236229
* @param nTheta
237230
* - the number of bins for theta resolution
238-
* @implNote op name='features.hough.voteLines', type=Computer2
239231
*/
240232
public static < T extends Comparable< T >, U extends IntegerType< U > > void voteLines(
241233
final RandomAccessibleInterval< T > input,
@@ -280,7 +272,6 @@ private static <T> T getTypeFromInterval( RandomAccessibleInterval< T > rai )
280272
* - the number of bins for theta resolution
281273
* @param nRho
282274
* - the number of bins for rho resolution
283-
* @implNote op names='features.hough.voteLines', type=Computer2
284275
*/
285276
public static < T extends Comparable< T >, U extends IntegerType< U > > void voteLines(
286277
final RandomAccessibleInterval< T > input,
@@ -308,7 +299,6 @@ public static < T extends Comparable< T >, U extends IntegerType< U > > void vot
308299
* @param threshold
309300
* - the minimum value allowed by the populator. Any input less
310301
* than this value will be disregarded by the populator.
311-
* @implNote op name='features.hough.voteLines', type=Computer2
312302
*/
313303
public static < T extends Comparable< T >, U extends IntegerType< U > > void voteLines(
314304
final RandomAccessibleInterval< T > input,
@@ -376,7 +366,6 @@ public static < T extends Comparable< T >, U extends IntegerType< U > > void vot
376366
* above the minimum value allowed by the populator. Any input
377367
* less than or equal to this value will be disregarded by the
378368
* populator.
379-
* @implNote op name='features.hough.voteLines', type=Computer2
380369
*/
381370
public static < T, U extends IntegerType< U > > void voteLines(
382371
final RandomAccessibleInterval< T > input,
@@ -442,7 +431,6 @@ public static < T, U extends IntegerType< U > > void voteLines(
442431
* y-intercept value. Used with {@link HoughTransforms#getSlope} to create
443432
* line equations.
444433
*
445-
* @implNote op name='features.hough.intercept', type=Function
446434
* @param rho
447435
* - the {@code rho} of the line
448436
* @param theta
@@ -461,7 +449,6 @@ public static double getIntercept( final long rho, final long theta )
461449
* value. Used with {@link HoughTransforms#getIntercept} to create line
462450
* equations.
463451
*
464-
* @implNote op name='features.hough.slope', type=Function
465452
* @param theta
466453
* - the {@code theta} of the line
467454
* @return {@code double} - the y-intercept of the line

src/main/java/net/imglib2/algorithm/util/Grids.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ public static void forEachOffset(
213213
* Get all blocks of size {@code blockSize} contained within an interval
214214
* specified by {@code dimensions} and their positions within a cell grid.
215215
*
216-
* @implNote op name='grid.partition', type=Function
217216
* @param dimensions
218217
* @param blockSize
219218
* @return list of blocks as specified by {@link Interval} and the position
@@ -230,7 +229,6 @@ public static List< Pair< Interval, long[] > > collectAllContainedIntervalsWithG
230229
* specified by {@code min}, {@code max} and their positions within a cell
231230
* grid.
232231
*
233-
* @implNote op name='grid.partition', type=Function
234232
* @param min
235233
* @param max
236234
* @param blockSize
@@ -247,7 +245,6 @@ public static List< Pair< Interval, long[] > > collectAllContainedIntervalsWithG
247245
* Get all blocks of size {@code blockSize} contained within an interval
248246
* specified by {@code dimensions} and their positions within a cell grid.
249247
*
250-
* @implNote op name='grid.partition', type=Function
251248
* @param dimensions
252249
* @param blockSize
253250
* @return list of blocks as specified by {@link Interval}
@@ -263,7 +260,6 @@ public static List< Interval > collectAllContainedIntervals( final long[] dimens
263260
* specified by {@code min}, {@code max} and their positions within a cell
264261
* grid.
265262
*
266-
* @implNote op name='grid.partition', type=Function
267263
* @param min
268264
* @param max
269265
* @param blockSize
@@ -279,7 +275,6 @@ public static List< Interval > collectAllContainedIntervals( final long[] min, f
279275
* Get all blocks of size {@code blockSize} contained within an interval
280276
* specified by {@code dimensions}.
281277
*
282-
* @implNote op name='grid.partition', type=Function
283278
* @param dimensions
284279
* @param blockSize
285280
* @return list of blocks defined by minimum
@@ -294,7 +289,6 @@ public static List< long[] > collectAllOffsets( final long[] dimensions, final i
294289
* Get all blocks of size {@code blockSize} contained within an interval
295290
* specified by {@code dimensions}.
296291
*
297-
* @implNote op name='grid.partition', type=Function
298292
* @param dimensions
299293
* @param blockSize
300294
* @param func
@@ -312,7 +306,6 @@ public static < T > List< T > collectAllOffsets( final long[] dimensions, final
312306
* Get all blocks of size {@code blockSize} contained within an interval
313307
* specified by {@code min} and {@code max}.
314308
*
315-
* @implNote op name='grid.partition', type=Function
316309
* @param min
317310
* @param max
318311
* @param blockSize
@@ -328,7 +321,6 @@ public static List< long[] > collectAllOffsets( final long[] min, final long[] m
328321
* Get all blocks of size {@code blockSize} contained within an interval
329322
* specified by {@code min} and {@code max}.
330323
*
331-
* @implNote op name='grid.partition', type=Function
332324
* @param min
333325
* @param max
334326
* @param blockSize
@@ -474,7 +466,6 @@ public static Function< long[], Pair< Interval, long[] > > croppedIntervalAndGri
474466
* into a {@link Pair} of {@link Interval} and {@link long[]} that specify
475467
* the block and its position in grid coordinates.
476468
*
477-
* @implNote op name='grid.partition', type=Function
478469
* @param min
479470
* minimum of the grid
480471
* @param max

src/main/java/net/imglib2/algorithm/util/ParallelizeOverBlocks.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public class ParallelizeOverBlocks
6161
*
6262
* Submit blocked tasks and wait for execution.
6363
*
64-
* @implNote op name='grid.parallelize', type=Function
6564
* @param func
6665
* {@link Function} to be applied to each block as specified by
6766
* first parameter {@link Interval}.
@@ -89,7 +88,6 @@ public static < T > List< T > parallelizeAndWait(
8988
*
9089
* Submit blocked tasks and wait for execution.
9190
*
92-
* @implNote op name='grid.parallelizeAsync', type=Function
9391
* @param func
9492
* {@link Function} to be applied to each block as specified by
9593
* first parameter {@link Interval}.
@@ -114,7 +112,6 @@ public static < T > List< Future< List< T > > > parallelize(
114112
*
115113
* Submit blocked tasks and wait for execution.
116114
*
117-
* @implNote op name='grid.parallelize', type=Function
118115
* @param func
119116
* {@link Function} to be applied to each block as specified by
120117
* first parameter {@link Interval}.
@@ -148,7 +145,6 @@ public static < T > List< T > parallelizeAndWait(
148145
*
149146
* Submit blocked tasks and wait for execution.
150147
*
151-
* @implNote op name='grid.parallelizeAsync', type=Function
152148
* @param func
153149
* {@link Function} to be applied to each block as specified by
154150
* first parameter {@link Interval}.
@@ -181,7 +177,6 @@ public static < T > List< Future< List< T > > > parallelize(
181177
*
182178
* Submit blocked tasks and wait for execution.
183179
*
184-
* @implNote op name='grid.parallelize', type=Function
185180
* @param func
186181
* {@link Function} to be applied to each block as specified by
187182
* first parameter {@link Interval}.
@@ -211,7 +206,6 @@ public static < T > List< T > parallelizeAndWait(
211206
*
212207
* Submit blocked tasks and wait for execution.
213208
*
214-
* @implNote op name='grid.parallelizeAsync', type=Function
215209
* @param func
216210
* {@link Function} to be applied to each block as specified by
217211
* first parameter {@link Interval}.

0 commit comments

Comments
 (0)