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.

When converting the YUV data captured by the CTR cameras, the best conversion results are yielded by using the conversion coefficients obtained by calling the nn::y2r::CTR::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.

When setting multiple items that are included in nn::y2r::CTR::PackageParameter (including those items that can be set by this function), we recommend using the nn::y2r::CTR::SetPackageParameter function instead.

Revision History

2011/03/07
Added that using the SetPackageParameter function is recommended.
2010/07/16
Added information about the recommended settings.
2010/01/07
Initial version.

CONFIDENTIAL