In this paper the inverse problems in electromagnetism are considered. An inverse approach is developed using field theory, high visualization technologies, image processing and data manipulation. This approach is applied for defects and cracks detection during nondestructive testing of the objects and structures with reliable applications. The virtual magnetic microscope is design for analysis of field distributions. The developed approach characterizes with effectiveness, simplicity and applicability for solving different inverse problems in electromagnetism.