GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • FAST | Documentation
  • Get started
  • Install FAST
  • C++ Introduction Tutorial
  • Python Introduction Tutorial
  • Text Pipelines
  • Learn FAST
  • C++ Tutorials
  • C++ Examples
  • Python Tutorials
  • Python Examples
  • API Reference
  • API Index
  • Building FAST

This view

  • Original page
  • New address

GeezerVison is showing fast-imaging.github.io — slicer_window_CT.py source | FAST | Documentation

slicer_window_CT.py source

This example shows how the SlicerWindow can be used to visualize 3 slice planes of a 3D CT volume along with a segmentation.

This example shows how the SlicerWindow can be used to visualize 3 slice planes of a 3D CT volume along with a segmentation.

Image
import fast

importer = fast.ImageFileImporter.create(fast.Config.getTestDataPath() + '/CT/CT-Thorax.mhd')

segmentation = fast.BinaryThresholding.create(150)\
    .connect(importer)

fast.SlicerWindow.create()\
    .connectImage(importer)\
    .connectSegmentation(segmentation, opacity=0.25, borderOpacity=0.75)\
    .run()
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.