eduds08 / saft-algorithm-python

Synthetic Aperture Focusing Technique (SAFT) algorithm made in Python
2 stars 0 forks source link

2D Data #2

Open AliMoal opened 1 week ago

AliMoal commented 1 week ago

Hi, thank you for your useful repo. I have a 2D B-scan numpy array, how can i use this algorithm for it? And what information do I need to?

eduds08 commented 1 week ago

Hello! Thank you, I'm glad you think it is useful. I will review the code and then send you the information. I will also take the opportunity to add comments in English and improve the variable names.

eduds08 commented 1 week ago

Ok. I updated the code, maybe if you check it again, you will understand it better. About the info you need: Considering you have a 2D B-Scan with shape(n, m), where 'n' represents the number of A-Scans and 'm' represents the number of transducers. You will need:

I hope it is helpful.

AliMoal commented 1 week ago

Thank you, I'll check it and if i had any question, i'd ask.

AliMoal commented 1 week ago

I get desired output for some data and wrong output for another, what should i do? and could you give me what resource you used for this algorithm?

eduds08 commented 1 week ago

I'm not sure about what you can do with the data that gave you wrong output, maybe the shape is inverted? I'll link the resources: https://www.sciencedirect.com/science/article/abs/pii/0041624X84900556?via%3Dihub https://www.mdpi.com/1424-8220/15/4/9324 Enunciado_SAFT_corrigido.pdf

AliMoal commented 6 days ago

Thank you for resources. I use this dataset but unfortunately, I cannot get the desired output. Here is the link.