Class ImageParser3D

java.lang.Object
org.scijava.AbstractContextual
org.scijava.command.ContextCommand
sc.fiji.snt.analysis.sholl.parsers.ImageParser
sc.fiji.snt.analysis.sholl.parsers.ImageParser3D
All Implemented Interfaces:
Runnable, org.scijava.Cancelable, org.scijava.command.Command, org.scijava.Contextual, org.scijava.plugin.SciJavaPlugin, Parser, ProfileProperties

public class ImageParser3D extends ImageParser
Parser for 3D images
Author:
Tiago Ferreira
  • Constructor Details

    • ImageParser3D

      public ImageParser3D(ij.ImagePlus imp)
    • ImageParser3D

      public ImageParser3D(ij.ImagePlus imp, org.scijava.Context context)
  • Method Details

    • getProfile

      public Profile getProfile()
      Description copied from interface: Parser
      Gets the Sholl profile generated by the parsing operation.

      This method returns the profile containing intersection counts at various radial distances. The profile should only be retrieved after calling Parser.parse() and verifying success with Parser.successful().

      Specified by:
      getProfile in interface Parser
      Overrides:
      getProfile in class ImageParser
      Returns:
      the Sholl profile, or null if parsing has not been performed or was unsuccessful
    • parse

      public void parse()
      Description copied from interface: Parser
      Performs the parsing operation to extract the Sholl profile.

      This method analyzes the data source and computes intersection counts at various radial distances from the center point. The resulting profile can be retrieved using Parser.getProfile().

      Implementations should handle any necessary preprocessing, validation, and error handling during the parsing process.

      Specified by:
      parse in interface Parser
      Overrides:
      parse in class ImageParser
    • setPosition

      public void setPosition(int channel, int frame)
      Overrides:
      setPosition in class ImageParser
    • setSkipSingleVoxels

      public void setSkipSingleVoxels(boolean skip)
    • isSkipSingleVoxels

      public boolean isSkipSingleVoxels()