ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | LICENSE

Commit: 29fcd326617dfff627f0c397a0e2ac8665c22c78
Parent: 6c210c8ebe25bbe5d2842bb1ecca6f5063a46810
Author: Randy Palamar
Date:   Thu, 13 Feb 2025 17:52:18 -0700

shaders/hadamard: transpose the decoding direction

this only seemed correct because I used symmetric matrices for testing

Diffstat:
Mshaders/hadamard.glsl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shaders/hadamard.glsl b/shaders/hadamard.glsl @@ -59,7 +59,7 @@ void main() for (int i = 0; i < dec_data_dim.z; i++) { int data = (rf_data[ridx] << lfs) >> 16; - sum += imageLoad(hadamard, ivec2(acq, i)).x * data; + sum += imageLoad(hadamard, ivec2(i, acq)).x * data; ridx += ridx_delta; } } break;