|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FeatureExtractor
FeatureExtractor finds features and saves them to a two dimensional array
| Method Summary | |
|---|---|
float[][] |
calcFeatures(java.util.ArrayList data,
int imageType,
annotool.ImgDimension dim)
Get features based on data, imageType, and dim. |
float[][] |
calcFeatures(DataInput problem)
Get features based on raw image stored in problem. |
boolean |
is3DExtractor()
Returns whether or not the algorithm is able to extract from a 3D image stack. |
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> para)
Sets algorithm parameters from para |
| Method Detail |
|---|
void setParameters(java.util.HashMap<java.lang.String,java.lang.String> para)
para - Each element of para holds a parameter’s name for its key
and a parameter’s value for its value. The parameters
should be the same as those in the algorithms.xml file.
float[][] calcFeatures(DataInput problem)
throws java.lang.Exception
problem - Image to be processed
java.lang.Exception - Optional, generic exception to be thrown
float[][] calcFeatures(java.util.ArrayList data,
int imageType,
annotool.ImgDimension dim)
throws java.lang.Exception
ArrayList of array can accommodate FloatProcessor and IntProcessor 09/02/2011
data - Data taken from the imageimageType - Type of the imagedim - Dimenstions of the image
java.lang.Exception - Optional, generic exception to be thrownboolean is3DExtractor()
True if the algorithm is a 3D extractor,
False if not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||