Learning-based super-resolution method with a combining of both global and local constraints