Fix the iteration error in the binary image and add harmonic mean
kernel.
Fix content displaying problems.