Perona-Malik Diffusion Equation

pearpan
Messages
2
Reaction score
0

Homework Statement


Implement the non-linear de-noising algorithm of Perona-Malik. Consider a noisy image, u, with pixel values referenced by u(i,j). Non-linear de-noising can be achieved by solving the following non-linear diffusion equation:

∇ · (g(∇u)∇u) = 0

with g(s) = ((K^2)v) / ((K^2) + |s|)

where v and K are parameters controlling the amount of diffusion.

Write down the linear system associated with this discretization.

My question is how do I do this? How can I take the gradient of a pixel? It isn't a function so how can I do partial derivative with respect to x and y to it?
 
Physics news on Phys.org
I have no idea what to do here. If I could have shown work I would have, but I have no work done. I just need a nudge in the right direction here.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top