I have a .mat file. i want to reconstruct an image from that file. The .mat file contains data of a sinogram.

2 views (last 30 days)
I have a .mat file. I need to reconstruct the data from the .mat file.

Answers (1)

Pratik
Pratik on 17 Dec 2024
Hi Preethi,
To reconstruct image from the .mat file, first load the mat file in the workspace and then display image using imshow function.
Please refer to the following code snippet:
ds=load("path/to/file");
img=ds.sinogram; % load image data
imshow(img); %display image

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!