88 * it under the terms of the GNU General Public License as
99 * published by the Free Software Foundation, either version 3 of the
1010 * License, or (at your option) any later version.
11- *
11+ *
1212 * This program is distributed in the hope that it will be useful,
1313 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1414 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515 * GNU General Public License for more details.
16- *
16+ *
1717 * You should have received a copy of the GNU General Public
1818 * License along with this program. If not, see
1919 * <http://www.gnu.org/licenses/gpl-3.0.html>.
@@ -212,7 +212,7 @@ public static final ImagePlus createLabelImagePlus(
212212 * different from the track IDs and different for each spot.
213213 * @param labelIdPainting
214214 * specifies how to paint the label ID of spots.
215- *
215+ *
216216 * @return a new {@link ImagePlus}.
217217 */
218218 public static final ImagePlus createLabelImagePlus (
@@ -285,6 +285,10 @@ public static final ImagePlus createLabelImagePlus(
285285 * the desired dimensions of the output image (width, height,
286286 * nZSlices, nFrames) as a 4 element long array. Spots outside
287287 * these dimensions are ignored.
288+ * @param calibration
289+ * the desired calibration of the output image (pixel width,
290+ * pixel height, pixel depth, frame interval) as a 4 element
291+ * double array.
288292 * @param exportSpotsAsDots
289293 * if <code>true</code>, spots will be painted as single dots
290294 * instead their shape.
@@ -295,7 +299,7 @@ public static final ImagePlus createLabelImagePlus(
295299 * different from the track IDs and different for each spot.
296300 * @param labelIdPainting
297301 * specifies how to paint the label ID of spots.
298- *
302+ *
299303 * @return a new {@link ImagePlus}.
300304 */
301305 public static final ImagePlus createLabelImagePlus (
@@ -319,6 +323,10 @@ public static final ImagePlus createLabelImagePlus(
319323 * the desired dimensions of the output image (width, height,
320324 * nZSlices, nFrames) as a 4 element int array. Spots outside
321325 * these dimensions are ignored.
326+ * @param calibration
327+ * the desired calibration of the output image (pixel width,
328+ * pixel height, pixel depth, frame interval) as a 4 element
329+ * double array.
322330 * @param exportSpotsAsDots
323331 * if <code>true</code>, spots will be painted as single dots
324332 * instead their shape.
@@ -367,6 +375,10 @@ public static final ImagePlus createLabelImagePlus(
367375 * the desired dimensions of the output image (width, height,
368376 * nZSlices, nFrames) as a 4 element long array. Spots outside
369377 * these dimensions are ignored.
378+ * @param calibration
379+ * the desired calibration of the output image (pixel width,
380+ * pixel height, pixel depth, frame interval) as a 4 element
381+ * double array.
370382 * @param exportSpotsAsDots
371383 * if <code>true</code>, spots will be painted as single dots
372384 * instead their shape.
@@ -377,7 +389,7 @@ public static final ImagePlus createLabelImagePlus(
377389 * different from the track IDs and different for each spot.
378390 * @param labelIdPainting
379391 * specifies how to paint the label ID of spots.
380- *
392+ *
381393 * @return a new {@link Img}.
382394 */
383395 public static final Img < FloatType > createLabelImg (
@@ -401,6 +413,10 @@ public static final Img< FloatType > createLabelImg(
401413 * the desired dimensions of the output image (width, height,
402414 * nZSlices, nFrames) as a 4 element long array. Spots outside
403415 * these dimensions are ignored.
416+ * @param calibration
417+ * the desired calibration of the output image (pixel width,
418+ * pixel height, pixel depth, frame interval) as a 4 element
419+ * double.
404420 * @param exportSpotsAsDots
405421 * if <code>true</code>, spots will be painted as single dots
406422 * instead their shape.
@@ -471,27 +487,34 @@ public static final Img< FloatType > createLabelImg(
471487
472488
473489 /**
474- * Creates a new label {@link ImgPlus} of {@link FloatType} where the spots
475- * are painted with an ID. All visible spots are painted, whether they are
476- * in a track or not.
477- *
490+ * Creates a new label {@link ImgPlus} of specified pixel type where the
491+ * spots are painted with an ID. All visible spots are painted, whether they
492+ * are in a track or not.
493+ *
478494 * @param spots
479495 * the spots to paint.
480496 * @param dimensions
481497 * the desired dimensions of the output image (width, height,
482498 * nZSlices, nFrames) as a 4 element long array. Spots outside
483499 * these dimensions are ignored.
500+ * @param calibration
501+ * the desired calibration of the output image (pixel width,
502+ * pixel height, pixel depth, frame interval) as a 4 element
503+ * double array.
484504 * @param exportSpotsAsDots
485505 * if <code>true</code>, spots will be painted as single dots
486506 * instead of their shape.
487507 * @param labelIdPainting
488508 * specifies how to paint the label ID of spots. The
489509 * {@link LabelIdPainting#LABEL_IS_TRACK_ID} is not supported and
490510 * defaults to {@link LabelIdPainting#LABEL_IS_SPOT_ID}.
511+ * @param outputType
512+ * the output pixel type.
491513 * @param logger
492514 * a {@link Logger} instance, to report progress of the export
493515 * process.
494- *
516+ * @param <T>
517+ * the pixel type of the output image.
495518 * @return a new {@link ImgPlus}.
496519 */
497520 public static < T extends RealType < T > & NativeType < T > > ImgPlus < T > createLabelImg (
0 commit comments