Background Removal
Last updated on 2025-04-16 | Edit this page
Overview
Questions
- What is bakground removal
Objectives
- Describe background removal
Key Points
- GPR bkr
Ground Penetrating Radar (GPR) write about bkr:
PYTHON
# Background removal by subtracting mean trace
def remove_background(data):
background = np.mean(data, axis=1, keepdims=True)
return data - background
# Apply it on your GPR section
data_bg_removed = remove_background(agc_result)
# Plot
plt.figure(figsize=(12, 6))
plt.imshow(data_bg_removed, cmap="gray", aspect="auto", origin="upper")
plt.title("GPR Section with Background Removed")
plt.xlabel("Trace Number")
plt.ylabel("Time Sample")
plt.colorbar(label="Amplitude")
plt.show()