truenicfel / vfe-demo

Small demo implementation of the SIGGRAPH 2024 paper "Variational Feature Extraction in Scientific Visualization", ACM Trans. Graph. 43, 4, Article 109 (July 2024). https://doi.org/10.1145/3658219

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variational Feature Extraction Demo

representative-image

About

This demo contains an isoline extraction on the earth mantle dataset and a critical line extraction in the ocean data set as shown in our paper.

Prerequisites

You need to have a compiled version of VTK available. This was tested with VTK 9.2.

Build

  1. Create a build directory. You might want to use different ones for Release/Debug.
mkdir build
  1. Run CMake configure and generate. During this you will probably be warned that VTK was not found. Supply the build folder of your VTK build as a variable to CMake.
cd build
cmake ..
  1. Build it!
cmake-- build .

Run

Execute the EarthMantle executable or the Ocean executable like this while supplying earthMantle.vti, ocean.vti and/or oceanSeeds.vtp which can be found in the supplementary material of our paper. When running you might encounter an error message that certain VTK libraries were not found. You need to make them available to your executable by adding their path to your environment.

./EarthMantle [PATH_TO_EARTH_MANTLE_VTI]
./Ocean [PATH_TO_EARTH_OCEAN_VTI] [PATH_TO_OCEAN_SEEDS_VTP]

After running you should find an isoLine.vtp file and/or a criticalLines.vtp file depending on which of the two executables you executed.

About

Small demo implementation of the SIGGRAPH 2024 paper "Variational Feature Extraction in Scientific Visualization", ACM Trans. Graph. 43, 4, Article 109 (July 2024). https://doi.org/10.1145/3658219

License:MIT License


Languages

Language:C++ 95.8%Language:CMake 4.2%