Reconstruction of inhomogeneous media by iterative reconstruction algorithm with learned projector