Three-dimensional surface profile intensity correction for spatially modulated imaging | Synapse