C# Класс StandardizedDiffuseAlbedoMaps.CameraCalibration

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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[

Открытые методы

Метод Описание
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)

Описание методов

Calibrate() публичный Метод

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
Результат float

CameraCalibration() публичный Метод

public CameraCalibration ( ) : System
Результат System

CreateThumbnail() публичный Метод

Creates an embeddable thumbnail of the reference image
public CreateThumbnail ( ImageUtility _Image ) : void
_Image ImageUtility
Результат void

Load() публичный Метод

Loads the calibration data from an XML file
public Load ( System _FileName ) : void
_FileName System
Результат void

Save() публичный Метод

Saves the calibration data to an XML file
public Save ( System _FileName ) : void
_FileName System
Результат void

UpdateAllLuminances() публичный Метод

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
Результат void

Описание свойств

m_CameraShotInfos публичное свойство

public CameraShotInfo m_CameraShotInfos
Результат CameraShotInfo

m_ReferenceImageHeight публичное свойство

public int m_ReferenceImageHeight
Результат int

m_ReferenceImageName публичное свойство

public string m_ReferenceImageName
Результат string

m_ReferenceImageWidth публичное свойство

public int m_ReferenceImageWidth
Результат int

m_Reflectance02 публичное свойство

public Probe m_Reflectance02
Результат Probe

m_Reflectance10 публичное свойство

public Probe m_Reflectance10
Результат Probe

m_Reflectance20 публичное свойство

public Probe m_Reflectance20
Результат Probe

m_Reflectance50 публичное свойство

public Probe m_Reflectance50
Результат Probe

m_Reflectance75 публичное свойство

public Probe m_Reflectance75
Результат Probe

m_Reflectance99 публичное свойство

public Probe m_Reflectance99
Результат Probe

m_Reflectances публичное свойство

public Probe[] m_Reflectances
Результат Probe[]

m_Thumbnail публичное свойство

public byte[,] m_Thumbnail
Результат ].byte[