1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>SetStandardCoefficient</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/y2r/Overview.html">y2r</a>::<a href="../../../nn/y2r/CTR/Overview.html">CTR</a>::SetStandardCoefficient</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void SetStandardCoefficient( 15 <a href="../../../nn/y2r/CTR/StandardCoefficient.html">StandardCoefficient</a> no 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21 <table class="arguments"> 22 <thead> 23 <tr> 24 <td width="15" /> 25<th>Name</th> 26<td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30<td>in</td> 31<th>no</th> 32<td>Specifies the type of the standard conversion coefficients.</td> 33 </tr> </table> 34 </div> 35<h2>Return Values</h2> 36 <div class="section"> 37None. 38 </div> 39<h2>Description</h2> 40 <div class="section"> 41<p>Sets the standard conversion coefficients.</p><p> 42The initial value is not suitable for conversion, so you must specify the appropriate conversion coefficient for your intended purpose. 43 </p><p> 44When converting the YUV data captured by the CTR cameras, the best conversion results are yielded by using the conversion coefficients obtained by calling the <CODE>nn::y2r::CTR::nn::camera::CTR::GetSuitableY2rStandardCoefficient</CODE> function. 45 </p><p> 46Use <CODE>COEFFICIENT_ITU_R_BT_601</CODE> 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. 47 </p><p> 48However, because the precision of the calculations is different, you may not get the exact same results. 49 </p><p> 50When setting multiple items that are included in <a href="../../../nn/y2r/CTR/PackageParameter/Overview.html"><CODE>nn::y2r::CTR::PackageParameter</CODE></a> (including those items that can be set by this function), we recommend using the <a href="../../../nn/y2r/CTR/SetPackageParameter.html"><CODE>nn::y2r::CTR::SetPackageParameter</CODE></a> function instead. 51 </p></div> 52<h2>Revision History</h2> 53 <div class="section"> 54 <dl class="history"> 55 <dt>2011/03/07</dt> 56<dd>Added that using the <CODE>SetPackageParameter</CODE> function is recommended.<br /> 57 </dd> 58 <dt>2010/07/16</dt> 59<dd>Added information about the recommended settings.<br /> 60 </dd> 61 <dt>2010/01/07</dt> 62<dd>Initial version.<br /> 63 </dd> 64 </dl> 65 </div> 66 <hr><p>CONFIDENTIAL</p></body> 67</html> 68