Skip to content

Examples

Erik Smistad edited this page Dec 3, 2015 · 54 revisions

Contents

To build all examples, set the FAST_BUILD_EXAMPLES cmake option. The example executables will be in your build directory. You will find all example source files in the folder source/FAST/Examples. Most of the examples require that you have installed the test data.

Data import

Name Objects used
Import image from file ImageFileImporter, ImageRenderer
Stream images from disk ImageFileStreamer, ImageRenderer
Import mesh from file VTKMeshFileImporter, MeshRenderer
Import point set from file VTKPointSetFileImporter, PointRenderer
Import line set from file VTKLineSetFileImporter, LineRenderer

Data export

Name Objects used

Filtering

Name Objects used
Gaussian smoothing filter GaussianSmoothingFilter, ImageFileImporter, ImageRenderer

Segmentation

Name Objects used
Binary thresholding BinaryThresolding, ImageFileImporter, ImageRenderer, SegmentationRenderer
Seeded region growing SeededRegionGrowingSegmentation, ImageFileImporter, SurfaceExtraction, MeshRenderer

Registration

Name Objects used
Iterative closest point IterativeClosestPoint, VTKPointSetFileImporter, PointRenderer

Visualization

Name Objects used
Extract surface mesh from volume and visualize it SurfaceExtraction, MeshRenderer, ImageFileImporter

Graphical user interface

Name Objects used
Simple GUI to change parameters of algorithms and visualize the result Window, GaussianSmoothingFilter, SurfaceExtraction, MeshRenderer, ImageFileImporter

Interoperability

Name Objects used
Use FAST in an existing Qt application QWidget, ImageFileStreamer, ImageRenderer

Extending FAST

Name Objects used
Create an algorithm in FAST ProcessObject, Image

Wishlist

Do you have any suggestions for good examples? Write a description of what you want to see here.

Name Objects used
Clone this wiki locally