A stable method solving the total variation dictionary model with L constraints