LAVI-USP / pyDBT

This package is a python extension of the DBT toolbox from LAVI-USP
GNU General Public License v3.0
13 stars 3 forks source link

How to use it? What am I doing wrong? #3

Open SomaKohsei opened 1 year ago

SomaKohsei commented 1 year ago

Hello,

I have used this software. When using it with other people's data, valid images were obtained (https://github.com/LAVI-USP/DBT-Reconstruction/issues/5).

I manually captured images using an X-ray imaging device and an imaging plate (IP). I adjusted the incidence point to be at the center of the IP and captured images at various angles (2-degree intervals).

The resulting images were placed in a dicom folder. However, all the images obtained have pixel values ​​of 0.

Could you please tell me what I am doing wrong in my approach? Is the file format of the image not good enough? (16-bit? signed?)?

I have uploaded the necessary files to the following URL. https://www.mediafire.com/file/bhuph8wt8fghnc2/pyDBT2.zip/file

pic pic2

rodrigovimieiro commented 1 year ago

pyDBT was meant for Breast Tomosyhthesis. It uses half-cone beam, which I guess it is not your case.

You may want to use Tigre for your geometry. It is a CT toolbox which is very flexible and you perhaps can adjust it for your geometry.

SomaKohsei commented 1 year ago

Thank you for your response. Indeed, as you pointed out, my geometry is different from breast tomosynthesis. Would it be possible to make it a half-cone beam by doing as shown in the figure below? Even if it is not a half-cone beam, it seems strange that it does not appear at all in the reconstructed image. pic3

rodrigovimieiro commented 1 year ago

Yes, you can do it, but I guess it would be just easier to use the full cone-beam toolbox.

I even adapted TIGRE to work with DBT images. You might get some insights there on how to change the geometry to your needs.

You can also adapt pyDBT to work with a full cone beam. I just don't really know how much work needs to be done.

Let me know if it is clear to you.

SomaKohsei commented 1 year ago

I apologize for the delayed response. I didn't have Matlab, so I purchased it. I'm currently struggling with the installation of TIGRE since I have no prior experience using Matlab. I will report back once I obtain the images.

SomaKohsei commented 1 year ago

Hello, I purchased MATLAB and tried using TIGRE's Demo19. It might not be appropriate to mention TIGRE-related matters here, so please forgive me. When I look at the resulting image, I can faintly see bone structures in the background. (Is it a double reflection?)

Since I have little experience in viewing tomosynthesis images obtained from commercial devices, I'm not sure if the results I obtained are correct. I would appreciate your opinion.

thank you Soma

output

rodrigovimieiro commented 1 year ago

Hello,

It is hard to tell. I can see things coming into focus and then going out of focus. We can see that type of behavior in DBT images, so I would say it is somehow close to the real one.

SomaKohsei commented 1 year ago

Hello,

It is hard to tell. I can see things coming into focus and then going out of focus. We can see that type of behavior in DBT images, so I would say it is somehow close to the real one.

Thank you for the comment. I am satisfied with the result. I look forward to capturing various subjects from now on. Thank you for the amazing software.