Class FD
java.lang.Object
|
+----framework.ModuleData
|
+----FD
- class FD
- extends ModuleData
- implements Data
Facial Differences data: distances between Facial Characteristic Points
(FCP).
- See Also:
- FCP
-
FDPoints
- Facial Distances data.
-
FD()
-
-
display(String, String)
- Display the Facial Distances on screen.
-
getFD()
- Get the Facial Distance array.
-
getLoadTags()
- Define the valid extensions that files of this data type may use
when loading data from disk.
-
getSaveTags()
- Define the valid extensions that files of this data type may use
when saving data to disk.
-
load(String)
- Load the FD points from disk.
-
load1DimArray(StreamTokenizer)
-
-
main(String[])
-
-
makeFD(int)
- Make the Facial Distances array.
-
save(String)
- Save the FD points to disk.
-
save1DimArray(DataOutputStream, double[])
-
-
size()
-
-
toString()
-
FDPoints
double FDPoints[]
- Facial Distances data.
FD
FD()
makeFD
public void makeFD(int nr)
- Make the Facial Distances array.
getFD
public double[] getFD()
- Get the Facial Distance array.
size
public int size()
getLoadTags
protected String[] getLoadTags()
- Define the valid extensions that files of this data type may use
when loading data from disk.
- Overrides:
- getLoadTags in class ModuleData
getSaveTags
protected String[] getSaveTags()
- Define the valid extensions that files of this data type may use
when saving data to disk.
- Overrides:
- getSaveTags in class ModuleData
load
public void load(String filename) throws FileNotFoundException, IOException
- Load the FD points from disk.
- Overrides:
- load in class ModuleData
save
public void save(String filename) throws FileNotFoundException, IOException
- Save the FD points to disk.
- Overrides:
- save in class ModuleData
load1DimArray
private double[] load1DimArray(StreamTokenizer st) throws IOException
save1DimArray
private void save1DimArray(DataOutputStream dos,
double data[]) throws IOException
display
public DataVisualisation display(String title,
String filename)
- Display the Facial Distances on screen.
- Overrides:
- display in class ModuleData
toString
public String toString()
- Overrides:
- toString in class Object
main
public static void main(String s[])