@Override protected void processExtrema(FImage[] dogs, int s, int x, int y, float octSize) { // calculate the actual scale within the octave final float octaveScale = octave.options.getInitialSigma() * (float) Math.pow(2.0, s / scales); // fire the listener if (listener != null) listener.foundInterestPoint(this, x, y, octaveScale); } }
@Override protected void processExtrema(FImage[] dogs, int s, int x, int y, float octSize) { // calculate the actual scale within the octave final float octaveScale = octave.options.getInitialSigma() * (float) Math.pow(2.0, s / scales); // fire the listener if (listener != null) listener.foundInterestPoint(this, x, y, octaveScale); } }
@Override public void process(GaussianOctave<FImage> octave) { for (int currentScaleIndex = 0; currentScaleIndex < octave.images.length; currentScaleIndex++) { final FImage fImage = octave.images[currentScaleIndex]; final float currentScale = (float) (octave.options.getInitialSigma() * Math.pow(2, (float) currentScaleIndex / octave.options.getScales())); detector.setDetectionScale(currentScale); detector.findInterestPoints(fImage); final List<T> points = this.selectionMode.selectPoints(detector); processOctaveLevelPoints(fImage, points, currentScale, octave.octaveSize); } }
@Override public void process(GaussianOctave<FImage> octave) { for (int currentScaleIndex = 0; currentScaleIndex < octave.images.length; currentScaleIndex++) { final FImage fImage = octave.images[currentScaleIndex]; final float currentScale = (float) (octave.options.getInitialSigma() * Math.pow(2, (float) currentScaleIndex / octave.options.getScales())); detector.setDetectionScale(currentScale); detector.findInterestPoints(fImage); final List<T> points = this.selectionMode.selectPoints(detector); processOctaveLevelPoints(fImage, points, currentScale, octave.octaveSize); } }
octaveScale = ((GaussianPyramidOptions<IMAGE>) octave.options).getInitialSigma() * (float) Math.pow(2.0, currentScaleIndex / scales);
octaveScale = ((GaussianPyramidOptions<IMAGE>) octave.options).getInitialSigma() * (float) Math.pow(2.0, currentScaleIndex / scales);
final float octaveScale = octave.options.getInitialSigma() * (float) Math.pow(2.0, (s + fit.offset.get(0, 0)) / octave.options.getScales());
final float octaveScale = octave.options.getInitialSigma() * (float) Math.pow(2.0, (s + fit.offset.get(0, 0)) / octave.options.getScales());