This paper presents the development of two-dimensional and pseudo three-dimensional visualisation of foreign object in milk carton using ultrasonic tomography system. Mathematical modelling based on ultrasonic amplitude wave and correlation between ultrasonic projection distance and voltage sensor are elaborated in this paper. Physical hazard contaminants such as metal, plastic, wood and glass materials were placed in the milk. The forward problem and the inverse problem of image reconstruction technique have been discussed briefly. 2D images of the contaminants are reconstructed using Linear Back-Projection (LBP) and Convolution Back-Projection (CBP) with Hanning, Hamming and Ram-Lak filter. A median filter technique has been combined to the algorithms for filtering noise of reconstructed images. The results show that image reconstruction using CBP-Ram-Lak has significantly yield the best image reconstruction for most tested phantoms. The application of median filter with 20 × 20 matrix have obtained a better image quality as they achieved the best values of PSNR and SSIM compared to non-median filter with 13.2765 and 0.7318, respectively for pairs of metal A - glass B (phantom Y-2). Pseudo three-dimensional (3D) image reconstruction for the foreign object has been carried out to provide more sufficient monitoring process in milk cartons. The 3D images were constructed based on stacking the 2D slice images in z-axis. Thus, the exact location of the object in the milk carton can be exposed clearly from various viewing angles. The results indicate that the ultrasonic tomography imaging system promises to be a non-invasive tool in quality monitoring especially for the detection of foreign objects in milk carton.