java.lang.Object
Ch10_Line_Fitting.Line_Fitting
- All Implemented Interfaces:
PlugInFilter
,JavaDocHelp
Performs line fitting on the point set specified by the current ROI. Two fitting methods are employed: (a) linear regression fitting, (b) orthogonal regression fitting. The result of the first varies with rotation, while orthogonal fitting is rotation-invariant. See Sec. 10.2 (Fig. 10.4) of [1] for additional details. Sample points are either collected from the ROI (if available) or collected as foreground pixels (values > 0) from the image. If no image is currently open, the user is asked to create a suitable sample image.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/10/03
-
Field Summary
FieldsFields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor, asks to open a predefined sample image if no other image is currently open. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface imagingbook.core.jdoc.JavaDocHelp
getJavaDocUrl
-
Field Details
-
RegressionFitColor
-
OrthogonalFitColor
-
ShowLog
-
StrokeWidth
-
-
Constructor Details
-
Line_Fitting
public Line_Fitting()Constructor, asks to open a predefined sample image if no other image is currently open.
-
-
Method Details
-
setup
- Specified by:
setup
in interfacePlugInFilter
-
run
- Specified by:
run
in interfacePlugInFilter
-