×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

curvature calculation

curvature calculation

curvature calculation

(OP)
I have an image smoothed using Gaussian smoothing technique.  The edges of the object in this image has been detected. Next, i would like to calculate the curavture of the edges.  How can do so using Matlab 6 ?  thanks.

RE: curvature calculation

you might try using a function like polyfit in matlab to fit a polynomial of whatever degree you find appropriate to your edge, or parts of it.  from the function that is returned to you, you can analytically compute the curvature.

hope this is useful.

Sonya

RE: curvature calculation

(OP)
Hello,

 thanks for the reply.  I had actually tried using polyfit to do so.  But the problem is : there are multiple points occur with the same x or with the same y.  So, how can i eliminate this ?? thanks

RE: curvature calculation

Hi,
1)Use contour to get contineous lines.
2) Find turning points by chacking sign(diff(x)) for each line and split it to single valued lines.

Joe
BSTEX - Equation viewer for Matlab
http://www.geocities.com/bstex2001

RE: curvature calculation

(OP)
Hello,

  There are a lot of circular objects which are the objects of my interest.  So, I dun think using contour can help me to draw the the continuoes line for all the circular objects where some are connected and others are not.  Moreover, I really don't know how many line i need to draw.
  
  I am actually thinking whether i can just count the curvature at each of the edge point that i found from the Canny Edge Detector method. Is there any way for me to do so ?? Thanks.

RE: curvature calculation

Hi,
Sure you can do it because any 3 points defines a unique circle that its radius can be associated with the curvature at the mid point. This is a simple Euclidian geometry. The only thing is that:
1) You have to make sure that any point has only  2 neighbors (use 'thin'), and to check nearest neighbors.
2) The result will be very 'noisy'.(You may try to smooth the curvature result after computation.

Joe
BSTEX - Equation viewer for Matlab
http://www.geocities.com/bstex2001

RE: curvature calculation

(OP)
Hello,

 If i do have any preliminary knowledge on the radius of the circular objects, is there any way for me to calculate the curvature at the edge point ? thanks

RE: curvature calculation

(OP)
Hello,

 If i do NOT have any preliminary knowledge on the radius of the circular objects, is there any way for me to calculate the curvature at the edge point ? thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources