Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Calculates straight lines which collectively approximate a given image
ResourceFunction["LinesImage"][image] returns a list of InfiniteLine objects which collectively approximate image. |
| "RadonLimit" | .0003 | minimal value of Radon data which is included. |
| "ShowProgress" | True | show ProgressIndicator during calculation. |
| "AngleIncrement" | 1 | difference between any two consecutive angles of lines. |
Calculate from an image a collection of straight lines which approximate that image:
| In[1]:= | ![]() |
| Out[1]= | ![]() |
When "RadonLimit" is increased, only bigger projection values (Radon data) are taken into account. As a result, fewer lines per angle are created:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
"AngleIncrement" can be given as some positive integer n and specifies that only any nth angle (between 1° and 180°) of the lines appear:


This work is licensed under a Creative Commons Attribution 4.0 International License