Package boofcv.core.image
Class LookUpColorRgbFormats.IL_F32
java.lang.Object
boofcv.core.image.LookUpColorRgbFormats.IL_F32
- All Implemented Interfaces:
LookUpColorRgb<InterleavedF32>
- Enclosing class:
- LookUpColorRgbFormats
public static class LookUpColorRgbFormats.IL_F32
extends Object
implements LookUpColorRgb<InterleavedF32>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the input image typeint
lookupRgb
(int x, int y) Returns the RGB value at the specified pixel.void
setImage
(InterleavedF32 image) Sets the input image
-
Constructor Details
-
IL_F32
public IL_F32()
-
-
Method Details
-
setImage
Description copied from interface:LookUpColorRgb
Sets the input image- Specified by:
setImage
in interfaceLookUpColorRgb<InterleavedF32>
-
lookupRgb
public int lookupRgb(int x, int y) Description copied from interface:LookUpColorRgb
Returns the RGB value at the specified pixel. It can be assumed that the coordinate will always be inside the image.- Specified by:
lookupRgb
in interfaceLookUpColorRgb<InterleavedF32>
- Parameters:
x
- x-axis pixel coordinatey
- y-axis pixel coordinate- Returns:
- RGB in 24-bit format
-
getImageType
Description copied from interface:LookUpColorRgb
Returns the input image type- Specified by:
getImageType
in interfaceLookUpColorRgb<InterleavedF32>
-