Uses of Class
Facemorph.Mask

Packages that use Mask
Facemorph   
Facemorph.aam   
Facemorph.mdl   
Facemorph.psychomorph   
 

Uses of Mask in Facemorph
 

Methods in Facemorph that return Mask
 Mask Mask.clone()
           
 

Methods in Facemorph with parameters of type Mask
 void PCI.build(Template avTem, java.awt.Image avImg, java.awt.Image[] images, Template[] templates, Mask mask, double varianceToExplain)
          Builds a PCI from the data given
 BigMat PCI.combine(PCI[] pci, Template targetShape, int targetWidth, int targetHeight, Mask mask)
          Builds a PCI by combining a set of PCIs
 FloatImage[] Template.constructMultilinearFitter(int warpType, java.awt.Image averageImage, Template avrg, Mask mask, Multilinear shapeMultilinear, Multilinear imageMultilinear, float scale)
          Constructs the data needed for fitting a multilinear AAM to an image using efficient reverse method, with linear projection model, includes colour information
 void Template.fitAAM(int warpType, java.awt.Image subject, java.awt.Image average, Mask mask, PCA pca, PCI pci)
          Fits a Template to this FloatImage using a multiscale method
 void Template.fitAAMappearance(int warpType, java.awt.Image subject, java.awt.Image averageImg, Mask mask, PCA pca, PCI pci, float scale)
          Attempt at fitting an AAM to an image using efficient reverse method, includes colour information
 void Template.fitAAMbayesian(int warpType, java.awt.Image subject, java.awt.Image averageImg, Mask mask, PCA pca, PCI pci, float scale)
          Attempt at fitting an AAM to an image using efficient reverse method, includes colour information
 void Template.fitAAMforward(java.awt.Image subjectImg, java.awt.Image averageImg, Mask mask, PCA pca, PCI pci, float scale)
          Attempt at fitting an AAM to an image using inefficient, but more reliable forward method, includes colour information
 void Template.fitAAMshape(int warpType, FloatImage average, FloatImage subject, Template avrg, Mask mask, PCA pca, float scale)
          First attempt at fitting an AAM to an image, does not include colour information, not recommended to use!
 int Template.fitAAMspan(int warpType, java.awt.Image subject, java.awt.Image averageImg, Mask mask, PCA pca, PCI pci, FloatImage[] smallPCIcomps, float scale, int counter)
          Attempt at fitting an AAM to an image using efficient reverse method, colour information is projected out
 int Template.fitAAMspanLM(int warpType, java.awt.Image subject, java.awt.Image averageImg, Mask mask, PCA pca, PCI pci, float scale, int counter)
          Attempt at fitting an AAM to an image using efficient reverse method, includes colour information
 void Template.fitMultilinear(java.awt.Image subject, java.awt.Image averageImage, Template avrg, Mask mask, Multilinear shapeMultilinear, Multilinear imageMultilinear, FloatImage[] diffImg, float scale)
          Uses a multilinear fitting model to try a fit a template to the image
 void Template.fitMultilinear(int warpType, java.awt.Image subject, java.awt.Image averageImage, Template avrg, Mask mask, Multilinear shapeMultilinear, Multilinear imageMultilinear, float scale)
          Attempt at fitting an Multilinear AAM to an image using efficient reverse method, with linear projection model, includes colour information
 boolean Template.fitPCAColourSegment(java.awt.Image subjectImage, java.awt.Image averageImage, Template averageTemplate, java.awt.geom.Point2D.Float leftEye, java.awt.geom.Point2D.Float rightEye, java.awt.geom.Point2D.Float mouth, int leftIndex, int rightIndex, int mouthIndex, java.awt.image.ImageObserver ob, PCA pca, Mask mask)
          Automatically delineates the image given using this Template to outline the facial features Tries to segment out the face from the background using colour to help
 void Template.fitTensor(int warpType, java.awt.Image subject, java.awt.Image averageImage, Template avrg, Mask mask, Tensor shapeTensor, Tensor imageTensor, BigMat shapeLinearModel, BigMat shapeAverage, BigMat imageLinearModel, BigMat imageAverage, float scale)
          Attempt at fitting an Tensor AAM to an image using efficient reverse method, with linear projection model, includes colour information
 FloatImage[][] PCI.getIntersection(PCI pci, Mask mask)
          Gets the intersection or closest point between two PCIs
 FloatImage[][] PCI.getIntersectionIterative(PCI pci, Mask mask)
          Gets the intersection or closest point between two PCIs
 java.awt.Polygon Template.getMask(Mask msk)
          Constructs a masking polygon from this Template and Mask
 java.awt.Polygon Template.getMask(Mask msk, int xoff, int yoff, float zoom)
          Constructs a masking polygon from this Template and Mask
 FloatImage Template.getMask(Mask mask, int w, int h, float min, float max)
          Constructs a FloatImage with values of 0 (masked) and max (not masked)
 BigMat PCI.getReduced(PCI pci, float[] filter, int m, Mask mask)
          Shrinks by a factor of 2 using filter to downsample
static void Transformer.mask(Template newTemplate, Mask mask, java.awt.image.BufferedImage warped, java.awt.image.BufferedImage transformed)
          Mask the colour changes to the array specified
 java.awt.Image Template.maskImage(java.awt.Image img, Mask mask, java.awt.Color col, boolean reverse)
          Masks an image using the mask object specified/
static void Transformer.normaliseColours(Template newTemplate, Mask mask, java.awt.image.BufferedImage warped, java.awt.image.BufferedImage transformed)
          Normalise the mean and standard deviation of colours in the masked area
static java.awt.image.BufferedImage Transformer.testTransform(int warpType, Template subTem, Template srcTem, Template dstTem, Template outTem, java.awt.image.BufferedImage subImg, java.awt.image.BufferedImage srcImg, java.awt.image.BufferedImage dstImg, double shapeAmount, double colourAmount, double textureAmount, Filter[] filters, int bm, Mask mask, boolean samples, boolean borders, boolean matchCols, int normalisation, int[] normPoints)
          Face transform method, more modular version
static java.awt.image.BufferedImage Transformer.testTransform(int warpType, Template subTem, Template srcTem, Template dstTem, Template outTem, java.awt.Image subImg, java.awt.Image srcImg, java.awt.Image dstImg, double shapeAmount, double colourAmount, double textureAmount, Filter[] filters, int bm, Mask mask, boolean samples, boolean borders, boolean matchCols, int normalisation, int[] normPoints)
          Face transform method, more modular version
static java.awt.Image Transformer.transform(Template subjectTemplate, Template sourceTemplate, Template destTemplate, Template newTemplate, java.awt.Image subjectImg, java.awt.Image sourceImg, java.awt.Image destImg, double shape, double colour, double texture, java.awt.image.ImageObserver ob, Mask mask, Filter[] filters, int bm, boolean fast, boolean conts)
          Transforms subjectImage using the prototypes given and returns the result.
static java.awt.Image Transformer.transform(Template subjectTemplate, Template sourceTemplate, Template destTemplate, Template newTemplate, java.awt.Image subjectImg, java.awt.Image sourceImg, java.awt.Image destImg, double s, java.awt.image.ImageObserver ob, Mask mask, boolean fast)
          Transforms subjectImage using the prototypes given and returns the result.
static java.awt.Image Transformer_1.transformMasked(Template subjectTemplate, Template sourceTemplate, Template destTemplate, Template newTemplate, java.awt.Image subjectImg, java.awt.Image sourceImg, java.awt.Image destImg, double s, java.awt.image.ImageObserver ob, Mask mask)
          Transforms subjectImage using the prototypes given and returns the result.
 BigMat PCI.warp(Template targetShape, int targetWidth, int targetHeight, Mask mask)
          Warps this PCI into targetShape
 

Constructors in Facemorph with parameters of type Mask
MDL(java.lang.String listFile, int w, int h, Mask mask, double var)
          Creates a new instance of MDL
 

Uses of Mask in Facemorph.aam
 

Methods in Facemorph.aam with parameters of type Mask
static void CAAMPowell.test(java.lang.String listFile, java.lang.String resFile, PCI pci, PCA pca, Mask mask)
          Test method
 

Constructors in Facemorph.aam with parameters of type Mask
AAM(Mask mask, ASM asm, PCI pci, int type, int warpType)
          Creates a new instance of AAM
AAMTracker(Template template, Mask mask, ASM asm, PCI pci, java.lang.String fileRoot, java.lang.String url)
          Creates a new instance of AAMTracker
CAAMPowell(Mask mask, PCA pca, PCI pci, java.awt.Image subject, Template template)
          Constructor for CAAMPowell
GLAAM(Mask mask, ASM asm, PCI pci, int type)
          Creates a new instance of AAM
GLAAM(Mask mask, ASM asm, PCI pci, int type, javax.media.opengl.GLAutoDrawable canv)
          Creates a new instance of AAM
MultiscaleAAM(Mask mask, ASM asm, PCI pci, int type, int warpType)
          Creates a new instance of MultiscaleAAM
MultiscaleOpenGLAAM(Mask mask, ASM asm, PCI pci, int type)
          Creates a new instance of MultiscaleAAM
MultiscaleOpenGLAAM(Mask mask, ASM asm, PCI pci, int type, javax.media.opengl.GLAutoDrawable canvas)
          Creates a new instance of MultiscaleAAM
 

Uses of Mask in Facemorph.mdl
 

Constructors in Facemorph.mdl with parameters of type Mask
SpecificityCombinedTest(java.util.ArrayList<java.awt.image.BufferedImage> bimages, java.util.ArrayList<java.lang.String> warpNames, Template average, Mask mask)
          Constructor for SpecificityCombinedTestFile
SpecificityCombinedTestFile(java.util.ArrayList<java.lang.String> imageNames, java.util.ArrayList<java.lang.String> warpNames, Template average, Mask mask)
          Constructor for SpecificityCombinedTestFile
 

Uses of Mask in Facemorph.psychomorph
 

Methods in Facemorph.psychomorph that return Mask
 Mask ImageZoomPanel.getMask()
          Get the current Mask
 

Methods in Facemorph.psychomorph with parameters of type Mask
static void DelineatorForm.drawMaskOnImage(java.awt.image.BufferedImage original, Template template, Mask mask, java.awt.Color outside, int smooth, boolean invert)
          Draw the mask on the image
 void ImageZoomPanel.setMask(Mask mask)
          Set the mask