hi everyone

i want to divide two images dy and ey. dy is the dilated image and ey is the eroded image. bt doing it in a way
map= dy/ey gives error in matlab.
could any one help me how to divide these images.
i really need it
please help.

regards

Use ./ that will go element by element (I'm assuming that's what you are looking for). If you're looking for matrix inversion times another matrix than for inv(A)*B you need A\B.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.