Task Types Overview

Select Images

XF.Data.SelectImage is the most common first (source) task type. It allows selecting images for image processing. Each selected image is processed in a separate run.

Multiple Images per Run

XF.Data.AddImage can be used when processing two or more images per run. XF.Data.SelectImage is used for the first image of the run, and XF.Data.AddImage for additional images.


A workflow that combines multiple images per run.

Import Images

Images in various foreign file formats can be imported using a combination of XF.Data.SelectForeignFile and Lucid.Util.ImportImageFromForeignFile as described in Import external data.


A simple import workflow.

Common Interactive Tasks

The most common interactive tasks types are:

  • Lucid.Core.DefineAndCropImageVOI: Interactively define a Volume Of Interest and crop out a smaller image.

  • Lucid.Core.DefineSegmentationAndThreshold: Interactively threshold an image.

  • XF.Interactive.DefineRotatedImageVOI + Lucid.Core.CropRotatedImageVOI: Interactively define a rotated Volume Of Interest. This is useful for aligning.

  • XF.Interactive.DrawSegments: Interactive segment drawing and editing operations, including interpolation between slices (morphing) etc.

  • XF.Interactive.CreateContours: Work with contours.

  • XF.Interactive.CreateImageSnapshot: Visualize an image and save a snapshot that can be re-activated later.

  • XF.Interactive.CreateImageCompareSnapshot: Compare two images or masks.

  • More interactive task types

Common Image Processing Tasks

Many image processing algorithms are available. For example:

  • Core functionality for basic image processing operations is provided (via LUPO):

    • Lucid.Core.AutoVOI: Find a Volume Of Interest automatically.

    • Lucid.Core.Gauss: Gauss filtering.

    • Lucid.Core.ThresholdAuto: Automatic thresholding algorithms like Otsu’s method.

    • Lucid.Core.CompLabelingMain: Keep only the largest component.

    • Lucid.Core.Thickness: Calculate the local thickness.

    • Lucid.Core.SDT: Calculate the signed distance transform.

    • Lucid.Core.MorphClose: Morphological closing operation.

    • Lucid.Core.MorphOpen: Morphological opening operation.

    • Lucid.Core.MorphErode: Morphological erosion operation.

    • Lucid.Core.MorphDilate: Morphological dilation operation.

    • Lucid.Core.LogicalOr: Combine binary masks: Keep pixels in A or in B.

    • Lucid.Core.LogicalAnd: Combine binary masks: Keep pixels in A and in B.

    • Lucid.Core.LogicalAndNot: Combine binary masks: Keep pixels in A and not in B.

    • Lucid.Core.LogicalXOr: Combine binary masks: Keep pixels either in A or in B, but not in both.

    • More Lucid.Core task types

  • Other tools like IPL image processing commands or scripts can also be used:

    • Scanco.IPL.CropImageVOI: Use IPL to crop a VOI from an image.

    • Scanco.IPL.GaussSegmentation: Gauss segmentation.

    • Scanco.IPL.EvalThickness: Evaluate the image’s local thickness.

    • More Scanco.IPL task types


Example IPL workflow.

More task types can also be added to provide functionality offered by: