Refining a Jagged "Skeletonized" Line (Image)

8 ビュー (過去 30 日間)
Brian Vu
Brian Vu 2015 年 2 月 23 日
コメント済み: Brian Vu 2015 年 9 月 5 日
Above is the basic image of the line I want to refine / smooth out.
Below is a mock-up I made in paint of what I want to line to look like.
I'm extracting the center-line of fish using the better skeletonization method and while it is much more refined then the basic bwmorph skel() function it isn't quite as smooth as desired.
I'm processing a couple of images but the problem is roughly the same in all of them (jagged bumps). Does anyone have any tips of how to go about this problem?
Thanks in advance.

採用された回答

Image Analyst
Image Analyst 2015 年 9 月 4 日
You need to increase the number of pixels in the image, like you did. If you do that the line will be smoother.
  1 件のコメント
Brian Vu
Brian Vu 2015 年 9 月 5 日
This was the exact method I used to solve this problem. I simply used the "better skeletonization method" to get the initial line then I added pixels using a dilation.

サインインしてコメントする。

その他の回答 (1 件)

Julian Eskin
Julian Eskin 2015 年 9 月 4 日
Did you ever solve this problem? I need to do a similar kind of thing.
  1 件のコメント
Brian Vu
Brian Vu 2015 年 9 月 5 日
See Image Analyst's response (and mine) below.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by