ImageDev

ImageDev C++

This section details how to start with ImageDev C++.
ImageDev C++ can be installed with a package archives.

Prerequisites

Supported platforms

To use ImageDev in a C++ project you need:

Creating a build environment from package archives

To create a new project using ImageDev from an available package archive, you need to:

Project configuration

Hello ImageDev C++

To create your first ImageDev processing code, you need to open or create a C++ project generated with the CMake options and add the following directives for including ImageDev, IOLink and IOFormat headers and namespaces.
#include <ImageDev/ImageDev.h>
#include <ioformat/IOFormat.h>
#include <iolink/view/ImageViewProvider.h>
using namespace imagedev;
using namespace ioformat;
using namespace iolink;
You are now ready to write your first ImageDev code, for instance by copying and pasting the content of the main function of the C++ example available at the end of the HelloImageDev tutorial page.

You must first build the "install" project to copy the ImageDev libraries in the output directory.

You can now run this code and compare the resulting images with those shown in the HelloImageDev tutorial.