Interface ImageFinder

  • All Known Implementing Classes:
    RoughImageFinder, StrictImageFinder

    public interface ImageFinder
    Interface for all classes performing image lookup.
    Author:
    Alexandre Iline (alexandre.iline@sun.com)
    • Method Detail

      • findImage

        Point findImage​(BufferedImage image,
                        int index)
        Should return location if image lays inside an image represented by this object.
        Parameters:
        image - an image to search.
        index - an ordinal image location index. If equal to 1, for example, second appropriate location will be found.
        Returns:
        Image location coordinates if image was found, null otherwise.