Frequency-dependent optimal weighting approach for megavoltage multilayer imagers. (16th April 2021)