# Configuring Fish-Eye Cameras

Navigation: Working with Nx Witness > Device Management (Cameras, Encoders and I/O Modules) > Setting Up Cameras and Devices > # Configuring Fish-Eye Cameras |

Fish-eye lens capture a very large viewing area but also create a severely distorted image. Nx Witness provides a powerful dewarping algorithm that can be applied to make a fish-eye image much easier to view. Applying the dewarping algorithm allows enables PTZ controls for a camera.

Dewarping requires that a camera first be configured to best apply the dewarping algorithm. Once dewarping is configured, you use the corresponding dewarping icon when the camera is in layout to activate dewarp mode. See "Dewarping Fish-Eye Cameras" for details.

Note: Keep the c amera open in layout so you can see how the image changes as settings are adjusted.

1.Select the desired camera and open Camera Settings from the context menu.

2.In the Fisheye tab, c lick on the Fisheye Dewarping button to enable (green) the distortion correction parameters.

3.Indicate the mounting position of the camera – Ceiling Mount, Wall Mount, or Floor/Table Mount – to apply the proper d ewarping algorithm for the camera's orientation. Note that a Wall Mount setting allows for only a 180 degree panoramic view. The other 2 settings allow for a 360 degree panoramic view.

4.Mount Angle Correction - if needed, you can adjust the mounting angle by -30.0 to +30.0 degrees.

5.If necessary, position the blue calibration circle over the camera's field of view as accurately as possible. Click-and-drag to move the circle and use the mouse wheel to resize it.

6.Click Auto Calibration to apply the dewarping algorithm.

7.If needed, you can manually adjust the settings:

•Use the Size slider to change the size of the blue circle. You can also use the mouse scroll button to resize it.

•Use the X Offset and Y Offset sliders to change the position of the circle it horizontally or vertically. You can also click-and-drag it to the desired position.

•Use the Ellipticity slider to adjust the shape of the lens (panamorph lens support).

8.Click Apply or OK when finished. To discard changes, click Cancel.

The dewarping icon will now display on the camera item in layout to indicate that it is configured for dewarping mode and PTZ controls. See "De-warping Fish-Eye Cameras".