Examples

Erik Smistad edited this page Jun 11, 2018 · 36 revisions

Contents

To build all examples, set the FAST_BUILD_EXAMPLES cmake option. The example executables will be in the bin folder of 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, TriangleRenderer
Import point set from file VTKMeshFileImporter, VertexRenderer
Import line set from file VTKMeshFileImporter, LineRenderer
Stream depth and color data from a Kinect device KinectStreamer

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
Airway segmentation and centerline extraction AirwaySegmentation, CenterlineExtraction, ImageFileImporter, SurfaceExtraction, MeshRenderer, LineRenderer
Lung segmentation LungSegmentation, SurfaceExtraction, MeshRenderer
Neural network segmentation PixelClassifier, SegmentationRenderer

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

Python

Name Objects used
Using FAST in Python ImageFileImporter, ImageRenderer, SimpleWindow

Wishlist

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

Name Objects used
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.