Package boofcv.core.image
Class LookUpColorRgbFormats.IL_U8
java.lang.Object
boofcv.core.image.LookUpColorRgbFormats.IL_U8
- All Implemented Interfaces:
LookUpColorRgb<InterleavedU8>
- Enclosing class:
- LookUpColorRgbFormats
public static class LookUpColorRgbFormats.IL_U8
extends Object
implements LookUpColorRgb<InterleavedU8>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the input image typeint
lookupRgb
(int x, int y) Returns the RGB value at the specified pixel.void
setImage
(InterleavedU8 image) Sets the input image
-
Constructor Details
-
IL_U8
public IL_U8()
-
-
Method Details
-
setImage
Description copied from interface:LookUpColorRgb
Sets the input image- Specified by:
setImage
in interfaceLookUpColorRgb<InterleavedU8>
-
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<InterleavedU8>
- 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<InterleavedU8>
-