Recently, nonlocal filtering methods for synthetic aperture radar (SAR) despeckling have attracted a lot of attention. In general, a suitable similarity measure well suited to SAR images is derived by incorporating the noise statistics. One important nonlocal framework is the probabilistic patch-based (PPB) filter, which derives the similarity measure in a data-driven way and provides promising results. A drawback of this filter is the suppression of thin and dark details since the PPB method takes into account the photometrically similar patches, yet it ignores the geometric structure of image patches. To overcome these disadvantages, a new patch-based despeckling method is presented which exploits both geometrical and photometrical similarities. Numerical experiments suggest that the proposed method is on a par with or exceeds the state-of-the-art PPB method, both visually and quantitatively.