public class ContentCreator extends Object
Constructor and Description |
---|
ContentCreator() |
Modifier and Type | Method and Description |
---|---|
static void |
convert(ij.ImagePlus image) |
static Content |
createContent(CustomMesh mesh,
String name) |
static Content |
createContent(CustomMesh mesh,
String name,
int tp) |
static Content |
createContent(CustomMultiMesh node,
String name) |
static Content |
createContent(CustomMultiMesh node,
String name,
int tp) |
static Content |
createContent(String name,
File file,
int type,
int resf,
int tp,
Color3f color,
int thresh,
boolean[] channels) |
static Content |
createContent(String name,
ij.ImagePlus[] images,
int type,
int resf,
int tp,
Color3f color,
int thresh,
boolean[] channels) |
static Content |
createContent(String name,
ij.ImagePlus image,
int type) |
static Content |
createContent(String name,
ij.ImagePlus image,
int type,
int resf) |
static Content |
createContent(String name,
ij.ImagePlus image,
int type,
int resf,
int tp) |
static Content |
createContent(String name,
ij.ImagePlus image,
int type,
int resf,
int tp,
Color3f color,
int thresh,
boolean[] channels) |
static ij.ImagePlus[] |
getImages(File file)
If
file is a regular file, it is opened using IJ.openImage(),
and then given to getImages(ImagePlus); If file however is a
directory, all the files in it are sorted alphabetically and then loaded,
failing silently if an image can not be opened by IJ.openImage(). |
static ij.ImagePlus[] |
getImages(ij.ImagePlus imp)
Get an array of images of the specified image; if the image is a
hyperstack, it is splitted into several individual images, otherwise, it
the returned array contains the given image only.
|
public static Content createContent(String name, ij.ImagePlus image, int type, int resf)
public static Content createContent(String name, ij.ImagePlus image, int type, int resf, int tp)
public static Content createContent(String name, ij.ImagePlus image, int type, int resf, int tp, Color3f color, int thresh, boolean[] channels)
public static Content createContent(String name, File file, int type, int resf, int tp, Color3f color, int thresh, boolean[] channels)
public static Content createContent(String name, ij.ImagePlus[] images, int type, int resf, int tp, Color3f color, int thresh, boolean[] channels)
public static Content createContent(CustomMesh mesh, String name)
public static Content createContent(CustomMesh mesh, String name, int tp)
public static Content createContent(CustomMultiMesh node, String name)
public static Content createContent(CustomMultiMesh node, String name, int tp)
public static ij.ImagePlus[] getImages(ij.ImagePlus imp)
imp
- public static ij.ImagePlus[] getImages(File file)
file
is a regular file, it is opened using IJ.openImage(),
and then given to getImages(ImagePlus); If file
however is a
directory, all the files in it are sorted alphabetically and then loaded,
failing silently if an image can not be opened by IJ.openImage().file
- public static void convert(ij.ImagePlus image)
Copyright © 2015–2021 Fiji. All rights reserved.