Filter löschen
Filter löschen

Help regarding Image Segmentation of B/W Image!!

2 Ansichten (letzte 30 Tage)
Samkit Mutta
Samkit Mutta am 14 Mär. 2015
Kommentiert: Image Analyst am 14 Jul. 2018
Hello! I am working on a project titled 'Yarn Hairiness determination using Image Processing'. The steps involved are- Image processing and Image analysis. In the processing, I converted the image to B/W. After that I am suppose to segment the core yarn from the its protruding fibres. I am stuck here. I have attached the the picture below. It would be a big help!
  5 Kommentare
Image Analyst
Image Analyst am 20 Mär. 2015
Yes, they do look different: different color, different fiber composition, different amounts of fray, different thread diameter, etc. Exactly what do you want to characterize in the two images?
Samkit Mutta
Samkit Mutta am 23 Mär. 2015
Herein, I need to find out- 1. the diameter of the core of the yarn. 2. the length of the protruding fibres(if not possible then number of protruding fibres in the visible segment of the yarn.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Mär. 2015
Alright, I did a full blown demo for you. It sues activecontour() to smooth the main thread bulk. See attached m-file below the images.
Be sure to change the folder name and file names in the script.
  15 Kommentare
Image Analyst
Image Analyst am 18 Apr. 2015
Go ahead and post your merged code, along with the specific image that it's failing on. Chances are that you are not using the correct variable names.
Samkit Mutta
Samkit Mutta am 19 Apr. 2015
Hahaha! I get your sarcasm. Even I know that it's a single line of code. What I meant to say was that I'll have to present that in the program as well as my submission material because till now we were under the impression that we can be able to find the hair length. And now thats not possible! However we'll get back to you today with if any difficulties.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (3)

Meghana Dinesh
Meghana Dinesh am 20 Mär. 2015
Try using the Morphological operators dilation and erosion.
  4 Kommentare
Samkit Mutta
Samkit Mutta am 27 Mär. 2015
I'll try that once and revert. Thank you!
Samkit Mutta
Samkit Mutta am 29 Mär. 2015
I tried the functions you mentioned before and now again, and it does not work. I guess the problem is because it can distinguish between the fibres and the core.

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 23 Mär. 2015
Simply try thresholding. See my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 You might also like my demo for how to extract the largest blob, attached.

Samkit Mutta
Samkit Mutta am 19 Apr. 2015
@Image Analyst- Whenever I run the "test.m" file, the workspace stays empty. It never used to happen before. I get workspaces for all the scripts but i do not get it any functions file. Please help!
  26 Kommentare
sudha muthusamy
sudha muthusamy am 14 Jul. 2018
sir please provide an idea related to yarn hairiness measurement
Image Analyst
Image Analyst am 14 Jul. 2018
This is a good idea: click here

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Performance and Memory finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by