code: public static GrayU8 removePointNoise(GrayU8 input, GrayU8 output) {
  		output = InputSanityCheck.checkDeclare(input, output);
  
  		if( BoofConcurrency.USE_CONCURRENT ) {
  			ImplBinaryInnerOps_MT.removePointNoise(input, output);
  		} else {
  			ImplBinaryInnerOps.removePointNoise(input, output);
  		}
  		ImplBinaryBorderOps.removePointNoise(input, output);
  
  		return output;
  	}
docs: Binary operation which is designed to remove small bits of spurious noise.  An 8-neighborhood is used.
  If a pixel is connected to less than 2 neighbors then its value zero.  If connected to more than 6 then
  its value is one.  Otherwise it retains its original value.
  
  @param input  Input image. Not modified.
  @param output If not null, the output image.  If null a new image is declared and returned.  Modified.
  @return Output image.