docs: @Override
  	public void detect(PyramidFloat<T> ss) {
  		spaceIndex = 0;
  		foundPoints.clear();
  
  		// compute feature intensity in each level
  		for (int i = 1; i < ss.getNumLayers()-1; i++) {
  			// detect features in 2D space.  Don't need to compute features at the tail ends of scale-space
  //			if (i > 0 && i < ss.getNumLayers() - 1)
  //				detectCandidateFeatures(ss.getLayer(i), ss.getSigma(i));
  
  			spaceIndex = i;
  			detectCandidateFeatures(ss.getLayer(i), ss.getSigma(i));
  			// find maximum in 3xNx3 (local image and scale space) region
  			findLocalScaleSpaceMax(ss, i);
  
  //			spaceIndex++;
  //			if (spaceIndex >= 3)
  //				spaceIndex = 0;
  //
  //			// find maximum in 3x3x3 (local image and scale space) region
  //			if (i >= 2) {
  //				detectCandidateFeatures(ss.getLayer(i-i), ss.getSigma(i-1));
  //				findLocalScaleSpaceMax(ss, i - 1);
  //			}
  		}
  	}