Class SampleIntensityScalePoint
java.lang.Object
boofcv.alg.feature.detect.selector.SampleIntensityScalePoint
- All Implemented Interfaces:
SampleIntensity<ScalePoint>
Uses the intensity value in
ScalePoint to return the intensity-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetX(ScalePoint p) Pixel coordinate x-axisintgetY(ScalePoint p) Pixel coordinate y-axisfloatsample(@Nullable GrayF32 intensity, int index, ScalePoint p) Returns the intensity.
-
Constructor Details
-
SampleIntensityScalePoint
public SampleIntensityScalePoint()
-
-
Method Details
-
sample
Description copied from interface:SampleIntensityReturns the intensity. If the sampling method does not require the intensity image then it may be null.- Specified by:
samplein interfaceSampleIntensity<ScalePoint>- 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:SampleIntensityPixel coordinate x-axis- Specified by:
getXin interfaceSampleIntensity<ScalePoint>
-
getY
Description copied from interface:SampleIntensityPixel coordinate y-axis- Specified by:
getYin interfaceSampleIntensity<ScalePoint>
-