Angle of View calculation

Calculate Angle of View (Viewing Angle) from the images provided. Do not use the background lines for any calculation.



  • Use the programming language of your choice (preferably C++ or Java) to provide a function which takes an image, and returns the angle.
  • Use any image processing library of your choice.

Image# 1

Image# 3

Image# 2

Image# 4