0

I am trying to write a code to find the Mean Intercept Length tensor. The mean intercept length tensor will help me find the orientation of a given image. For that I need to create a set of parallel sample lines equidistant from each other filling the whole grid. These equidistant parallel lines should also be oriented in various angles. If there is any existing code for creating the set of parallel lines or for the mean intercept length it would be helpful. Also it's better if the code is in FORTRAN.Set of parallel lines Intercepts measured from the sample lines

JOY
  • 3
  • 1
  • I'm trying to understand what a "chord length distribution" is and how to compute it. I've realized that we mean the same thing as chord length by saying intercept length! Could you introduce some references that I can read to learn more about how to exactly compute mean intercept length for a 3D sample of a porous material?? Thanks – secluded Jul 18 '16 at 13:49

1 Answers1

0

Consider normal (rho-theta) equation of line

x * Cos(Theta) + y * Sin(Theta) - Rho = 0

Here Theta is angle between OX axis and normal from the coordinate origin to the line. Rho is length of this normal.

So to generate set of parallel lines with given angle, you can use this equation with Rho walking through some range with needed step (line-line distance)

MBo
  • 77,366
  • 5
  • 53
  • 86