Frame Theory and Application in Digital Image Processing