I am trying to play around with the linear US transducer example and all I did was change this line:
background_map_mean = 0.05;
However, this basically changes the putput drastically. The B-mode image is a black image on one half. and speckles on the other half.
Additionally, the harmonic image is pitch black as well.
I am trying to create an image with minimum speckles but changing the background mean seems to have a very weird effect. What am I missing in the understanding of this process?