Residual classifier learning for X-ray tomography: unraveling noise, artifacts, and true structures