Nondestructive Testing of Logs Inner Defects based on Box-Counting Dimension