public class MCTriangulator extends Object implements Triangulator
Constructor and Description |
---|
MCTriangulator() |
Modifier and Type | Method and Description |
---|---|
<T extends RealType<T>> |
getTriangles(Image<T> img,
int threshold,
float[] origin) |
List |
getTriangles(ij.ImagePlus image,
int threshold,
boolean[] channels,
int resamplingF)
This method must return a list of elements of class Point3f.
|
static void |
zeroPad(ij.ImagePlus imp) |
public List getTriangles(ij.ImagePlus image, int threshold, boolean[] channels, int resamplingF)
Triangulator
getTriangles
in interface Triangulator
image
- the ImagePlus to be displayedthreshold
- the isovalue of the surface to be generated.channels
- an array containing 3 booleans, indicating which of red,
green and blue to use for the Triangulation.resamplingF
- resampling factorpublic <T extends RealType<T>> List<Point3f> getTriangles(Image<T> img, int threshold, float[] origin) throws Exception
img
- The Image<? extends RealType>
instance to use.threshold
- The cut-off (inclusive) of pixel values considered inside.origin
- The translation of the origin, in 3D.Exception
public static void zeroPad(ij.ImagePlus imp)
Copyright © 2015–2021 Fiji. All rights reserved.