Facemorph.Stats
Class Model.ImageSetDescription

java.lang.Object
  extended by Facemorph.Stats.Model.DataDescription
      extended by Facemorph.Stats.Model.ImageSetDescription
Enclosing class:
Model

protected class Model.ImageSetDescription
extends Model.DataDescription


Field Summary
 java.io.File averageImageFile
          The image file containing the averaged image.
 java.io.File averageTemplateFile
          The template file containing the averaged template
 Batch batch
          A batch file containing a list of images and templates
 boolean imageWarp
          If using images and templates, will these need to warped to an average.
 java.io.File maskFile
           
 boolean threePointAligned
          If using images and templates, will these need to be pre-aligned (or if being output the process reversed)
 boolean usingTemplateSet
          If the data set contains a list of template names, will these be used?
 
Fields inherited from class Facemorph.Stats.Model.DataDescription
fileName, processedDataMatrix, processedDataVector, selectedRecords, selectedVariables
 
Constructor Summary
Model.ImageSetDescription()
           
Model.ImageSetDescription(iniFile in)
           
 
Method Summary
 boolean computeAverage()
          If using images and templates, and warping to an average, will this average need to be computed (using the image list) or is it supplied.
 boolean largeData()
          If the data is too large to be stored in a single Matrix or vector it must be loaded and processed on the fly
 boolean loadFileData()
          Attempt to load the data in a data description from a file
 boolean read(iniFile in)
           
 boolean usingImageSet()
          If the data set contains a list of image name, will these be used?
 boolean usingSubset()
          If only a subset of the data is being used (or a mask in the case of image data)
 
Methods inherited from class Facemorph.Stats.Model.DataDescription
getProcessedDataMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

batch

public Batch batch
A batch file containing a list of images and templates


usingTemplateSet

public boolean usingTemplateSet
If the data set contains a list of template names, will these be used?


threePointAligned

public boolean threePointAligned
If using images and templates, will these need to be pre-aligned (or if being output the process reversed)


imageWarp

public boolean imageWarp
If using images and templates, will these need to warped to an average. (or back)


averageImageFile

public java.io.File averageImageFile
The image file containing the averaged image.


averageTemplateFile

public java.io.File averageTemplateFile
The template file containing the averaged template


maskFile

public java.io.File maskFile
Constructor Detail

Model.ImageSetDescription

public Model.ImageSetDescription()

Model.ImageSetDescription

public Model.ImageSetDescription(iniFile in)
Method Detail

usingImageSet

public boolean usingImageSet()
If the data set contains a list of image name, will these be used?

Overrides:
usingImageSet in class Model.DataDescription
Returns:
true if using the image set

computeAverage

public boolean computeAverage()
If using images and templates, and warping to an average, will this average need to be computed (using the image list) or is it supplied.

Returns:
true if the average needs to be computed

usingSubset

public boolean usingSubset()
If only a subset of the data is being used (or a mask in the case of image data)

Overrides:
usingSubset in class Model.DataDescription
Returns:
true if using subset

largeData

public boolean largeData()
If the data is too large to be stored in a single Matrix or vector it must be loaded and processed on the fly

Overrides:
largeData in class Model.DataDescription
Returns:
true if the data too large to be stored in RAW

read

public boolean read(iniFile in)
Overrides:
read in class Model.DataDescription

loadFileData

public boolean loadFileData()
Attempt to load the data in a data description from a file

Overrides:
loadFileData in class Model.DataDescription
Parameters:
data - data-description to load
Returns:
true if successfully loaded