Hello, I have a binarized image and I need to divide it into parts for segmentation. How could I do that? Thanks

댓글 수: 4

Sahas Marwah
Sahas Marwah 2023년 6월 28일
Assuming that you need help in Image Segmentation, you can use the "greythresh" method or the Image Segmentor App.
You can visit these documentation pages for more information:
https://in.mathworks.com/help/images/image-segmentation.html -- Different types of Segmentation techniques including greythresh
Assuming you need help in Image Division, you can look at this answer:
DGM
DGM 2023년 6월 28일
What you describe is vague. You're going to have to clearly explain what you have and what you intend to do.
Pablo Márquez
Pablo Márquez 2023년 6월 29일
편집: Pablo Márquez 2023년 6월 29일
Of course, DGM, I'm sorry. What I have is the following image, that is a serrated chip formation obtained from a machining process:
You can see the original image on the left, and the binarized one on the right. What I need to do is to separate each single tooth getting a black space betwen them, like this:
I've got the pixel coordinates of the peaks and the valleys of the white area, so I think I could draw a black line from each peak to each valley, but I don't know how.
Thanks mate.
Pablo Márquez
Pablo Márquez 2023년 6월 29일
Thanks Saha, I'll try with the "greythresh" method.

댓글을 달려면 로그인하십시오.

답변 (1개)

Keerthi Reddy
Keerthi Reddy 2023년 6월 28일

0 개 추천

Hi Pablo, in MATLAB, you can use the regionprops function to divide a binarized image into parts for segmentation.
I hope this helps,
Thanks.

댓글 수: 1

Pablo Márquez
Pablo Márquez 2023년 6월 29일
I'll try with regionprops, I've just seen the command. I think this can be the solution.
Thank you Keerthi.

댓글을 달려면 로그인하십시오.

질문:

2023년 6월 28일

편집:

2023년 6월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by