Refining a Jagged "Skeletonized" Line (Image)
조회 수: 6 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147271/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147272/image.png)
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.
댓글 수: 0
채택된 답변
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!