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
Parser for 3D images
- Author:
- Tiago Ferreira
-
Field Summary
Fields inherited from class sc.fiji.snt.analysis.sholl.parsers.ImageParser
cal, center, channel, frame, imp, lowerT, maxX, maxY, maxZ, minX, minY, minZ, profile, properties, radii, running, start, statusService, upperT, voxelSize, xc, yc, zcFields inherited from interface sc.fiji.snt.analysis.sholl.ProfileProperties
HEMI_EAST, HEMI_NONE, HEMI_NORTH, HEMI_SOUTH, HEMI_WEST, INTG_MEAN, INTG_MEDIAN, INTG_MODE, KEY_2D3D, KEY_CALIBRATION, KEY_CENTER, KEY_CHANNEL_POS, KEY_EFFECTIVE_STEP_SIZE, KEY_EXTRA_MEASUREMENT, KEY_FRAME_POS, KEY_HEMISHELLS, KEY_ID, KEY_NSAMPLES, KEY_NSAMPLES_INTG, KEY_SLICE_POS, KEY_SOURCE, KEY_THRESHOLD_RANGE, SRC_IMG, SRC_TABLE, SRC_TRACES, UNSET -
Constructor Summary
ConstructorsConstructorDescriptionImageParser3D(ij.ImagePlus imp) ImageParser3D(ij.ImagePlus imp, org.scijava.Context context) -
Method Summary
Modifier and TypeMethodDescriptionGets the Sholl profile generated by the parsing operation.booleanvoidparse()Performs the parsing operation to extract the Sholl profile.voidsetPosition(int channel, int frame) voidsetSkipSingleVoxels(boolean skip) Methods inherited from class sc.fiji.snt.analysis.sholl.parsers.ImageParser
checkUnsetFields, checkUnsetFields, clearStatus, getCircumferencePoints, getIsotropicVoxelSize, getMask, getMaskProcessor, isRetrieveIntDensitiesSet, maxPossibleRadius, reset, run, setCenter, setCenterFromROI, setCenterFromROI, setCenterPx, setHemiShells, setRadii, setRadii, setRetrieveIntDensities, setThreshold, successful, terminate, withinBounds, withinThreshold, withinXYbounds, withinZboundsMethods inherited from class org.scijava.command.ContextCommand
cancel, getCancelReason, isCanceledMethods inherited from class org.scijava.AbstractContextual
context, getContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.Contextual
setContext
-
Constructor Details
-
ImageParser3D
public ImageParser3D(ij.ImagePlus imp) -
ImageParser3D
public ImageParser3D(ij.ImagePlus imp, org.scijava.Context context)
-
-
Method Details
-
getProfile
Description copied from interface:ParserGets 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 withParser.successful().- Specified by:
getProfilein interfaceParser- Overrides:
getProfilein classImageParser- Returns:
- the Sholl profile, or null if parsing has not been performed or was unsuccessful
-
parse
public void parse()Description copied from interface:ParserPerforms 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:
parsein interfaceParser- Overrides:
parsein classImageParser
-
setPosition
public void setPosition(int channel, int frame) - Overrides:
setPositionin classImageParser
-
setSkipSingleVoxels
public void setSkipSingleVoxels(boolean skip) -
isSkipSingleVoxels
public boolean isSkipSingleVoxels()
-