image = | buildLines2dImg (sizeX,sizeY,theta,offset) |
Generates a binary image with oriented lines.
This algorithm generates an image of oriented lines with an angle theta, expressed in radians. One of the generated line is centered in the image and the other are shifted by a distance multiple of offset
Here is an example of generation of a 100x100 image with lines oriented with an angle of 20° and spaced by a step of 30 pixels.