Package boofcv.core.image
Interface LookUpColorRgb<T extends ImageBase<T>>
- All Known Implementing Classes:
LookUpColorRgbFormats.IL_F32
,LookUpColorRgbFormats.IL_U8
,LookUpColorRgbFormats.PL_F32
,LookUpColorRgbFormats.PL_U8
,LookUpColorRgbFormats.SB_F32
,LookUpColorRgbFormats.SB_U8
public interface LookUpColorRgb<T extends ImageBase<T>>
Extracts the RGB color from an image
-
Method Summary
-
Method Details
-
setImage
Sets the input image -
lookupRgb
int lookupRgb(int x, int y) Returns the RGB value at the specified pixel. It can be assumed that the coordinate will always be inside the image.- Parameters:
x
- x-axis pixel coordinatey
- y-axis pixel coordinate- Returns:
- RGB in 24-bit format
-
getImageType
Returns the input image type
-