public class IJ3DUtils extends Object
Constructor and Description |
---|
IJ3DUtils() |
Modifier and Type | Method and Description |
---|---|
static List<org.jogamp.vecmath.Point3f> |
convertMesh(List<org.scijava.vecmath.Point3f> list) |
static mcib3d.geom.Object3D |
duplicateObject3D(mcib3d.geom.Object3D other)
Duplicates an
Object3D |
static ij.ImagePlus |
forEach3DIn5DGenerate(ij.ImagePlus sourceImage,
org.apache.commons.lang3.function.TriFunction<mcib3d.image3d.ImageHandler,ImageSliceIndex,JIPipeProgressInfo,mcib3d.image3d.ImageHandler> operation,
JIPipeProgressInfo progressInfo) |
static void |
forEach3DIn5DIO(ij.ImagePlus imagePlus,
TriConsumer<mcib3d.image3d.ImageHandler,ImageSliceIndex,JIPipeProgressInfo> operation,
JIPipeProgressInfo progressInfo) |
static void |
generateRoi3dRelationRowMeasurements(mcib3d.image3d.ImageHandler reference,
int roi1Index,
int roi2Index,
int measurements,
boolean physicalUnits,
ResultsTableData target,
ROI3D roi1,
ROI3D roi2,
int row,
String columnPrefix) |
static void |
generateRoi3dRowMeasurements(mcib3d.image3d.ImageHandler referenceImage,
int index,
ROI3D roi3D,
int measurements,
boolean physicalUnits,
ResultsTableData target,
int row,
String columnPrefix) |
static List<org.scijava.vecmath.Point3f> |
jogAmpToSciJava(List<org.jogamp.vecmath.Point3f> points) |
static void |
measureRoi3d(mcib3d.image3d.ImageHandler referenceImage,
ROI3DListData roiList,
int measurements,
boolean physicalUnits,
String columnPrefix,
ResultsTableData target,
JIPipeProgressInfo progressInfo) |
static void |
measureRoi3dRelation(mcib3d.image3d.ImageHandler referenceImage,
ROI3DListData roi1List,
ROI3DListData roi2List,
int measurements,
boolean physicalUnits,
boolean requireColocalization,
boolean preciseColocalization,
boolean ignoreC,
boolean ignoreT,
String columnPrefix,
ResultsTableData target,
JIPipeProgressInfo progressInfo) |
static void |
putToMap(mcib3d.image3d.ImageHandler imageHandler,
int c,
int t,
Map<ImageSliceIndex,ij.process.ImageProcessor> sliceMap) |
static ROI3DListData |
roi2DtoRoi3D(ROI2DListData roi2DList,
boolean force2D,
boolean fast,
Neighborhood3D neighborhood,
JIPipeProgressInfo progressInfo)
Converts 2D ROI to 3D ROI
|
static List<org.jogamp.vecmath.Point3f> |
sciJavaToJogAmp(List<org.scijava.vecmath.Point3f> points) |
static mcib3d.image3d.ImageHandler |
wrapImage(ImagePlusData imagePlusData) |
public static List<org.scijava.vecmath.Point3f> jogAmpToSciJava(List<org.jogamp.vecmath.Point3f> points)
public static List<org.jogamp.vecmath.Point3f> sciJavaToJogAmp(List<org.scijava.vecmath.Point3f> points)
public static void forEach3DIn5DIO(ij.ImagePlus imagePlus, TriConsumer<mcib3d.image3d.ImageHandler,ImageSliceIndex,JIPipeProgressInfo> operation, JIPipeProgressInfo progressInfo)
public static ij.ImagePlus forEach3DIn5DGenerate(ij.ImagePlus sourceImage, org.apache.commons.lang3.function.TriFunction<mcib3d.image3d.ImageHandler,ImageSliceIndex,JIPipeProgressInfo,mcib3d.image3d.ImageHandler> operation, JIPipeProgressInfo progressInfo)
public static ROI3DListData roi2DtoRoi3D(ROI2DListData roi2DList, boolean force2D, boolean fast, Neighborhood3D neighborhood, JIPipeProgressInfo progressInfo)
roi2DList
- the 2D ROI listforce2D
- force the creation of 2D ROI. always true if the fast mode is inactivefast
- use masks instead of processing the ROI per component. if false, automatically implies false2Dneighborhood
- the neighborhoodprogressInfo
- the progress infopublic static mcib3d.image3d.ImageHandler wrapImage(ImagePlusData imagePlusData)
public static mcib3d.geom.Object3D duplicateObject3D(mcib3d.geom.Object3D other)
Object3D
other
- the object to copypublic static void measureRoi3d(mcib3d.image3d.ImageHandler referenceImage, ROI3DListData roiList, int measurements, boolean physicalUnits, String columnPrefix, ResultsTableData target, JIPipeProgressInfo progressInfo)
public static void measureRoi3dRelation(mcib3d.image3d.ImageHandler referenceImage, ROI3DListData roi1List, ROI3DListData roi2List, int measurements, boolean physicalUnits, boolean requireColocalization, boolean preciseColocalization, boolean ignoreC, boolean ignoreT, String columnPrefix, ResultsTableData target, JIPipeProgressInfo progressInfo)
public static void generateRoi3dRelationRowMeasurements(mcib3d.image3d.ImageHandler reference, int roi1Index, int roi2Index, int measurements, boolean physicalUnits, ResultsTableData target, ROI3D roi1, ROI3D roi2, int row, String columnPrefix)
public static void generateRoi3dRowMeasurements(mcib3d.image3d.ImageHandler referenceImage, int index, ROI3D roi3D, int measurements, boolean physicalUnits, ResultsTableData target, int row, String columnPrefix)
public static void putToMap(mcib3d.image3d.ImageHandler imageHandler, int c, int t, Map<ImageSliceIndex,ij.process.ImageProcessor> sliceMap)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.