C# Class StandardizedDiffuseAlbedoMaps.CameraCalibration

Afficher le fichier Open project: Patapom/GodComplex Class Usage Examples

Méthodes publiques

Свойство Type Description
m_CameraShotInfos CameraShotInfo
m_ReferenceImageHeight int
m_ReferenceImageName string
m_ReferenceImageWidth int
m_Reflectance02 Probe
m_Reflectance10 Probe
m_Reflectance20 Probe
m_Reflectance50 Probe
m_Reflectance75 Probe
m_Reflectance99 Probe
m_Reflectances Probe[]
m_Thumbnail ].byte[

Méthodes publiques

Méthode Description
Calibrate ( float _Luminance ) : float

Calibrates a raw luminance value

Typically, you start from a RAW XYZ value that you convert to xyY, pass the Y to this method and replace it into your orignal xyY, convert back to XYZ and voilà!

CameraCalibration ( ) : System
CreateThumbnail ( ImageUtility _Image ) : void

Creates an embeddable thumbnail of the reference image

Load ( System _FileName ) : void

Loads the calibration data from an XML file

Save ( System _FileName ) : void

Saves the calibration data to an XML file

UpdateAllLuminances ( ) : void

Fills unavailable probes' measured luminances by interpolating from available probes' values and computes the "normalized" luminances that are rescaled between 2% (min reflectance probe) and 99% (max reflectance probe)

Method Details

Calibrate() public méthode

Calibrates a raw luminance value
Typically, you start from a RAW XYZ value that you convert to xyY, pass the Y to this method and replace it into your orignal xyY, convert back to XYZ and voilà!
public Calibrate ( float _Luminance ) : float
_Luminance float The uncalibrated luminance value
Résultat float

CameraCalibration() public méthode

public CameraCalibration ( ) : System
Résultat System

CreateThumbnail() public méthode

Creates an embeddable thumbnail of the reference image
public CreateThumbnail ( ImageUtility _Image ) : void
_Image ImageUtility
Résultat void

Load() public méthode

Loads the calibration data from an XML file
public Load ( System _FileName ) : void
_FileName System
Résultat void

Save() public méthode

Saves the calibration data to an XML file
public Save ( System _FileName ) : void
_FileName System
Résultat void

UpdateAllLuminances() public méthode

Fills unavailable probes' measured luminances by interpolating from available probes' values and computes the "normalized" luminances that are rescaled between 2% (min reflectance probe) and 99% (max reflectance probe)
public UpdateAllLuminances ( ) : void
Résultat void

Property Details

m_CameraShotInfos public_oe property

public CameraShotInfo m_CameraShotInfos
Résultat CameraShotInfo

m_ReferenceImageHeight public_oe property

public int m_ReferenceImageHeight
Résultat int

m_ReferenceImageName public_oe property

public string m_ReferenceImageName
Résultat string

m_ReferenceImageWidth public_oe property

public int m_ReferenceImageWidth
Résultat int

m_Reflectance02 public_oe property

public Probe m_Reflectance02
Résultat Probe

m_Reflectance10 public_oe property

public Probe m_Reflectance10
Résultat Probe

m_Reflectance20 public_oe property

public Probe m_Reflectance20
Résultat Probe

m_Reflectance50 public_oe property

public Probe m_Reflectance50
Résultat Probe

m_Reflectance75 public_oe property

public Probe m_Reflectance75
Résultat Probe

m_Reflectance99 public_oe property

public Probe m_Reflectance99
Résultat Probe

m_Reflectances public_oe property

public Probe[] m_Reflectances
Résultat Probe[]

m_Thumbnail public_oe property

public byte[,] m_Thumbnail
Résultat ].byte[