Can we measure yarn twist from image with image processing
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
<<
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146839/image.jpeg)
>>
>>
댓글 수: 0
채택된 답변
Image Analyst
2015년 1월 18일
편집: Image Analyst
2015년 1월 18일
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
Image Analyst
2015년 1월 19일
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?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!