This paper investigates a 3D reconstruction based on the ultrasonic scanned data for tissue mimicking material (TMM) sample. A two-step varied window filter is developed to smooth ultrasound backscatter signals at first. Next, the anisotropic diffusion filter with a triangular window is presented to reduce the noise of the 2D images by aligning one-dimensional signals. Finally, the 3D structure of the object embedded in the TMM sample is reconstructed using the detected edges images. The performance of the proposed method is analyzed and validated through a number of experiments in both 2D imaging and 3D reconstruction.