Constrained Kaczmarz extended algorithm for image reconstruction