This code demonstrates Image euclidean distance transform (EDT) using NPP library.
Image segmentation
Linux Windows
x86_64
- Image Euclidean Distance Transfrom (EDT).
- A Linux/Windows system with recent NVIDIA drivers.
- Install the CUDA 11.2 toolkit.
$ mkdir build
$ cd build
$ cmake ..
$ make
$ mkdir build
$ cd build
$ cmake -DCMAKE_GENERATOR_PLATFORM=x64 ..
$ Open distanceTransform.sln project in Visual Studio 15 2017 and build
./distanceTransform -h
Usage: ./distanceTransform
Parameters:
number-of-images : Use 2 number of images
Example:
$ ./distanceTransform
./distanceTransform
NPP Library Version 11.3.2 CUDA Driver Version: 11.2 CUDA Runtime Version: 11.2
Input file load succeeded. Input file load succeeded. Done!