PathFitter Class Documentation#

Package: sc.fiji.snt

Class for fitting circular cross-sections around existing nodes of a Path in order to compute radii (node thickness) and midpoint refinement of existing coordinates.

Methods#

Getters Methods#

getPath()#
getSucceeded()#

Checks whether the fit succeeded.

Setters Methods#

setCrossSectionRadius(double)#

Sets the max radius (side search) for constraining the fit.

setImage(RandomAccessibleInterval)#

Sets the target image

setNodeRadiusFallback(int)#
setProgressCallback(int, MultiTaskProgress)#
setReplaceNodes(boolean)#

Sets whether fitting should occur “in place”.

setScope(int)#

Sets the fitting scope.

setShowAnnotatedView(boolean)#

Sets whether an interactive image of the result should be displayed.

I/O Operations Methods#

readPreferences()#

Other Methods#

applyFit()#

Sets the fallback strategy for radii at locations in which fitting failed

applySettings(PathFitter)#
call()#

Takes the signal from the image specified in the constructor to fit cross-section circles around the nodes of input path. Computation of fit is confined to the neighborhood specified by setMaxRadius(int). Note that connectivity of path may need to be rebuilt upon fit.

See Also#