# How do I analyze an image of fibers to get fiber data?

**URL:** <https://community.wolfram.com/t/how-do-i-analyze-an-image-of-fibers-to-get-fiber-data/3049>\
**Category:** Questions\
**Tags:** image-processing\
**Created:** [August 21, 2014, 8:47pm UTC](https://community.wolfram.com/t/how-do-i-analyze-an-image-of-fibers-to-get-fiber-data/3049 "2014-08-21T20:47:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrhogancamp](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jrhogancamp](https://community.wolfram.com/u/jrhogancamp)\
**Post date:** [August 21, 2014, 8:47pm UTC](https://community.wolfram.com/t/how-do-i-analyze-an-image-of-fibers-to-get-fiber-data/3049/1 "2014-08-21T20:47:06Z")

</div>

To whom it may concern:

I’m relatively new to Mathematica, and a project that I’m working on requires some image processing. I have a .jpg image of “fibers”, black rectangles against a white backdrop. I can upload the image from the file, but I don’t know how to analyze it. I need to know how many fibers are present, and each fibers length, centroid location, and angle of orientation. Any ideas? I don’t have a clue how to start. I’ve attached a sample image of the “fibers”.

---

<div class="post-metadata">

**Author:** ![jaebum](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/jaebum/32/31033_2.png) [@jaebum](https://community.wolfram.com/u/jaebum)\
**Post date:** [August 26, 2014, 4:11pm UTC](https://community.wolfram.com/t/how-do-i-analyze-an-image-of-fibers-to-get-fiber-data/3049/2 "2014-08-26T16:11:14Z")

</div>

ImageLines could be starting point.

---

<div class="post-metadata">

**Author:** ![jrhogancamp](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jrhogancamp](https://community.wolfram.com/u/jrhogancamp)\
**Post date:** [August 28, 2014, 3:52pm UTC](https://community.wolfram.com/t/how-do-i-analyze-an-image-of-fibers-to-get-fiber-data/3049/3 "2014-08-28T15:52:15Z")

</div>

Thanks! This is exactly what I was looking for. I knew that there had to be a simple way to do it, but I did not know the command or even how to find the command. Much obliged!
