Camera Calibration for Video Surveillance Toolbox
Introduction
Most cameras for video surveillance are installed in high positions with a slightly tilted angle. In such installation, it is possible to retain only three calibration parameters in the original camera model, namely the focal length (f), tilting angle (theta) and camera height (c). These parameters can be directly solved by a nonlinear curve fitting using the observed head and foot points of a walking human. This toolbox privdes several functions and sample data needed to demonstrate this method.
List of scripts (demo)
Calibrating camera using head/foot points data
CalibrationDemo.m
Evaluating performance of calibration and height estimation
CrossValidationY.m - using Y only
CrossValidationYd.m - using Y only (distortion corrected)
CrossValidationXY.m - using X and Y
CrossValidationXYd.m - using X and Y (distortion corrected)
Demonstrating distortion correction
UndistortionDemo.m
List of functions
For given foot points, compute head points
FootToHeadY.m - using Y only
FootToHeadXY.m - using X and Y
FootToHeadXYd.m - using X and Y (distortion corrected)
For given foot and head points, compute human height
PointsToHeightY.m
Distort or undistort image
DistortImage.m
UndistortImage.m
Distort or undistort points
DistortPoints.m
UndistortPoints.m
Sample data
Sample data is under /data folder.
Homepage
License
This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
(C) 2015 Shengzhe Li lishengzhe@gmail.com
Citar como
Shengzhe Li (2025). Camera Calibration for Video Surveillance Toolbox (https://github.com/lishengzhe/ccvs), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Image Processing and Computer Vision > Computer Vision Toolbox > Camera Calibration >
- Industries > Aerospace and Defense > C4ISR >
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
src
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
|
