MrDivakaruni commited on
Commit
a3d87d4
·
1 Parent(s): 4131944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -110,11 +110,11 @@ def Generate_synthetic_images_and_projections(l,alpha_l2,alpha_l1):
110
 
111
  title = "Compressive sensing: Tomography reconstruction with L1 prior (Lasso)"
112
 
113
- des="This example shows how to reconstruct an image from a set of parallel projections, acquired along different angles, using the Lasso algorithm. The Lasso algorithm is a type of compressed sensing algorithm that uses prior information about the sparsity of the image to reconstruct it from a small number of projections. The example shows that the Lasso algorithm can successfully reconstruct images with zero error, even if noise was added to the projections. In comparison, other methods of reconstruction, such as the Ridge algorithm, produce a large number of labeling errors for the pixels.
 
 
 
114
 
115
- The example demonstrates the effectiveness of the Lasso algorithm for image reconstruction from a small number of projections. This is a promising technique for applications where it is not possible or practical to acquire a large number of projections, such as in medical imaging or in astronomy."
116
-
117
- The example demonstrates the effectiveness of the Lasso algorithm for image reconstruction from a small number of projections. This is a promising technique for applications where it is not possible or practical to acquire a large number of projections, such as in medical imaging or in astronomy."
118
  with gr.Blocks(title=title) as demo:
119
  gr.Markdown(f"#{title}")
120
  gr.Markdown(f"{des}")
 
110
 
111
  title = "Compressive sensing: Tomography reconstruction with L1 prior (Lasso)"
112
 
113
+ des="""This example shows how to reconstruct an image from a set of parallel projections, acquired along different angles, using the Lasso algorithm.
114
+ The Lasso algorithm is a type of compressed sensing algorithm that uses prior information about the sparsity of the image to reconstruct it from a small number of projections. The example shows that the Lasso algorithm can successfully reconstruct images with zero error, even if noise was added to the projections.
115
+ In comparison, other methods of reconstruction, such as the Ridge algorithm, produce a large number of labeling errors for the pixels.
116
+ The example demonstrates the effectiveness of the Lasso algorithm for image reconstruction from a small number of projections. This is a promising technique for applications where it is not possible or practical to acquire a large number of projections, such as in medical imaging or in astronomy."""
117
 
 
 
 
118
  with gr.Blocks(title=title) as demo:
119
  gr.Markdown(f"#{title}")
120
  gr.Markdown(f"{des}")