Interface CLNImageView2DType

All Known Implementing Classes:
CLNImageView2DFixedU1555, CLNImageView2DFixedU16, CLNImageView2DFixedU32, CLNImageView2DFixedU4444, CLNImageView2DFixedU565, CLNImageView2DFixedU64, CLNImageView2DFixedU8

public interface CLNImageView2DType
A view of a mipmap within an image. An image view presents the illusion that a given image comprises pixels with double-precision floating point channels.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pixelAt(int x, int y, double[] pixel)
    Sample a pixel at the given location.
    int
     
    int
     
  • Method Details

    • sizeX

      int sizeX()
      Returns:
      The size of the view on the X axis
    • sizeY

      int sizeY()
      Returns:
      The size of the view on the Y axis
    • pixelAt

      void pixelAt(int x, int y, double[] pixel)
      Sample a pixel at the given location.
      Parameters:
      x - The x location
      y - The y location
      pixel - The output pixel