nn::y2r::CTR::SetStandardCoefficient Function

Syntax

void SetStandardCoefficient(
     StandardCoefficient no
);

Arguments

Name Description
in no Specifies the type of the standard conversion coefficients.

Return Values

None.

Description

Sets the standard conversion coefficients.

The initial value is not suitable for conversion, so you must specify the appropriate conversion coefficient for your intended purpose.

To convert the YUV data that is captured by the CTR camera, the most appropriate conversion result can be obtained by using the conversion coefficient obtained by calling the nn::camera::CTR::GetSuitableY2rStandardCoefficient function.

Use COEFFICIENT_ITU_R_BT_601 if you have used the JPEG library to output in YUV format images that were captured using the CTR system's cameras and encoded using the JPEG library. You can obtain similar results if you had output to RGB directly from the JPEG library.

However, because the precision of the calculations is different, you may not get the exact same results.

Revision History

2010/07/16
Added information about the recommended settings.
2010/01/07
Initial version.

CONFIDENTIAL