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>nn::camera::CTR::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>Photos of text (QR codes)</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><CODE>NORMAL</CODE></TH><TH><CODE>PORTRAIT</CODE></TH><TH><CODE>LANDSCAPE</CODE></TH><TH><CODE>NIGHTVIEW</CODE></TH><TH><CODE>LETTER</CODE></TH></THEAD></TR><TR><TD><CODE>Sharpness</CODE></TD><TD>0</TD><TD>-2</TD><TD>+1</TD><TD>-1</TD><TD>+2</TD></TR><TR><TD><CODE>Exposure</CODE></TD><TD>0</TD><TD>0</TD><TD>0</TD><TD>+2</TD><TD>+2</TD></TR><TR><TD><CODE>WhiteBalance</CODE></TD><TD><CODE>NORMAL</CODE></TD><TD><CODE>NORMAL</CODE></TD><TD><CODE>DAYLIGHT</CODE></TD><TD><CODE>NORMAL</CODE></TD><TD><CODE>NORMAL</CODE></TD></TR><TR><TD><CODE>Contrast</CODE></TD><TD><CODE>NORMAL</CODE></TD><TD><CODE>LOW</CODE></TD><TD><CODE>NORMAL</CODE></TD><TD><CODE>NORMAL</CODE></TD><TD><CODE>HIGH</CODE></TD></TR><TR><TD>Gain (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><CODE>AutoExposureWindow</CODE></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> settings in the previous table correspond to the following values specified to the <CODE>SetAutoExposureWindow</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><SPAN class="argument">startX</SPAN></TD><TD>0</TD><TD>80</TD></TR><TR><TD><SPAN class="argument">startY</SPAN></TD><TD>0</TD><TD>60</TD></TR><TR><TD><SPAN class="argument">width</SPAN></TD><TD>640</TD><TD>480</TD></TR><TR><TD><SPAN class="argument">height</SPAN></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 on <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>