Computer Vision Toolbox
Installation Clone the repository by running the following git commands:
git clone https://github.com/andrepiz/cvt
Then, simply call cvt_install() to add the toolbox to the PATH so you can call any CVT functions within your projects.
Description This toolbox contains many MATLAB functions to solve problems commonly found in the CV domain. Some examples are shown in the following pictures:
-
Find the intersection of a Field of View (FOV) with conical or frustum shape with a sphere and compute the longitude/latitude limits at different camera poses. Note that when no intersections are found, the tangency limit circle is used to compute the limits.

-
Given a sphere, camera and light locations, find the longitude/latitude masks of out-of-fov, non-observable and non-lit points. Non-observable points have a reflection angle larger than 90 degrees, non-lit points have a incidence angle larger than 90 degrees.

-
Find the occlusions at limb or terminator regions of a sphere given its Digital Elevation Map (DEM).

Projects This toolbox is currently used within the following projects: