code: public void process(GrayF32 intensityImage,
  						@Nullable QueueCorner candidatesMin, @Nullable QueueCorner candidatesMax,
  						QueueCorner foundMin , QueueCorner foundMax ) {
  
  		this.input = intensityImage;
  
  		// pixels indexes larger than these should not be examined
  		endBorderX = intensityImage.width-ignoreBorder;
  		endBorderY = intensityImage.height-ignoreBorder;
  
  		search.initialize(intensityImage);
  
  		if( candidatesMin != null ) {
  			foundMin.reset();
  			examineMinimum(intensityImage, candidatesMin, foundMin);
  		}
  		if( candidatesMax != null ) {
  			foundMax.reset();
  			examineMaximum(intensityImage, candidatesMax, foundMax);
  		}
  
  	}
docs: Checks to see if the specified candidates are local minimums or maximums.  If a candidate list is
  null then that test is skipped.