1. A method for performing an image processing application, comprising the steps of: expressing the image processing application as a non-negative quadratic program (NNQP) with a quadratic objective, and nonnegativity constraints; expressing a Karush-Kuhn-Tucker condition of the NNQP as a fixpoint ratio; and determining iteratively the fixpoint ratio until a solution to the image processing application is reached with a desired precision, wherein the solution to the image processing application is an output image produced by the image processing application, and wherein steps are performed in a processor.