Follow this link to skip to the main content

claraty::Camera_Image_Properties Struct Reference

#include <camera_image.h>

Collaboration diagram for claraty::Camera_Image_Properties:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Camera_Image_Properties ()
bool io (FDM_Map map)

Public Attributes

Property brightness
Property contrast
Property exposure
Property iris
Property focus
float temperature
int frame_num
std::string camera_name
std::string filter_color

Classes

struct  Property

Detailed Description

Used for capturing camera properties that are associated with an image

Definition at line 41 of file camera_image.h.


Constructor & Destructor Documentation

claraty::Camera_Image_Properties::Camera_Image_Properties (  ) 

Default camera image properties

Definition at line 77 of file camera_image.cc.

00077                           :
00078   brightness  ( Property () ),
00079   contrast    ( Property () ),
00080   exposure    ( Property () ),
00081   iris        ( Property (0.0, 0.0, 1.0  ) ),
00082   focus       ( Property (0.0, 0.0, 0.016) ),
00083   temperature (0.0),
00084   frame_num   (0),
00085   camera_name ("def_camera"),
00086   filter_color("clear")
00087 {}


Member Function Documentation

bool claraty::Camera_Image_Properties::io ( FDM_Map  map  ) 

Definition at line 92 of file camera_image.cc.

References brightness, camera_name, contrast, exposure, claraty::FDM_Map::field(), filter_color, focus, frame_num, iris, and temperature.

00093 {
00094   bool ok = true;
00095   ok &= map.field("brightness",  brightness);
00096   ok &= map.field("contrast",    contrast);
00097   ok &= map.field("exposure",    exposure);
00098   ok &= map.field("iris",        iris);
00099   ok &= map.field("focus",       focus);
00100   ok &= map.field("temperature", temperature);
00101   ok &= map.field("frame_num",   frame_num);
00102   ok &= map.field("camera_name", camera_name);
00103   ok &= map.field("filter_color",filter_color);
00104   return ok;
00105 }

Here is the call graph for this function:


Member Data Documentation

Percent black level of the picture (or gain)

Definition at line 54 of file camera_image.h.

Referenced by io().

Percent separation of bimodal histogram

Definition at line 55 of file camera_image.h.

Referenced by io().

Integration time (seconds) CCD is exposed

Definition at line 56 of file camera_image.h.

Referenced by io().

F/stop number for the lens

Definition at line 57 of file camera_image.h.

Referenced by io().

Lens focal length (meters)

Definition at line 58 of file camera_image.h.

Referenced by io().

Temperature inside camera in deg C

Definition at line 59 of file camera_image.h.

Referenced by io().

Frame number of images in a video stream

Definition at line 60 of file camera_image.h.

Referenced by io().

Name of camera that acquired the image

Definition at line 61 of file camera_image.h.

Referenced by io().

color of the optical filter

Definition at line 62 of file camera_image.h.

Referenced by io().


The documentation for this struct was generated from the following files: