Class SampleIntensityImage.I16
java.lang.Object
boofcv.alg.feature.detect.selector.SampleIntensityImage.I16
- All Implemented Interfaces:
SampleIntensity<Point2D_I16>
- Enclosing class:
- SampleIntensityImage
Implementation for
Point2D_I16
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getX
(Point2D_I16 p) Pixel coordinate x-axisint
getY
(Point2D_I16 p) Pixel coordinate y-axisfloat
sample
(@Nullable GrayF32 intensity, int index, Point2D_I16 p) Returns the intensity.
-
Constructor Details
-
I16
public I16()
-
-
Method Details
-
sample
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 interfaceSampleIntensity<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 listp
- Coordinate being sampled. Must be inside the image- Returns:
- The intensity at the sample point
-
getX
Description copied from interface:SampleIntensity
Pixel coordinate x-axis- Specified by:
getX
in interfaceSampleIntensity<Point2D_I16>
-
getY
Description copied from interface:SampleIntensity
Pixel coordinate y-axis- Specified by:
getY
in interfaceSampleIntensity<Point2D_I16>
-