Most basically explained, a VSCO filter code is a formula for creating a specific aesthetic effect, or for creating a filter on your own. It refers to where you toggle saturation, exposure, brightness ...
Try looking up Fast Fourier Transforms. That will convert your signal to an array of frequency magnitudes, you can attenuate the lower frequencies, and then reverse-FFT back to the filter signal.