private static FloatProcessor gradientStrength(ImageProcessor x, ImageProcessor y){
		FloatProcessor result = new FloatProcessor(x.getWidth(), x.getHeight());
		for(int i = 1; i <= x.getWidth(); i++){
			for(int j = 1; j <= x.getHeight(); j++){
				float xCor = Float.intBitsToFloat(x.get(i-1,j-1));
				float yCor = Float.intBitsToFloat(y.get(i-1,j-1));
				result.putPixelValue(i, j, (float) Math.hypot(xCor, yCor));
			}
		}
		return result;
	}