Lide996 / BRIDE-for-HTC-2022

This is for the limited angle computational tomography using the mixed deblurring and cc-socar
0 stars 0 forks source link

matlab packages #1

Open fsmMLK opened 2 years ago

fsmMLK commented 2 years ago

Dear competitors,

Can you give more detailed instructions about how to install the matlab toolboxes? From the main page It seems I just need to unrar the file into the main folder, that is, the folder where main.py is located.

Can you confirm this information? Do I need to add anything to matlab's path?

thanks.

fsmMLK commented 2 years ago

It seems the same instructions are required for the repository BP-Fine-tuning-for-HTC-2022. Can you confirm this?

thanks.

Xintong-Liu-hub commented 1 year ago

Dear professor,

Thank you for your attention. Yes, the matlab toolboxes can be installed following the steps below.

  1. Download the zip file "toolbox.rar" from https://cloud.tsinghua.edu.cn/d/5bd4c08fd94641ce981a/.
  2. Unzip this file in the folder where main.py is located. This will create a folder named "toolbox"

This is all we need to run the code on Windows. The same is true for the repository BP-Fine-tuning-for-HTC-2022.

Xintong-Liu-hub commented 1 year ago

Besides, for Linux, we need to replace the corresponding toolboxes (ASTRA Tomography Toolbox, HelTomo Toolbox, and Spot Linear-Operator Toolbox) in the folder "toolbox".

The folder "toolbox" is included in line 2 of solver.m by "addpath(genpath('./toolbox/'));" and these toolboxes are called for in line 10 of solver.m by "A = create_ct_operator_2d_fan_astra_cuda(CtDataLimited, n, n);".

Best regards, Xintong Liu

fsmMLK commented 1 year ago

Do you have the zip file for for linux?

Xintong-Liu-hub commented 1 year ago

Sorry, we don't have the zip file for linux. We only tested the algorithm on Windows.

In our opinion, the only Matlab toolbox we use is the ASTRA Toolbox (and the toolboxes it relies on), as stated in the third page of the official document

The reconstructions have been computed using the filtered back-projection algorithm provided by the ASTRA Toolbox.