Image preprocessing

165 views
Skip to first unread message

shupeng li

unread,
Feb 28, 2021, 8:47:55 PM2/28/21
to gprMax-users
Dear people,
I have created a model by means of gprMax, you will also find attached a picture of the Bscan ,I would like to ask you how to preprocess this kind of image.
Because the target hyperbola is not obvious in the image, I just want to make them more obvious. Do you have any good suggestions?
Sincerly, Shupeng
Figure_7.png

Christian Pigot

unread,
Feb 28, 2021, 9:43:51 PM2/28/21
to gprMax-users
Dear Shupen
The most simple post processing is to conduct background removal

Since you are dealing with simulation data, processing of A-scan is in the first order is not necessary
Go directly p17 in the following paper

Second order improvement might include time varying gain (p14)
From your picture, this does not seems to be necessary

Hope this helps

Christian

shupeng li

unread,
Mar 1, 2021, 12:27:44 AM3/1/21
to gprMax-users
Hi, Christian
Do you mean I just need to remove the background? If so, am I programming directly on the simulated image? Is there another way? Hope to get your advice.

Sincerly Shupeng

Christian Pigot

unread,
Mar 1, 2021, 12:51:38 AM3/1/21
to gprMax-users
GprMax is a simulation software.
You provide it a model and it makes the calculation.

Regarding the analysis, you have to do it on your own.
The GprMax developers provide a python macro that is very good starting point. It is located in the following folder
gprMax\tools\plot_Bscan.py
This is how you manage to get the Bscan shown earlier. Open this file, it shows you how to read .out files and store the simulation results as python variable.
You can now process the results using the power of python.
The issue is now in python programming. I am sure someone in your lab is able to give some good advice.

PS: if you, or someone around you, are more familiar with Matlab, have look in the folder
gprMax\tools\MATLAB_scripts

Hope this help

Christian

naween dissanayake

unread,
Mar 19, 2024, 9:35:23 AM3/19/24
to gprMax-users
 Hi Lishupen,

 I'm afraid to ask if you could share with me the input file that belongs to the image.

Kind regards 
Nawen 
Reply all
Reply to author
Forward
0 new messages