public class MatlabFunction extends ExternalFunction
controls, function, numRange, paramList, params, resX, resY
MICRON, micronHeight, micronStep, micronWidth, xType, yType, zType
Constructor and Description |
---|
MatlabFunction()
Creates an uninitialized MATLAB transform.
|
MatlabFunction(DataTransform parent,
String name,
String function)
Creates a MATLAB transform from the given transform.
|
Modifier and Type | Method and Description |
---|---|
FlatField |
evaluate(FlatField input,
String[] params)
Evaluates the function for the given input data and parameter values.
|
static boolean |
isParentRequired()
Indicates whether this transform type requires a parent transform.
|
static boolean |
isValidParent(DataTransform data)
Indicates whether this transform type would accept the given transform as
its parent transform.
|
static DataTransform |
makeTransform(DataManager dm)
Creates a new MATLAB transform, with user interaction.
|
FunctionParam[] |
params()
Gets the input parameter names and corresponding default values.
|
int[] |
predict(int width,
int height,
int num,
String[] params)
Predicts the width, height and number of output planes, given the width,
height and number of input planes, and parameter values.
|
getCacheId, getControls, getData, getImageHeight, getImageWidth, getParameterDefaults, getParameterNames, getParameters, getRangeCount, initState, isCompatible, isValidDimension, matches, restoreState, saveState, setParameters, setParameters
canDisplay3D, getHTMLDescription, getImage, getImageUnits, getMicronHeight, getMicronStep, getMicronStep, getMicronWidth, getRangeTypes, getSuggestedMaps, getType, getXType, getYType, getZType, getZUnit, isImmediate
addTransformListener, canDisplay2D, discard, displayChanged, getDimTypes, getFont, getLabels, getLengths, getName, getParent, getThumbHandler, getTransformId, getUnitDescription, makeLabels, notifyListeners, removeTransformListener, setFont, toString
public MatlabFunction()
public MatlabFunction(DataTransform parent, String name, String function)
public int[] predict(int width, int height, int num, String[] params)
predict
in class ExternalFunction
public FunctionParam[] params()
params
in class ExternalFunction
public FlatField evaluate(FlatField input, String[] params)
evaluate
in class ExternalFunction
public static DataTransform makeTransform(DataManager dm)
public static boolean isValidParent(DataTransform data)
public static boolean isParentRequired()
Copyright © 2015–2022 SciJava. All rights reserved.