Navigation

  • index
  • modules |
  • interface methods |
  • next |
  • previous |
  • Dragonfly 3.5 documentation »

Code snippetsΒΆ

This section contains examples of code.

  • 1. Using Numpy arrays to modify data of a dataset
    • 1.1. How to extract a Numpy Array from a Channel
    • 1.2. How to create a Channel from a Numpy Array
    • 1.3. How to modify a Channel values
  • 2. Manipulating ROIs
    • 2.1. How to use a ROI as mask for operation on Channel
    • 2.2. How to do logical operation on ROI and MultiROI
  • 3. Annotations
    • 3.1. How to create a VisualRuler on the current View
  • 4. Spatial transformations
    • 4.1. How to apply an affine transform to a StructuredGrid
    • 4.2. How to apply an affine transform to an UnstructuredGrid
  • 5. Context
    • 5.1. How to switch state of current context
  • 6. Movie maker
    • 6.1. How to show or hide the movie maker
    • 6.2. How to add key frame the movie maker
  • 7. Manipulating LUTs
    • 7.1. How to apply a LUT to a Channel
    • 7.2. How to create a discrete LUT and apply it to a Channel
  • 8. Manipulating Views
    • 8.1. How to split the display in 2 scenes, and choosing what is displayed
  • 9. Macro logging
    • 9.1. How to log calls to the model
    • 9.2. How to create a simple macro to erode an image

Logo

Previous topic

Setup for development with PyCharm

Next topic

1. Using Numpy arrays to modify data of a dataset

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • interface methods |
  • next |
  • previous |
  • Dragonfly 3.5 documentation »
© Copyright 2018, Object Research Systems (ORS), Inc.. Created using Sphinx 1.5.6.