Wood defects influence on wood production quality. Image Processing of wood defects is important for wood defects detection. X-ray was adopted as a measure method for wood nondestructive testing. Because it not only can detect wood seeming defects, but also can detect inner defects. The collected images with defects were done median filter processing and edge detection so that the position, size and shape of wood defects are obvious in images. The experimental results show that the results of image processing can recognize wood defects effectively. This method not only provides reliable evidences for features extraction of wood defects, but also it lays a foundation for automatic detection. It is helpful for wood reasonable selection and scientific utilization.