Class BaseIntegralEdge<T extends ImageGray<T>>

java.lang.Object
boofcv.alg.shapes.edge.BaseIntegralEdge<T>
Direct Known Subclasses:
EdgeIntensityEllipse, ScoreLineSegmentEdge, SnapToEllipseEdge, SnapToLineEdge

public class BaseIntegralEdge<T extends ImageGray<T>> extends Object
Base class for computing line integrals along lines/edges.
  • Field Details

  • Constructor Details

    • BaseIntegralEdge

      public BaseIntegralEdge(Class<T> imageType)
  • Method Details

    • setTransform

      public void setTransform(@Nullable @Nullable PixelTransform<Point2D_F32> undistToDist)
      Used to specify a transform that is applied to pixel coordinates to bring them back into original input image coordinates. For example if the input image has lens distortion but the edge were found in undistorted coordinates this code needs to know how to go from undistorted back into distorted image coordinates in order to read the pixel's value.
      Parameters:
      undistToDist - Pixel transformation from undistorted pixels into the actual distorted input image.
    • setImage

      public void setImage(T image)
      Sets the image which is going to be processed. This must be called first.
    • getInputType

      public Class<T> getInputType()