--- # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: CC-BY-SA-4.0 title: Camera permalink: /modules/1/camera.html --- A camera is composed of light-sensing elements arranged in a 2D array. Each of these elements is a pixel. The images taken from a camera are typically affected by noise, which is a random variation of brightness (pixel values). There can be multiple causes, including electronic noise. In Gazebo, a Gaussian noise can be added to each pixel of each color channel independently. In the following the parameters for the camera sensor in `aws-robomaker-jetbot-ros/src/jetbot_description/urdf/robomaker-jetbot.gazebo.xacro` ``` true $(arg camera_visualize) 2.79253 1280 720 R8G8B8 0.01 100 gaussian 0.0 0.07 0.07 0.0 0.0 0.0 0.0 0.0 true 30.0 camera camera_link rgb/image_raw rgb/camera_info ``` There are a number of parameters that determine the sensor properties, including the field of view, the resolution, how objects are rendered in the image (`near` and `far`). Similarly to the LiDAR, the noise is Gaussian with `mean` and `stddev`. The short video shows such a noise, typically called salt and pepper (`stddev` was set to 0.2). {% include video-file.html url="/img/camera-noise" %} There are also a number of other parameter that model the lens of a camera, which introduces a distortion on the image. See the [camera sensor noise model](http://gazebosim.org/tutorials?tut=sensor_noise#Cameranoise) in Gazebo for more information. Note that a number of other disturbances can be present but are not modeled in the main Gazebo repository, for example, haze. ------- [Let's assess the understanding about sensor characteristics and noise.]({{ site.baseurl }}{% link _modules/mod-1e-assessment.md %}). {% capture ref %} {% bibliography --cited %} {% endcapture %} {% include references.html ref=ref %}