import javax.swing.JFrame;
import org.opencv.core.Core;
+import org.opencv.core.Mat;
import org.opencv.core.Scalar;
public class IsolateImage extends Panel {
BufferedImage image;
+ public static Mat matOriginal;
+
public static final Scalar LOWER_BOUNDS = new Scalar(103, 164, 169);
public static final Scalar UPPER_BOUNDS = new Scalar(125, 229, 255);
}
public static void main(String args[]) throws Exception {
+
+ matOriginal = new Mat();
+
// Creates a window to
// display the image
JFrame frame = new JFrame("Display image");