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