- java.lang.Object
-
- io.scif.labeling.utils.LabelingUtil
-
public class LabelingUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringLBL_ENDINGstatic StringTIF_ENDINGstatic intVERSION
-
Constructor Summary
Constructors Constructor Description LabelingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetFilePathWithExtension(String filename, String extension, String path)static <T extends net.imglib2.type.numeric.RealType<T>>
voidsaveAsTiff(org.scijava.Context context, String filename, net.imglib2.RandomAccessibleInterval<T> rai)
-
-
-
Field Detail
-
LBL_ENDING
public static final String LBL_ENDING
- See Also:
- Constant Field Values
-
TIF_ENDING
public static final String TIF_ENDING
- See Also:
- Constant Field Values
-
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
saveAsTiff
public static <T extends net.imglib2.type.numeric.RealType<T>> void saveAsTiff(org.scijava.Context context, String filename, net.imglib2.RandomAccessibleInterval<T> rai)
- Type Parameters:
T- the pixel value- Parameters:
context- the scijava context used in the projectfilename- the filename of the Img to saverai- the img
-
-