It's necessary for detected ferromagnetic material to do fault diagnosis to ensure it to operate safely, lengthen its service life, prevent leakage and environment pollution. Now, magnetic flux leakage (MFL) inspection method is widely recognized as one of the most effective nondestructive testing methods for ferromagnetic material.In this paper, data preprocessing and data processing are the main research content. Data preprocessing makes data neater, which lays a solid foundation for accurate and fast defect localization, feature extraction and life prediction. Furthermore, data preprocessing and image rendering implement the data processing function rapidly and precisely and greatly reduce the difficulty of data processing.