Examples of SURFInterestPoint


Examples of com.alibaba.security.simpleimage.analyze.harissurf.SURFInterestPoint

            File f  = new File(filePath);
            fis = new  ObjectInputStream(new FileInputStream(f));
            int count = fis.readInt();
            List<SURFInterestPoint> al = new  ArrayList<SURFInterestPoint>();
            for(int i=0;i<count;i++){
                SURFInterestPoint ip = (SURFInterestPoint) fis.readObject();
                al.add(ip);
            }
            int w = fis.readInt();
            int h = fis.readInt();
            InterestPointListInfo ipl = new InterestPointListInfo();
View Full Code Here

Examples of com.alibaba.security.simpleimage.analyze.harissurf.SURFInterestPoint

    public static InterestPointListInfo readComplete (ObjectInputStream fis,String name) {
         try {
            int count = fis.readInt();
            List<SURFInterestPoint> al = new  ArrayList<SURFInterestPoint>();
            for(int i=0;i<count;i++){
                SURFInterestPoint ip = (SURFInterestPoint) fis.readObject();
                al.add(ip);
            }
            int w = fis.readInt();
            int h = fis.readInt();
            InterestPointListInfo ipl = new InterestPointListInfo();
View Full Code Here

Examples of com.alibaba.simpleimage.analyze.harissurf.SURFInterestPoint

                g.drawImage(model, logo_width, logo_height, model_width, model_height, null);

                int x = 0;
                for (Entry<SURFInterestPoint, SURFInterestPoint> es : matchMap.entrySet()) {

                    SURFInterestPoint fromPoint = es.getKey();
                    SURFInterestPoint toPoint = es.getValue();
                    g.setColor(cs[x++ % 3]);
                    g.drawLine((int) fromPoint.getX(), (int) fromPoint.getY(), (int) toPoint.getX() + logo_width,
                               (int) toPoint.getY() + logo_height);
                }
                g.dispose();
                fos = new FileOutputStream(diff_filepath + tf.getName() + "_" + logo_surf_name + matchMap.size()
                                           + ".jpg");
                ImageIO.write(outputImage, "JPEG", fos);
View Full Code Here

Examples of com.alibaba.simpleimage.analyze.harissurf.SURFInterestPoint

            File f  = new File(filePath);
            fis = new  ObjectInputStream(new FileInputStream(f));
            int count = fis.readInt();
            List<SURFInterestPoint> al = new  ArrayList<SURFInterestPoint>();
            for(int i=0;i<count;i++){
                SURFInterestPoint ip = (SURFInterestPoint) fis.readObject();
                al.add(ip);
            }
            int w = fis.readInt();
            int h = fis.readInt();
            InterestPointListInfo ipl = new InterestPointListInfo();
View Full Code Here

Examples of com.alibaba.simpleimage.analyze.harissurf.SURFInterestPoint

    public static InterestPointListInfo readComplete (ObjectInputStream fis,String name) {
         try {
            int count = fis.readInt();
            List<SURFInterestPoint> al = new  ArrayList<SURFInterestPoint>();
            for(int i=0;i<count;i++){
                SURFInterestPoint ip = (SURFInterestPoint) fis.readObject();
                al.add(ip);
            }
            int w = fis.readInt();
            int h = fis.readInt();
            InterestPointListInfo ipl = new InterestPointListInfo();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.