Package org.sikuli.script
Class Finder.Finder2
- java.lang.Object
-
- org.sikuli.script.Finder.Finder2
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<Region>contoursToRectangle(List<org.opencv.core.MatOfPoint> contours)protected static List<org.opencv.core.Mat>extractMask(org.opencv.core.Mat target, boolean onlyChannel4)protected static org.sikuli.script.Finder.FindResult2find(org.sikuli.script.Finder.FindInput2 findInput)static List<Region>findChanges(org.sikuli.script.Finder.FindInput2 findInput)static BufferedImagegetBufferedImage(org.opencv.core.Mat mat)static BufferedImagegetBufferedImage(org.opencv.core.Mat mat, String type)protected static org.opencv.core.MatgetNewMat()protected static org.opencv.core.MatgetNewMat(org.opencv.core.Size size, int type, int fill)protected static voidinit()static booleanisOpaque(BufferedImage bImg)booleanisValid()static org.opencv.core.MatmakeMat()static org.opencv.core.MatmakeMat(BufferedImage bImg)static org.opencv.core.MatmakeMat(BufferedImage bImg, boolean asBGR)static org.opencv.core.MatmakeMat(org.opencv.core.Size size, int type, int fill)protected static org.opencv.core.MatmatMulti(org.opencv.core.Mat mat, int channels)
-
-
-
Field Detail
-
PNG
protected static final String PNG
- See Also:
- Constant Field Values
-
dotPNG
protected static final String dotPNG
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
protected static void init()
-
isValid
public boolean isValid()
-
find
protected static org.sikuli.script.Finder.FindResult2 find(org.sikuli.script.Finder.FindInput2 findInput)
-
contoursToRectangle
public static List<Region> contoursToRectangle(List<org.opencv.core.MatOfPoint> contours)
-
isOpaque
public static boolean isOpaque(BufferedImage bImg)
-
makeMat
public static org.opencv.core.Mat makeMat(BufferedImage bImg)
-
makeMat
public static org.opencv.core.Mat makeMat(BufferedImage bImg, boolean asBGR)
-
makeMat
public static org.opencv.core.Mat makeMat()
-
makeMat
public static org.opencv.core.Mat makeMat(org.opencv.core.Size size, int type, int fill)
-
getNewMat
protected static org.opencv.core.Mat getNewMat()
-
getNewMat
protected static org.opencv.core.Mat getNewMat(org.opencv.core.Size size, int type, int fill)
-
matMulti
protected static org.opencv.core.Mat matMulti(org.opencv.core.Mat mat, int channels)
-
extractMask
protected static List<org.opencv.core.Mat> extractMask(org.opencv.core.Mat target, boolean onlyChannel4)
-
getBufferedImage
public static BufferedImage getBufferedImage(org.opencv.core.Mat mat)
-
getBufferedImage
public static BufferedImage getBufferedImage(org.opencv.core.Mat mat, String type)
-
-