ArrayList<ScalePeak> peaksFilted = osp.filterAndLocalizePeaks(peaks, maximumEdgeRatio, dValueLowThresh,
scaleAdjustThresh, relocationMaximum);
// 先将要处理的图层上所有象素的梯度大小和方向计算出来
osp.pretreatMagnitudeAndDirectionImgs();
ArrayList<FeaturePoint> faturePoints = osp.makeFeaturePoints(peaksFilted, peakRelThresh, scaleSpaceLevels,
octaveSigma);
osp.clear();
globalFeaturePoints.addAll(faturePoints);
}
return (globalFeaturePoints.size());