Examples of filterAndLocalizePeaks()


Examples of com.alibaba.security.simpleimage.analyze.sift.scala.DScaleSpace.filterAndLocalizePeaks()

        for (int on = 0; on < pyr.count(); ++on) {
            DScaleSpace dsp = pyr.octaves.get(on);

            ArrayList<ScalePoint> peaks = dsp.findPeaks(dogThresh);// 寻找图片中的极值点
            int oldCount = peaks.size();
            ArrayList<ScalePoint> peaksFilt = dsp.filterAndLocalizePeaks(peaks, maximumEdgeRatio, dValueLowThresh,
                                                             scaleAdjustThresh, relocationMaximum);
           
            if (verbose) {
                System.out.printf ("  filtered: %d remaining from %d, thats %5.2f %%\r\n",
                    peaksFilt.size(), oldCount, (100.0 * peaksFilt.size()) / oldCount);
View Full Code Here

Examples of com.alibaba.simpleimage.analyze.sift.scale.OctaveSpace.filterAndLocalizePeaks()

        // Generate featurePoints from each scalespace.
        for (int on = 0; on < pyr.octaves.size(); ++on) {
            OctaveSpace osp = pyr.octaves.get(on);

            ArrayList<ScalePeak> peaks = osp.findPeaks(dogThresh);// 寻找图片中的极值点
            ArrayList<ScalePeak> peaksFilted = osp.filterAndLocalizePeaks(peaks, maximumEdgeRatio, dValueLowThresh,
                                                                          scaleAdjustThresh, relocationMaximum);

            // 先将要处理的图层上所有象素的梯度大小和方向计算出来
            osp.pretreatMagnitudeAndDirectionImgs();
            ArrayList<FeaturePoint> faturePoints = osp.makeFeaturePoints(peaksFilted, peakRelThresh, scaleSpaceLevels,
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.