Camera — OpenCV 2.4.10.0 documentation

### Navigation

- index
- next |
- previous |
- OpenCV 2.4.10.0 documentation »
- OpenCV API Reference »
- stitching. Images stitching »

# Camera

## detail::CameraParams

struct `detail::``CameraParams`

Describes camera parameters.

Note

Translation is assumed to be zero during the whole stitching pipeline.

    struct CV_EXPORTS CameraParams
    {
        CameraParams();
        CameraParams(const CameraParams& other);
        const CameraParams& operator =(const CameraParams& other);
        Mat K() const;

        double focal; // Focal length
        double aspect; // Aspect ratio
        double ppx; // Principal point X
        double ppy; // Principal point Y
        Mat R; // Rotation
        Mat t; // Translation
    };

## Help and Feedback

You did not find what you were looking for?

- Ask a question on the Q&A forum.
- If you think something is missing or wrong in the documentation, please file a bug report.

### Navigation

- index
- next |
- previous |
- OpenCV 2.4.10.0 documentation »
- OpenCV API Reference »
- stitching. Images stitching »