Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I am working in Lankton paper Localizing Region-Based Active Contours(here[^]) that has to do with localized active contours and especially in mean separation energy part.I am stuck in a point that i can not understand how is implemented.The equation (17) in this paper is Equation link[^]

I download the matlab code for this part from here

The equation (17) from paper is transformed in matlab code to

C#
F = -((u-v).*((I(idx)-u)./Ain+(I(idx)-v)./Aout));

where Ain=Au and Aout=Aυ. Can anyone help me with the mathematics and how (17) is transformed to this code part. Thank you in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900