Filter löschen
Filter löschen

Can we measure yarn twist from image with image processing

1 Ansicht (letzte 30 Tage)
ali
ali am 18 Jan. 2015
Bearbeitet: ali am 20 Jan. 2015
Hi Everyone.
Can we measure number of yarn twist from picture.
For example in picture one yarn twist number with is shown with red arrow 7 or 8. We can see thick place is yarn twist. Can we write a code for this? Or it isnt possible?
<<
<<
>>
>>

Akzeptierte Antwort

Image Analyst
Image Analyst am 18 Jan. 2015
Bearbeitet: Image Analyst am 18 Jan. 2015
It's possible. First I'd call imopen() to get rid of the stray threads.
grayImage = imopen(grayImage, true(9));
binaryImage = grayImage > 128; % or whatever.
Then extract the biggest remaining blob using the attached function. Then I'd get the x,y coordinates of the edges of the main, bulk yarn.
boundaries = bwboundaries(binaryImage');
Be sure to split out the two different sides of the yarn. Then call fft() or pwelch() to get the dominant spatial frequency. Give it a try. If you need to come back, then attach the original image plus your attempt at coding up my suggestions.
  11 Kommentare
Image Analyst
Image Analyst am 19 Jan. 2015
No, I meant, like is it for your senior project, or your Masters thesis, or Ph.D. dissertation, or has your company or university been contracted to develop a turnkey system by a textile manufacturer?
ali
ali am 20 Jan. 2015
Bearbeitet: ali am 20 Jan. 2015
yeah something like that. ıf we will obtain good results maybe we use that for article but some of the yarns image so bad and threshold value so versatile.
Maybe we have to use double thresholding for images?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox 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