I have this optimization problem:

> [![enter image description here][1]][1]



where `I(x,y) ` is the input image and `J(x,y)` is the output image.








  [1]: https://i.sstatic.net/yMaKS.gif
  

How i can solve this equation to get the output using python or Matlab.

Thanks for your reply