Speckle masking in astronomy: triple correlation theory and applications | Synapse