ogl_beamforming

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

Commit: 00636ec574e9f7a2d143ede3ae0cc1e494d8e61d
Parent: 89c7d075c80efacfb98f346d2fe5a0b50307a30d
Author: Randy Palamar
Date:   Tue,  7 Jan 2025 19:56:11 -0700

das: bring back HERCULES tribal knowledge

we still get artifacts from the first transmit without this

Diffstat:
Mshaders/das.glsl | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/shaders/das.glsl b/shaders/das.glsl @@ -176,6 +176,9 @@ vec2 HERCULES(vec3 image_point, vec3 delta, uint starting_offset, float apodizat float sidx = sample_index(tdist + length(rdist)); vec2 valid = vec2(sidx < dec_data_dim.x); + /* NOTE: tribal knowledge */ + if (i == 0) valid *= inversesqrt(128); + sum += apodize(cubic(ridx, sidx), apodization_arg, rdist.x) * valid; rdist[direction] -= delta[direction];