cubert-hyperspectral / cuvis.cpp

Apache License 2.0
1 stars 2 forks source link

image

cuvis.cpp

cuvis.cpp is the C++ wrapper for the Cuvis SDK written in C (available here).

This wrapper enables operating Cubert GmbH Hyperspectral Cameras, as well as, analyzing data directly from the corporate data format(s) within C++. This wrapper provides an object-oriented full representation of the basic C SDK capabilities.

For other supported program languages, please have a look at the source code page.

Installation/Compilation

Prerequisites

First, you need to install the Cuvis C SDK from here.

Importing Cuvis CPP SDK via CMake

First, you need to add the directory containing FindCuvisCpp.cmake to CMAKE_MODULE_PATH. Assuming you added the cuvis.cpp repository as submodule as "${CMAKE_SOURCE_DIR}/cuvis.cpp" you can add it like so:

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cuvis.cpp/")

Then you need to run the find_package function:

find_package(CuvisCpp REQUIRED)

If cuvis is installed to default locations, they are found automatically. Else, locate the cuvis.lib and the directory containing cuvis.h.

Finally, link against cuvis::cpp. In the following example, the target main is linked against cuvis:

add_executable(main main.cpp)
target_link_libraries(main PRIVATE cuvis::cpp)

Please note, that linking against cuvis::cpp will enable c++17 on the target.

How to ...

Getting started

We provide an additional example repository here, covering some basic applications.

Further, we provide a set of example images to explore here. These examples are also used by the examples mentioned above.

Getting involved

cuvis.hub welcomes your enthusiasm and expertise!

With providing our SDK wrappers on GitHub, we aim for a community-driven open source application development by a diverse group of contributors. Cubert GmbH aims for creating an open, inclusive, and positive community. Feel free to branch/fork this repository for later merge requests, open issues or point us to your application specific projects. Contact us, if you want your open source project to be included and shared on this hub; either if you search for direct support, collaborators or any other input or simply want your project being used by this community. We ourselves try to expand the code base with further more specific applications using our wrappers to provide starting points for research projects, embedders or other users.

Getting help

Directly code related issues can be posted here on the GitHub page, other, more general and application related issues should be directed to the aforementioned Cubert GmbH support page.