The invention provides a seismic
data filtering method and device based on
kernel principal component analysis and a medium, and belongs to the field of seismic
data processing. The method comprises the following steps: extracting a trend
time difference attribute of an input three-dimensional seismic data volume; setting a
surface element size and extracting a corresponding line data volume according to the
surface element size; selecting a target point and calculating
surface element coordinates according to the trend
time difference data; setting the size of a time window and extracting a small three-dimensional data volume in combination with surface element coordinates; and performing
kernel principal component analysis on the small three-dimensional data volume to obtain a first principal component, and taking central
point data of the first principal component as filtered data of the target point. According to the method,
original data are mapped into a high-dimensional space through nonlinear mapping by adopting
kernel principal component analysis, so that nonlinear structures and characteristics in the
original data can be better reserved; in addition, the trend
time difference attribute of seismic data is also considered, geologic structure data can be more accurately obtained by opening up a time window along the event trend, the problem of data discontinuity caused by the influence of stratum inclination is improved, and the filtering effect is improved.