Class SampleIntensityImage.I16

java.lang.Object
boofcv.alg.feature.detect.selector.SampleIntensityImage.I16
All Implemented Interfaces:
SampleIntensity<Point2D_I16>
Enclosing class:
SampleIntensityImage

public static class SampleIntensityImage.I16 extends Object implements SampleIntensity<Point2D_I16>
Implementation for Point2D_I16
  • Constructor Details

    • I16

      public I16()
  • Method Details

    • sample

      public float sample(@Nullable @Nullable GrayF32 intensity, int index, Point2D_I16 p)
      Description copied from interface: SampleIntensity
      Returns the intensity. If the sampling method does not require the intensity image then it may be null.
      Specified by:
      sample in interface SampleIntensity<Point2D_I16>
      Parameters:
      intensity - Image with intensity information. May be null if sampling method does not use it.
      index - Index of the point in the list
      p - Coordinate being sampled. Must be inside the image
      Returns:
      The intensity at the sample point
    • getX

      public int getX(Point2D_I16 p)
      Description copied from interface: SampleIntensity
      Pixel coordinate x-axis
      Specified by:
      getX in interface SampleIntensity<Point2D_I16>
    • getY

      public int getY(Point2D_I16 p)
      Description copied from interface: SampleIntensity
      Pixel coordinate y-axis
      Specified by:
      getY in interface SampleIntensity<Point2D_I16>