Examples of GaussianConvolution


Examples of com.alibaba.security.simpleimage.analyze.sift.conv.GaussianConvolution

        imgScaled[0] = first;

        double w = sigma;
        double kTerm = Math.sqrt(Math.pow(SToK(scales), 2.0) - 1.0);
        for (int scI = 1; scI < imgScaled.length; ++scI) {
            GaussianConvolution gauss = new GaussianConvolution(w * kTerm);
            prev = imgScaled[scI] = gauss.convolve(prev);
            w *= SToK(scales);
        }
    }
View Full Code Here

Examples of com.alibaba.security.simpleimage.analyze.sift.conv.GaussianConvolution

        // (Lowe03, p10, "We assume that the original image has a blur of at
        // least \sigma = 0.5 ...")
        // So, do one initial image smoothing pass.
        if (preprocSigma > 0.0) {
            GaussianConvolution gaussianPre = new GaussianConvolution(preprocSigma);
            img = gaussianPre.convolve(img);
        }

        pyr = new OctavePyramid();
        pyr.setVerbose(verbose);
        pyr.buildOctaves(img, startScale, scaleSpaceLevels, octaveSigma, minimumRequiredPixelsize);
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.