public class Util extends Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static double[] |
castToDoubles(int[] ints) |
static double[][] |
castToDoubles(int[][] ints) |
static int[] |
castToInts(double[] doubles) |
static int[][] |
castToInts(double[][] doubles) |
static String |
getCellsPath(int timepoint,
int setup,
int level) |
static String |
getCellsPath(ViewId viewId,
int level) |
static String |
getCellsPath(ViewLevelId viewLevelId) |
static String |
getGroupPath(int timepointId,
int setupId,
int level) |
static String |
getGroupPath(ViewId viewId,
int level) |
static String |
getGroupPath(ViewLevelId viewLevelId) |
static String |
getResolutionsPath(int setupId) |
static String |
getSubdivisionsPath(int setupId) |
static int[] |
reorder(int[] in)
Reorder long array representing column-major coordinate (imglib2) to
row-major (hdf5).
|
static int[] |
reorder(int[] in,
int[] out)
Reorder long array representing column-major coordinate (imglib2) to
row-major (hdf5).
|
static long[] |
reorder(int[] in,
long[] out)
Reorder long array representing column-major coordinate (imglib2) to
row-major (hdf5).
|
static long[] |
reorder(long[] in)
Reorder long array representing column-major coordinate (imglib2) to
row-major (hdf5).
|
static long[] |
reorder(long[] in,
long[] out)
Reorder long array representing column-major coordinate (imglib2) to
row-major (hdf5).
|
public static String getGroupPath(int timepointId, int setupId, int level)
public static String getGroupPath(ViewLevelId viewLevelId)
public static String getCellsPath(int timepoint, int setup, int level)
public static String getCellsPath(ViewLevelId viewLevelId)
public static String getResolutionsPath(int setupId)
public static String getSubdivisionsPath(int setupId)
public static long[] reorder(long[] in, long[] out)
in
- column major coordinatesout
- row major coordinatespublic static long[] reorder(long[] in)
in
- column major coordinatespublic static int[] reorder(int[] in, int[] out)
in
- column major coordinatesout
- row major coordinatespublic static int[] reorder(int[] in)
in
- column major coordinatespublic static long[] reorder(int[] in, long[] out)
in
- column major coordinatesout
- row major coordinatespublic static int[] castToInts(double[] doubles)
public static int[][] castToInts(double[][] doubles)
public static double[] castToDoubles(int[] ints)
public static double[][] castToDoubles(int[][] ints)
Copyright © 2015–2021 Fiji. All rights reserved.