FaceGen 3 SDKs Reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
FgppUserDataS Struct Reference

Arguments for the Photofit. More...

#include <FgPhotoFit.h>

Public Attributes

unsigned int width
 Width of image in pixels.
 
unsigned int height
 Height of image in pixels.
 
unsigned int widthStep
 
const void * imageData
 
unsigned int numPoints
 
unsigned int pointX [11]
 The X values of the boostrap points in pixel coordinates (0,0) at top left pixel.
 
unsigned int pointY [11]
 The Y values of the boostrap points in pixel coordinates (0,0) at top left pixel.
 

Detailed Description

Arguments for the Photofit.

An image of a face photo along with user bootstrap points. The bootstrap points are in the raster coordinate system; origin at centre of top left pixel, increasing one unit per pixel to the right (X) and downward (Y). Acceptable values for numPoints are 9 for profile, 11 for frontal. See readme for layout

Definition at line 55 of file FgPhotoFit.h.

Member Data Documentation

◆ height

unsigned int FgppUserDataS::height

Height of image in pixels.

Definition at line 60 of file FgPhotoFit.h.

◆ imageData

const void* FgppUserDataS::imageData

Pointer to first pixel of image. 8 bit per channel RGBA interleaved, left to right, top to bottom with step size 'widthStep'. This pointer can be 0 (NULL) in which case only the user points will be used in the optimization for this photo. This is useful if you want to make use of user profile points without the extra time of processing an additional image.

Definition at line 75 of file FgPhotoFit.h.

◆ numPoints

unsigned int FgppUserDataS::numPoints

The number of bootstrap points specified by the user. 11 points indicates a frontal view, 9 points is a side view. Which side is automatically determined from the point layout.

Definition at line 82 of file FgPhotoFit.h.

◆ pointX

unsigned int FgppUserDataS::pointX[11]

The X values of the boostrap points in pixel coordinates (0,0) at top left pixel.

Definition at line 84 of file FgPhotoFit.h.

◆ pointY

unsigned int FgppUserDataS::pointY[11]

The Y values of the boostrap points in pixel coordinates (0,0) at top left pixel.

Definition at line 86 of file FgPhotoFit.h.

◆ width

unsigned int FgppUserDataS::width

Width of image in pixels.

Definition at line 58 of file FgPhotoFit.h.

◆ widthStep

unsigned int FgppUserDataS::widthStep

Row step size in pixels (32-bit) not bytes. This value is usually equal to 'width' can be larger than 'width' if your image data is 64-bit aligned.

Definition at line 66 of file FgPhotoFit.h.


The documentation for this struct was generated from the following file: