Curvature Center ratio of an image

1 次查看(过去 30 天)
Priya Sri
Priya Sri 2019-7-21
I am trying to implement curvature center ratio of a segmented region to find whether the given image is polyp. I want to find curvature center point (alpha,beta) for each boundary pixel. The formula for alpha and beta is
al=x - ((x'2 +y'2)*y')/(x'y''-x''y')
be=y+ ((x'2 +y'2)*x')/(x'y''-x''y')
If I have a boundary pixel(142,18) , How to find the center point using alpha and beta. I dont know how to calculat the partial derivatives x' and y''. If I have to do diffentiation means, which function have to be applied to differntiate with respect to x and y.
I tried derivest(@(x) fun(x),18,'d',1); function, but dont know which function to use? Please help me.

回答(0 个)

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by