enter image description here
How can ı apply this formula? I need to calculate new values each pixel by applying this formula.