Skip to content

Commit 89babe5

Browse files
authored
Merge pull request #7 from KishoreB25/main
feat: MATLAB implementations and resolve image reconstruction bugs
2 parents 4979696 + a6db49b commit 89babe5

21 files changed

Lines changed: 197 additions & 64 deletions
779 KB
Binary file not shown.
364 KB
Binary file not shown.

Matlab_Codes_Images/tank.mlx

68.3 KB
Binary file not shown.

Matlab_Codes_Images/toy.mlx

69.8 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
},
129129
{
130130
"cell_type": "code",
131-
"execution_count": 18,
131+
"execution_count": null,
132132
"id": "ca1736ff",
133133
"metadata": {},
134134
"outputs": [
@@ -146,9 +146,16 @@
146146
"noise_norm = np.linalg.norm(eps)\n",
147147
"signal_norm = np.linalg.norm(Ax)\n",
148148
"relative_noise = noise_norm / signal_norm\n",
149-
"print(\"Noise norm:\", noise_norm)\n",
150-
"print(\"Signal norm:\", signal_norm)\n",
151-
"print(\"Relative noise level:\", relative_noise)"
149+
"\n",
150+
"print(\"=\"*50)\n",
151+
"print(\"FORWARD MODEL ANALYSIS\")\n",
152+
"print(\"=\"*50)\n",
153+
"print(f\"Image size: {x.shape[0]}x{x.shape[1]}\")\n",
154+
"print(f\"Kernel size: 9x9\")\n",
155+
"print(f\"Kernel/Image ratio: {9/x.shape[0]:.2f} (should be < 0.3 for good results)\")\n",
156+
"print(f\"Noise norm: {noise_norm:.6f}\")\n",
157+
"print(f\"Signal norm: {signal_norm:.6f}\")\n",
158+
"print(f\"Relative noise level: {relative_noise:.6f}\")"
152159
]
153160
}
154161
],

0 commit comments

Comments
 (0)