Interface SimpleImage

All Known Subinterfaces:
SimpleModifiableImage
All Known Implementing Classes:
PixelImageIJ

public interface SimpleImage
A minimal interface for accessing pixel values in a single-channel image.
Author:
Pete Bankhead
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the image height.
    float
    getValue(int x, int y)
    Get the value of a single pixel as a float.
    int
    Get the image width.
  • Method Details

    • getValue

      float getValue(int x, int y)
      Get the value of a single pixel as a float.
      Parameters:
      x - x-coordinate of the pixel
      y - y-coordinate of the pixel
      Returns:
    • getWidth

      int getWidth()
      Get the image width.
      Returns:
    • getHeight

      int getHeight()
      Get the image height.
      Returns: