Package com.alibaba.simpleimage.analyze.sift.scale

Examples of com.alibaba.simpleimage.analyze.sift.scale.Pyramid


        BufferedImage bi = ImageIO.read(this.getClass().getResource("/test.png"));
        RenderImage ri = new RenderImage(bi);
        ImagePixelArray arr = ri.toPixelFloatArray(null);
        DumpImage.dump(arr, "/Users/axman/Downloads/arr.jpg");
        //arr = arr.doubled();
        Pyramid pyr = new Pyramid();
        pyr.buildOctaves(arr, 0.5f, 3, 1.6f, 32);
       
       
        BufferedImage dest = new BufferedImage(arr.width, arr.height, BufferedImage.TYPE_BYTE_GRAY);
        for (int y = 0; y < arr.height; y++) {
            for (int x = 0; x < arr.width; x++) {
View Full Code Here


        if (preprocSigma > 0.0) {
            GaussianArray gaussianPre = new GaussianArray(preprocSigma);
            img = gaussianPre.convolve(img);
        }

        Pyramid pyr = new Pyramid();
        pyr.buildOctaves(img, startScale, scaleSpaceLevels, octaveSigma, minimumRequiredPixelsize);
       
        globalFeaturePoints = new ArrayList<FeaturePoint>();
        // Generate featurePoints from each scalespace.
        for (int on = 0; on < pyr.octaves.size(); ++on) {
            OctaveSpace osp = pyr.octaves.get(on);
View Full Code Here

TOP

Related Classes of com.alibaba.simpleimage.analyze.sift.scale.Pyramid

Copyright © 2018 www.massapicom. 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.