ConsoleBasic

Support

Required licenses

Any, EasyImage for the processing part

Recommended images

Any

Location

[…]C:\Users\Public\Documents\Euresys\Open eVision 24.02\Sample Programs
\[LANGUAGE] samples
\Image Processing\ConsoleBasic

Purpose

This sample program demonstrates:

Initialize and release the Open eVision library.
Check for a specific license.
Load an image and perform a simple processing on it.

Code highlights

1. Initializes the Open eVision library this should be done before any other call to Open eVision.
Easy::Initialize();
2. Release the Open eVision library or tool.
NOTE: You must do this after all the other calls to Open eVision.
Easy::Terminate();
3. Check the presence of a license on the system.
Easy::CheckLicense(…);
4. Load an image file from the disk into an object EImage.
img.Load(…);