neutronimaging / imagingsuite

Sources for imaging related tools
GNU General Public License v3.0
18 stars 9 forks source link

segmentation fault when changing from Projections to Open beam/Dark current #685

Open vlocateli opened 2 weeks ago

vlocateli commented 2 weeks ago

When doing a reconstruction, if I change from Projections to any of the other two (Open beam or Dark current), the application crashes and gives me a segmentation fault.

Steps to reproduce: $ wget https://fits.gsfc.nasa.gov/samples/FOCx38i0101t_c0f.fits run the reconstruction change from Projections to any of those two others.

segault

I tried adjusting the CMakeLists and conanfile to include debug info but I think the libraries are being linked without debug info or the executable is being stripped.

anderskaestner commented 2 weeks ago

Did you specify the ob and dc paths?

By the way, you only see a preview of the projection data on the upper display. The lower is the reconstructed result.

I think it is time you looked at my tutorial videos to get an idea about the workflow. I can see in your screenshots that your center or rotation is very far to the left. Normally, the center is more in the middle of the projection, but your data can differ.

vlocateli commented 2 weeks ago

openbeam_darkcurrent MuhRec put it to me automatically the ob and dc paths.

Sure, I'm going to see those videos and the course on neutron imaging you suggested me when we talked on Zoom meeting. The videos are these ones muhrec tutorial ?

Do I need any advance math for these tutorials or courses? So I can study in parallel?

Thanks in advance and sorry for the mistake.

damskii9992 commented 2 weeks ago

Regarding building a debugging version of the executable, I unfortunately did not adjust the build process to allow that as I was focused on the Release version. If this is something we require I can look into it?

anderskaestner commented 2 weeks ago

@vlocateli Ok, then I understand what you did...

The issue is not severe, but I need to incorporate more data consistency checks at some point.

The tutorials are user oriented and don't require much math. Just click help and you'll find the link to the video collection. There, you also find a link to tutorial data that makes it easier to test.