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

    Modifier and Type
    Method
    Description
    Returns the input image type
    int
    lookupRgb(int x, int y)
    Returns the RGB value at the specified pixel.
    void
    setImage(T image)
    Sets the input image
  • Method Details

    • setImage

      void setImage(T image)
      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 coordinate
      y - y-axis pixel coordinate
      Returns:
      RGB in 24-bit format
    • getImageType

      ImageType<T> getImageType()
      Returns the input image type