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>PhotoMode</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/camera/Overview.html">camera</a>::<a href="../../../nn/camera/CTR/Overview.html">CTR</a>::PhotoMode</CODE> Enumerated Type</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum PhotoMode;
15</pre>
16    </div>
17<h2>Values</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22            <th>Value</th>
23            <td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27          <th><CODE>PHOTO_MODE_NORMAL</CODE></th>
28          <td>No adjustment</td>
29        </tr>
30        <tr>
31          <th><CODE>PHOTO_MODE_PORTRAIT</CODE></th>
32          <td>Portraits</td>
33        </tr>
34        <tr>
35          <th><CODE>PHOTO_MODE_LANDSCAPE</CODE></th>
36          <td>Landscapes</td>
37        </tr>
38        <tr>
39          <th><CODE>PHOTO_MODE_NIGHTVIEW</CODE></th>
40          <td>Night view</td>
41        </tr>
42        <tr>
43          <th><CODE>PHOTO_MODE_LETTER</CODE></th>
44          <td>Letter photo mode (QR code patterns)</td>
45        </tr>
46        <tr>
47          <th><CODE>PHOTO_MODE_MAX</CODE></th>
48          <td>
49        </td>
50        </tr>
51      </table> </div>
52    <h2>Description</h2>
53    <div class="section">
54      <p>Enumerated type that indicates the photo mode.</p><P>
55                Although the photo mode adjusts the gamma correction, gain, and similar settings, it also overwrites the sharpness, exposure, and white balance settings. The following values are set.
56</P><P><TABLE><TBODY><TR><THEAD><TD /><TH>NORMAL</TH><TH>PORTRAIT</TH><TH>LANDSCAPE</TH><TH>NIGHTVIEW</TH><TH>LETTER</TH></THEAD></TR><TR><TD>Sharpness</TD><TD>0</TD><TD>-2</TD><TD>+1</TD><TD>-1</TD><TD>+2</TD></TR><TR><TD>Exposure</TD><TD>0</TD><TD>0</TD><TD>0</TD><TD>+2</TD><TD>+2</TD></TR><TR><TD>WhiteBalance</TD><TD>NORMAL</TD><TD>NORMAL</TD><TD>DAYLIGHT</TD><TD>NORMAL</TD><TD>NORMAL</TD></TR><TR><TD>Contrast</TD><TD>NORMAL</TD><TD>LOW</TD><TD>NORMAL</TD><TD>NORMAL</TD><TD>HIGH</TD></TR><TR><TD>Gain. (It cannot be set by a function.)</TD><TD>Normal.</TD><TD>Normal.</TD><TD>Normal.</TD><TD>Maximum.</TD><TD>Normal.</TD></TR><TR><TD>AutoExposureWindow</TD><TD><P>Outer camera: The overall photometer area.</P><P>Inner camera: The center of the photometer area.</P></TD><TD>The center of the photometer area.</TD><TD><P>Outer camera: The overall photometer area.</P><P>Inner camera: The center of the photometer area.</P></TD><TD><P>Outer camera: The overall photometer area.</P><P>Inner camera: The center of the photometer area.</P></TD><TD><P>Outer camera: The overall photometer area.</P><P>Inner camera: The center of the photometer area.</P></TD></TR></TBODY></TABLE></P><P>The <CODE>AutoExposureWindow</CODE> setting in this table is equivalent to specifying the following to the <CODE><a href="../../../nn/camera/CTR/SetAutoExposureWindow.html">nn::camera::CTR::SetAutoExposureWindow</a></CODE> function.</P><P><TABLE><TR><THEAD><TH /><TH>The overall photometer area.</TH><TH>The center of the photometer area.</TH></THEAD></TR><TR><TD>startX</TD><TD>0</TD><TD>80</TD></TR><TR><TD>startY</TD><TD>0</TD><TD>60</TD></TR><TR><TD>width</TD><TD>640</TD><TD>480</TD></TR><TR><TD>height</TD><TD>480</TD><TD>360</TD></TR></TABLE></P></div>
57    <h2>Revision History</h2>
58    <div class="section">
59      <dl class="history">
60        <dt>2010/09/24</dt>
61        <dd>Corrected function name errors.<br />
62        </dd>
63        <dt>2010/06/22</dt>
64<dd>Added information about the <CODE>Contrast</CODE>, gain, and <CODE>AutoExposureWindow</CODE> settings.<br />
65        </dd>
66        <dt>2010/01/07</dt>
67        <dd>Initial version.<br />
68        </dd>
69      </dl>
70    </div>
71  <hr><p>CONFIDENTIAL</p></body>
72</html>