< prev index next >
core/JemmyAWTInput/src/org/jemmy/image/RoughImageFinder.java
Print this page
@@ -28,11 +28,11 @@
import java.awt.image.BufferedImage;
/**
* Performs "rough" image search.
*
- * @author Alexandre Iline (alexandre.iline@sun.com)
+ * @author shura
*/
public class RoughImageFinder implements ImageFinder {
double roughness = .0;
int bigWidth, bigHeight;
int[][] bigPixels;
@@ -58,11 +58,11 @@
/**
* Performs "rough" search.
* @param image an image to search.
* @param index an ordinal image location index.
* @return Point where number of unmatching pixels less or equal to
- * <code>image1.getWidth() * image1.getHeight() * roughness<code>
+ * <code>image1.getWidth() * image1.getHeight() * roughness</code>
*/
public Point findImage(BufferedImage image, int index) {
int smallWidth = image.getWidth();
int smallHeight = image.getHeight();
int[][] smallPixels = new int[smallWidth][smallHeight];
< prev index next >