right, I think you gave me the idea, so if I did not understood wrong, every curve will have the height equal 1 it would be the same as a line (height = 1), the only thing to consider is the width. So if I have two curves separated it will be the same idea as before ( I think), but without...
So for example if you have several x,y and z (function) that are not consecutive how to integrate
x,y,z=function
1,1,3
1,2,4
1,4,5
instead of having a polinomial function you have an arbitrary function.
Thanks again
It is the second thing the curve must evolve certain shape so the force can be for every point of the curve multiplied by a force. For example the force can be
c1 = average inside of the curve
c2 = average outside of Phi0
I1 = image
force=-(I1-c1).^2+(I1-c2).^2;
But the function I am...
Thanks for answering. I attached an example I want to calculate the integral of a contour (discrete points). The function could be the force that makes evolve this contour. The first example is the trivial I calculate the function in every points and I multiply it by the width between the two...
Hi everybody !
I have a question about discrete integrals with contours. I want to integrate
the points that makes the contour of an image. When the contour is only one
curve it is easy I get the function in every point of the contour and I multiply
by the distance between two consecutive...
Let's simplify the question, I hope it is simple to understand. how would you solve a discrete integral over an image. So I have discrete points over the image and I am just interested in a subset. If it was a polynomial function it would be straightforward but how do you deal with the width...
Homework Statement
I have a doubt about how to solve an integral and what numerical method I could use to solve it.
Example
A = [1,2;2,4]
Contour = [0,0,1,1]
r = I-mean;
integral of the position where the contour is equal zero and obtaining from that positon the value Ai which is...