O'Reilly logo

OpenCV By Example by Vinícius Godoy, David Millán Escrivá, Prateek Joshi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an application for AOI

To create our new application, we require a few input parameters when the user executes them; all of them are optional, excluding the input image to be processed:

  • An input image to be processed
  • The light image pattern
  • The light operation, where the user can choose between difference or division operations:
    • If the input value of the user is set to 0, then a difference operation is applied
    • If the input value of the user is set to 1, then a division operation is applied
  • Segmentation, where the user can choose between connected components with or without statistics and findContours methods:
    • If the input value of the user is set to 1, then the connected components method for the segment is applied
    • If the input value of the user ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required