Class ImportSeedPointsCmd

java.lang.Object
org.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
org.scijava.command.DynamicCommand
sc.fiji.snt.gui.cmds.CommonDynamicCmd
sc.fiji.snt.gui.cmds.ImportSeedPointsCmd
All Implemented Interfaces:
Runnable, org.scijava.Cancelable, org.scijava.command.Command, org.scijava.Contextual, org.scijava.module.Module, org.scijava.module.MutableModule, org.scijava.plugin.SciJavaPlugin

public class ImportSeedPointsCmd extends CommonDynamicCmd
Imports candidate seed points from a CSV file into SNT's SeedOverlay.

The CSV must have a header (case-insensitive, whitespace-tolerant) with the required columns x, y, z, confidence, radius. Optional columns channel, frame, type, source are read when present. Coordinates may be given in voxel indices or physical (calibrated) units; voxel-indexed inputs are converted to physical at import time using the active image's spacing.

Author:
Tiago Ferreira
See Also:
  • Field Details

  • Constructor Details

    • ImportSeedPointsCmd

      public ImportSeedPointsCmd()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface org.scijava.module.MutableModule
      Specified by:
      run in interface Runnable
      Overrides:
      run in class CommonDynamicCmd