Curvature Center ratio of an image
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!